项目介绍

Bluerov2/MASTER 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 18 个 Star、3 次 Fork。

仓库全名
Bluerov2/MASTER
Star 数
18
Fork 数
3
未关闭 Issue
1

README 摘要

BlueRov2 SLAM The aim of this project is to provide a start of a 3D SLAM for underwater ROV. This project uses UUV simulation to fufill this objectif. The model is simulated using Deskitek Saga but you can use your own model as well. We modified the sonar to be se same as the Micron Sonar from Tritech. Mapping using UUV simulation - static: Mapping using UUV simulation - dynamic: Mapping using Micron Sonar in a…

完整内容见 GitHub 原始 README 或本页 。

常见问题

MASTER 用什么语言开发?

主要使用 Python 编写,目前有 18 个 Star。

如何获取 MASTER 的源码?

可以直接克隆仓库:git clone https://github.com/Bluerov2/MASTER.git,默认分支为 sonar_mapping;安装与运行步骤见仓库 README。

MASTER 最近还在维护吗?

仓库最近一次更新为 2020年4月20日,当前有 1 个未关闭 Issue;Star 数为 18,可作为社区活跃度的参考。

简要分析

热度分
24
价值分
11
活跃状态
活跃

语言占比

CMake
Python

README

BlueRov2 SLAM

The aim of this project is to provide a start of a 3D SLAM for underwater ROV. This project uses UUV simulation to fufill this objectif. The model is simulated using Deskitek Saga but you can use your own model as well. We modified the sonar to be se same as the Micron Sonar from Tritech.

  • Mapping using UUV simulation - static:

  • Mapping using UUV simulation - dynamic:

  • Mapping using Micron Sonar in a water tank:

To install every packages needed run the commands:

$ cd ~/catkin_ws/src
$ git clone https://github.com/uuvsimulator/uuv_simulator
$ git clone https://github.com/OctoMap/octomap_mapping.git
$ git clone https://github.com/uuvsimulator/desistek_saga.git
$ git clone https://github.com/pal-robotics-forks/point_cloud_converter.git
$ git clone https://github.com/fada-catec/amcl3d.git
$ cd ~/catkin_ws
$ catkin_make

Installation

$ cd ~/catkin_ws/src
$ git clone https://github.com/Bluerov2/MASTER.git
$ cd ~/catkin_ws
$ catkin_make # or <catkin build>, if you are using catkin_tools

Add the DVL

The original Robot doesn’t have any DLV installed. Thus, we need to provide one :

Run the following command:

$ roscd desistek_saga_description/urdf/
$ sudo gedit desistek_saga_sensors.xacro 

then add the following command:

<!-- DVL  -->
<xacro:default_dvl_macro
  namespace="${namespace}"
  parent_link="${namespace}/base_link"
  inertial_reference_frame="${inertial_reference_frame}">
  <origin xyz="0 0 0" rpy="0 ${0.5*pi} 0"/>
</xacro:default_dvl_macro>

Mechanical Sonar

you will need to change some URDF code from the ROV to allow a 360° vision. for this run the following commands:

$ roscd uuv_simulator
$ cd ..
$ cd uuv_sensor_plugins/uuv_sensor_ros_plugins/urdf
$ sudo gedit sonar_snippets.xacro

and change the forward_multibeam_p900 with those new values.

<xacro:macro name="forward_multibeam_p900" params="namespace parent_link *origin">
    <xacro:multibeam_sonar
      namespace="${namespace}"
      suffix=""
      parent_link="${parent_link}"
      topic="sonar"
      mass="0.02"
      update_rate="15"
      samples="200"
      fov="6.0"
      range_min="0.3"
      range_max="75"
      range_stddev="0.027"
      mesh="">
      <inertia ixx="0.00001" ixy="0.0" ixz="0.0" iyy="0.00001" iyz="0.0" izz="0.00001" />
      <xacro:insert_block name="origin" />
      <visual>
        <geometry>
          <mesh filename="file://$(find uuv_sensor_ros_plugins)/meshes/p900.dae" scale="1 1 1"/>
        </geometry>
      </visual>
    </xacro:multibeam_sonar>
  </xacro:macro>

sonar2

Octomap launching

before launching anything you will have to do some modification: We call ocotmap server 50 seconds after the beginning of the simulation. we are doing this because for some reason the first 360 value of the sonar are drifted. Therefore, we launch a python file that will wait for 50 seconds before launching octomap.launch. but to achived this we will have to change the path of the file:

$ roscd sonar_mapping
$ cd src
$ sudo gedit octomap_launch.py

change the path:

“/home/tim/bluerov_ws/src/sonar_mapping/launch/octomap.launch”

Launch

To launch the Simulation using UUV simulation, playground and robotmodel:

$ roslaunch sonar_mapping sim.launch

To launch a rosbag of the real sonar in a square tank :

$ roslaunch sonar_mapping bag.launch

List of Task

  • UUV simulation senario
  • IMU & DLV fused (/odom)
  • 3D Mapping (octomap)
  • 2D SLAM using Particle Filter
  • 3D SLAM using Particle Filter

评论

暂无评论