Robotics StackExchange | Archived questions

yocs_waypoints_navi - Rviz publish tool not listening

Hi,

I'm trying to use yocswaypointsnavi to set up a "patrol loop" around one of my maps. However when I use the publish tool from RViz nothing happens?

On a related note is it possible to get Rviz to report the planar points on a map so that I can extract them for a file for yocswaypointsnavi (once I get it working?)

Many Thanks

Mark

Asked by MarkyMark2012 on 2017-03-28 09:37:08 UTC

Comments

Is there any output in the terminal where rviz runs when you use the publish tool?

Asked by huanxiner on 2017-03-28 09:40:55 UTC

No, not that I've seen - is there something I need to enable?

Asked by MarkyMark2012 on 2017-03-28 10:00:30 UTC

Not sure, one more thing that may help is to rostopic echo /clicked_point and use publish tool to click on something. If nothing shows maybe do rostopic info /clicked_point and see what's there?

Asked by huanxiner on 2017-03-28 14:54:28 UTC

Okay it's publishing - however I notice that even with the yocs_waypoints_navi_node running nothing is subscribing to those messages

Asked by MarkyMark2012 on 2017-03-29 09:54:37 UTC

Did you turn off single click in the rviz tool properties panel?

Asked by huanxiner on 2017-03-29 12:10:24 UTC

Yep - looking at the yocs_waypoints_navi code it does not appear to subscribe to rostopic echo /clicked_point topic (which would explain why I don't see anything listening when it rostopic echo /clicked_point). Is there another service that needs to be up?

Asked by MarkyMark2012 on 2017-03-31 01:53:53 UTC

You are right.. Sorry I have no idea neither why it doesn't even subscribe to the topic. Could you post the solution if you ever find one?

Asked by huanxiner on 2017-04-03 09:21:08 UTC

Answers