Problem using astra with hector mapping

asked 2018-01-07 16:49:56 -0500

Sultan gravatar image

I am a beginner and I don't have a solid background on using ros. I tried to use Astra pro camera for generating maps using hector mapping but I failed to do so. In order to reach my goal I executed the following commands:

1- roslaunch hector_slam_launch tutorial.launch

2- roslaunch astra_launch astra.launch

3- roslaunch depthimage_to_laserscan depthimage_to_laserscan.test

4- rosbag play Team_Hector_MappingBox_RoboCup_2011_Rescue_Arena.bag --clock

Before running the rosbag, I added laserscan in rviz and set the topic to /scan, but as soon as I run the bag, the pose starts to jump in rviz even though I am not moving the camera. I think i have some problems with some transformers, but I couldn't solve it. the view frames results shows two separated trees one for the map and the other one for the camera_link.

Note that I am still not using any robot yet so I don't have odom data or base_link.

edit retag flag offensive close merge delete