AutonomousFieldRoboticsLab / SVIn

Underwater Navigation with tightly coupled fusion of Visual Inertial Sonar and Depth Information
GNU General Public License v3.0
96 stars 19 forks source link

Hello, according to the routine instructions you gave, the program cannot run normally #6

Closed snl-lzy closed 1 year ago

snl-lzy commented 1 year ago

image

joshi-bharat commented 1 year ago

The sonar via plugin can be downloaded from see https://github.com/AutonomousFieldRoboticsLab/sonar_rviz_plugin. I will add instructions in the readme as well. This issue should not occur after that.

snl-lzy commented 1 year ago

The sonar via plugin can be downloaded from see https://github.com/AutonomousFieldRoboticsLab/sonar_rviz_plugin. I will add instructions in the readme as well. This issue should not occur after that. How to use sonar_rviz_plugin? Create a new ros project and then cmake?I have tried this way, but the problems in the figure still occur

joshi-bharat commented 1 year ago

The rviz_plugin is used for visualization, and you should put the plugin in the same ROS workspace.

This plugin is only useful for visualizing sonar points. The slam algorithm should work anyway. Also, use v0.1, the master is experimental.

snl-lzy commented 1 year ago

The sonar via plugin can be downloaded from see https://github.com/AutonomousFieldRoboticsLab/sonar_rviz_plugin. I will add instructions in the readme as well. This issue should not occur after that.

After I put rvizplugin into the src folder in the SVin project, After catkin make, the following problems will occur image

joshi-bharat commented 1 year ago

If you are using ROS Noetic, can you switch to branch ros-noetic.

cd src/sonar_rviz_plugin
git checkout -b ros-noetic 

I will update the instructions later.

snl-lzy commented 1 year ago

If you are using ROS Noetic, can you switch to branch ros-noetic.

cd src/sonar_rviz_plugin
git checkout -b ros-noetic 

I will update the instructions later.

My current ROS environment is melodic

joshi-bharat commented 1 year ago

I do not have Ubuntu 18.04. But it should work I guess. Can you try it anyway?

snl-lzy commented 1 year ago

I do not have Ubuntu 18.04. But it should work I guess. Can you try it anyway?

I ran it again according to the steps you just published, and the problems in the following pictures still appear image

joshi-bharat commented 1 year ago

That line should be commented in the ros-noetic branch.

You can comment that line and build again. Go to line 87 in sonar_rviz_display.cpp and comment it.

Or cd src/sonar_rviz_plugin git pull git checkout ros-noetic