Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hello,
Sorry if this is documented somewhere but I can't find it. I am trying to figure out how to label nodes on the map graph and then send goals using the rtabmap interface. I can already send goals in RViz but I wanted to try it in rtabmap. So first I run: $ rtabmap Then I open my existing database at ~/.ros/rtabmap.db, place rtabmap in Localization mode, and "Download all clouds" from the Edit menu. The 3D map appears OK. I then select the Graph View and do a "Download graph only" from the Edit menu. The 2D map and graph appear. When I zoom in on the map and mouse over a node, a popup indicates the node ID (say 161 for example) and coordinates. However, if I then try to send this node ID as a goal using the Detection->Send Goal menu item, I always get the error popup as follows: Setting goal failed! Setting goal to location 161 failed. Some reasons: 1) the location doesn't exist in the graph, 2) the location is not linked to the global graph or 3) the location is too near of the current location (goal already reached). And in the console window I see the error "Failed to compute a path to goal 161. I'm sure I'm missing a bunch of steps. Can someone help? Thanks! patrick |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
This post was updated on Aug 19, 2021; 3:26pm.
Hi Patrick,
The robot should be localized in the map before we can send a goal. On start, the robot doesn't know where it is (unless it can localize on the first image received), so it may need to explore a little to get localized. For the questions in the title of the post, see the following sections. How to label nodes?
How to send goals based on label or node ID?
To send a goal based on a pose, you can do that in RVIZ with "2D Nav Goal" action (send goal on /rtabmap/goal topic). See this recent post or the rtabmap's Turtlebot tutorial for examples. Using this approach, you can only send pose near the local map. How to see the node IDs?
Mathieu |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi Mathieu,
This is great--many thanks! --patrick |
Free forum by Nabble | Edit this page |