TF problem using vrep and ros
Hello, I am using V-rep in order to simulate a scenario. I have a robot publishing laser scanner data and odometry to corresponding topics. I run through ros the slam_gmapping node and I visualise the resulted map in rviz.
Even though the map is produced perfectly fine, the problem is with the baselink and basescan frames. When I add TF in rviz in order to see the frames I get the warning:
*No transform from [baselink] to frame [map] *No transform from [basescan] to frame [map]
However I publish the transform from basescan to baselink and baselink to odometry, so the above should work in the sense that the slamgmapping node publishes the odometry to map. Nevertheless, when I generate my TF tree is looks well connected. I have tried using the simtime parameter set to true, set to false, no at all, but still I cannot get anything. I also made the vrep script to publish at the /clock topic in case there was problem with the framestamp but nothing changed (or basically slam_gmapping node never subscribed to that, any idea how I can do that?)
If anybody could, I would really appreciate that.
Asked by SCrusher on 2017-01-06 06:05:39 UTC
Comments