jake3991 / sonar-SLAM

Underwater SLAM for robots with multibeam sonar
MIT License
185 stars 28 forks source link

I have encountered some questions when I run the demo. #1

Closed snowman-maker closed 2 years ago

snowman-maker commented 2 years ago

when I run the demo you provided, I encountered the following issues:

[ERROR] [1658393472.346670577]: PluginlibFactory: The plugin for class 'graph_rviz_plugin/Line graph' failed to load. Error: According to the loaded plugin descriptions the class graph_rviz_plugin/Line graph with base class type rviz::Panel does not exist. Declared types are rviz_plugin_tutorials/Teleop

I have tried some approaches to solve it, but they didn't work.

jake3991 commented 2 years ago

Thanks for your interest!

That's just an RVIZ configuration issue. Note that this is an RVIZ error that does not affect the SLAM system. I have pushed a new RVIZ config to clear your issue. If you can pull the most recent update to the repo and test that your issue is gone, I will close the issue.

If you were interested in using it, it's a line graph tool for RVIZ from this page https://gitlab.com/InstitutMaupertuis/graph_rviz_plugin

Thanks!

snowman-maker commented 2 years ago

First of all, THANKS for your help!

I have solved the problem mentioned above successfully, but at the same time, new issue is coming out!

when I run this code in terminal roslaunch bruce_slam slam.launch everything is OK.

But when I run the following code in a new terminal rosbag play sample_data.bag

Errors are occured! [bruce/slam/feature_extraction-4] process has died [pid 9543, exit code -11, cmd /home/casia/sonarslam/src/sonar-SLAM/bruce_slam/scripts/feature_extraction_node.py __name:=feature_extraction __log:=/home/casia/.ros/log/e8a974dc-0965-11ed-a30d-73dbe08c713f/bruce-slam-feature_extraction-4.log].

jake3991 commented 2 years ago

Apologies for the delay on my end.

That error message looks incomplete, but I suspect you are having a python import issue. Did you install all the relevant python dependencies listed on the readme?

snowman-maker commented 2 years ago

Thanks for your reply.

I have checked all the dependencies needed today, and then I rebuilt the target, however, nothing changed...

jake3991 commented 2 years ago

Can you post the whole error message? The error you posted does not have a line number or actual python error

jake3991 commented 2 years ago

Any updates?

jake3991 commented 2 years ago

Closing due to inactivity, feel free to open a new issue if you are still having problems

snowman-maker commented 2 years ago

I'm very sorry that I haven't replied to you for so long。 During this period, I'm still consolidating my knowledge of slam. I hope I can use the code you provide after a period of time. In short, thank you very much for your help。 If I have any questions, I will open a new issue!