MarcoStb1993 / rnexploration

RRT NBV Exploration
BSD 3-Clause "New" or "Revised" License
13 stars 0 forks source link

RRG graph cannot be displayed #3

Closed 1messy1 closed 2 years ago

1messy1 commented 2 years ago

Hi, thank you for your work!When i run the demo in noetic, the RRG graph cannot be displayed but the topic is ok. The Error is“for frame [/map]:frame [/map] does not exist” I do not know how to solve this error.

MarcoStb1993 commented 2 years ago

Hi 1messy1, I have not yet fully tested RNE visualization on noetic. It should run fine on melodic though.
What I'd advice you to try, based on this ROS Answers post, is to replace all occurrences of ...frame_id = "/map"; with ...frame_id = "map"; (remove the slash) in the class RneVisulizer.
Please let me know, if this helps and I will fix it in the next commit to the master branch (which will also introduce global and local exploration).

1messy1 commented 2 years ago

Hi 1messy1, I have not yet fully tested RNE visualization on noetic. It should run fine on melodic though. What I'd advice you to try, based on this ROS Answers post, is to replace all occurrences of ...frame_id = "/map"; with ...frame_id = "map"; (remove the slash) in the class RneVisulizer. Please let me know, if this helps and I will fix it in the next commit to the master branch (which will also introduce global and local exploration).

Hi,I've tried your method, RNE works well now. Thank you!

MarcoStb1993 commented 2 years ago

Great, thank you for the reply and you're welcome! :)