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

Robot position flashing rviz using rtabmap

asked 2016-11-21 07:53:04 -0500

gijsje170 gravatar image

updated 2016-11-25 07:27:46 -0500

When using rtabmap somehow my robot position starts to flash. It will flash extremely quick between several positions. Also this impacts it drive ability. This could be due to more locations being possible? I am using an roomba with the create_autonomy package with an kinect on top of it. It will reach a goal but will take a weird route to do so.

output ROSwtf

Found 2 error(s).

ERROR The following nodes should be connected but aren't: * /move_base_node->/move_base_node (/move_base_node/global_costmap/footprint) * /move_base_node->/move_base_node (/move_base_node/local_costmap/footprint)

ERROR TF multiple authority contention: * node [/rtabmap/rtabmap] publishing transform [odom] with parent [map] already published by node [/slam_gmapping] * node [/slam_gmapping] publishing transform [odom] with parent [map] already published by node [/rtabmap/rtabmap]

EDIT: When disabling gmapping roswtf will not give me the error anymore. There is only one more problem that. When setting /rtabmap/grid_map as my map topic in the global costmap it will no longer react to any goals send to the robot.

edit retag flag offensive close merge delete

Comments

Does roswtf show any problems?

fsteinhardt gravatar image fsteinhardt  ( 2016-11-25 05:21:26 -0500 )edit

edited main question with the errors

gijsje170 gravatar image gijsje170  ( 2016-11-25 05:36:30 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-11-24 14:25:22 -0500

jacobperron gravatar image

Like @matlabbe said, it sounds like an issue with the TF tree.

There may be odometry issues if you are using a Roomba 700 series or later with create_autonomy. Please refer to this issue for a potential fix.

edit flag offensive delete link more

Comments

Hi that is actually my own issue :P It reduces the flashing but when traveling longer distance the flashing will increase.

gijsje170 gravatar image gijsje170  ( 2016-11-25 04:48:04 -0500 )edit
1

answered 2016-11-24 13:46:23 -0500

matlabbe gravatar image

Hi,

It looks like that you may have more than one node publishing the same TF, which would cause flickering between both. Make sure that there are not multiples nodes publishing the same transforms in TF tree, e.g., /map -> /odom or /odom -> /base_link.

cheers

edit flag offensive delete link more

Comments

When looking at my TF tree i see a link from map to odom and also a link from odom to base_footprint but there should be a link right? there is only 1 arrow each time so the TF looks correct. I know it has to do with rtabmap since when not using rtabmap it works without

gijsje170 gravatar image gijsje170  ( 2016-11-25 04:49:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-21 07:53:04 -0500

Seen: 476 times

Last updated: Nov 25 '16