How to create 2Dmap with p3dx with rosbag?
I recorded the data in rosbag file of /tf and /scan topics and when i run the gmapping and playback the recorded data from rosbag file nothing changes. And the error is 100% messages dropped.Do i have to record different topic and do i need to do something in the tf topic or not. The scan noe is created by depthimagetolaserscan and the /scan node is working but the map is not building whats the error. I have implemented same method in gazebo and its working but with p3dx its not working. I have followed from the book programming robots with ros.
Asked by Dhagash Desai on 2016-11-02 23:56:13 UTC
Answers
Did you follow the tutorial?
I guess the important line for you would be:
Make sure that use_sim_time is set to true before any nodes are started:
rosparam set use_sim_time true
Asked by mgruhler on 2016-11-03 03:03:01 UTC
Comments
yeah i have done this to and followed each and every step thats why i got the map from gazebo but when i am trying to do this p3dx on actual ground its not working. Have i made any mistake in tf orsomething
Asked by Dhagash Desai on 2016-11-03 06:56:32 UTC
Comments