Maritime-Robotics-Student-Society / sailing-robot

Southampton sailing robot
http://www.sotonsailrobot.org
Other
88 stars 47 forks source link

No Map received rviz #271

Open brunopinto900 opened 5 years ago

brunopinto900 commented 5 years ago

Hello,

I launched Rviz and open config.rviz with rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map my_frame 100.

Rviz opens, but says "no map received"

no map

tsaoyu commented 5 years ago

Does the command rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map my_frame 100 came from the grid_map tutorial? I have searched our Wiki but none of them mentioned about this command.

brunopinto900 commented 5 years ago

Yes. Here is the link.

https://github.com/Maritime-Robotics-Student-Society/sailing-robot/wiki/2D-plot-of-the-boat


De: Tony Yu Cao notifications@github.com Enviado: quarta-feira, 3 de abril de 2019 17:07 Para: Maritime-Robotics-Student-Society/sailing-robot Cc: brunopinto900; Author Assunto: Re: [Maritime-Robotics-Student-Society/sailing-robot] No Map received rviz (#271)

Does the command rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map my_frame 100 came from the grid_map tutorial? I have searched our Wiki but none of them mentioned about this command.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Maritime-Robotics-Student-Society/sailing-robot/issues/271#issuecomment-479576612, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aui5e92cjexnR7fqXxpVPXFwcnAot5lsks5vdN-1gaJpZM4cUCCi.

tsaoyu commented 5 years ago

We recommend the use of Matplotlib based 2D for the simulator.

Nanoseb commented 5 years ago

Sorry I forgot to respond here. Indeed as tsaoyu said, the matplotlib plot is the one to prefer.

Concerning rviz, as specified in the wiki you need to install and setup rviz_satellite for it to display a map. But you can actually see the boat and waypoints etc. without the map, everything else should work fine.

brunopinto900 commented 5 years ago

I ran matplot 2D, everything is just fine. I tried to work with rviz and failed, so i won´t try anymore. How can i see the waypoints? I only see 2 points when running matplot 2D, is that it?

Thanks for your support.


De: Nanoseb notifications@github.com Enviado: quinta-feira, 4 de abril de 2019 12:57 Para: Maritime-Robotics-Student-Society/sailing-robot Cc: brunopinto900; Author Assunto: Re: [Maritime-Robotics-Student-Society/sailing-robot] No Map received rviz (#271)

Sorry I forgot to respond here. Indeed as tsaoyu said, the matplotlib plot is the one to prefer.

Concerning rviz, as specified in the wiki you need to install and setup rviz_satellite for it to display a map. But you can actually see the boat and waypoints etc. without the map, everything else should work fine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Maritime-Robotics-Student-Society/sailing-robot/issues/271#issuecomment-479885885, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aui5e4kvXMe_FelimMrJMkcTbwWMYcNpks5vdfaxgaJpZM4cUCCi.