ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

DaveR's profile - activity

2015-09-05 15:03:05 -0500 received badge  Guru (source)
2015-09-05 15:03:05 -0500 received badge  Great Answer (source)
2015-07-13 06:49:20 -0500 received badge  Good Question (source)
2015-07-13 04:50:55 -0500 received badge  Favorite Question (source)
2014-12-03 22:53:41 -0500 received badge  Nice Question (source)
2014-11-24 16:51:20 -0500 received badge  Taxonomist
2014-10-30 14:36:52 -0500 received badge  Enlightened (source)
2014-08-28 23:53:26 -0500 received badge  Good Answer (source)
2014-07-29 13:45:49 -0500 received badge  Nice Answer (source)
2014-07-29 13:45:47 -0500 received badge  Student (source)
2014-07-22 09:35:48 -0500 received badge  Famous Question (source)
2014-06-29 03:25:32 -0500 received badge  Enthusiast
2014-06-27 21:08:55 -0500 received badge  Teacher (source)
2014-06-27 21:08:55 -0500 received badge  Self-Learner (source)
2014-06-27 20:51:09 -0500 answered a question Rviz click tool to set exploration boundary

To answer my own question...

You need to use the "Publish Point" tool to define the points in the polygon. This tool publishes on the /clicked_point topic. The display of these points, connected as a polygon, is via the "Marker" display that is subscribing to the /exploration_polygon_marker topic. Once the polygon loop has been closed, then it is necessary to also select a point within the polygon from which to start the exploration. Only then will the exploration start.

The explore_client node actually generates messages that are printed to the ROS log to first ask the user to define the polygon and then to ask for a point within the polygon. However, because my setup was generating lots of ROS warning messages (for an unrelated matter) I was missing these instructions.

2014-06-27 20:39:24 -0500 received badge  Notable Question (source)
2014-06-27 17:14:17 -0500 received badge  Popular Question (source)
2014-06-25 07:58:41 -0500 asked a question Rviz click tool to set exploration boundary

I am trying use the frontier_exploration node as documented on the ros wiki (note: I had a link to the wiki but couldn't post due to a lack of karma points). I have set everything up as per the instructions and have enabled visualization with a marker display in rviz. The wiki then say to:

use the "Click Point" tool to mark the exploration boundary.

It is at this point that I have come unstuck. It feels like a stupid question but I can't seem to find any documentation telling me how to select these points. The RViz User Guide doesn't seem to say anything on the matter. The closest that I can see is that it says that the Select tool supports single-point selection, but doesn't seem to offer any hint on how to use it. In any case it is not that clear that the Select tool is the right one.

The other rviz tools that I have are: Interact, Move Camera, Select, Focus Camera, Measure, 2D Pose Estimation, 2D Nav Goal, and Publish Point. I have tried various mouse clicking combinations with all these tools but nothing seems to do what I want. Maybe there some extra plugin package that I need to have installed?

In short, can anyone point me to instructions on how to set the frontier exploration boundary in rviz?