Hector slam slow at making map
Hi i am running ros medoldic, i want to use a ydlidar x4 and hector slam without odometry, I am running a rosbag file to simulate the time, my tf tree looks like( because i cant post pictrues) world -> map -> basefootprint ->laserframe
it seams to be very slow I dont know if its my tf tree i added in the launch file is affecting my problem
Ive added these lines to the ydliadar laser scan launch file
<node pkg="tf" type="static_transform_publisher" name="link1_broadcaster" args="1 0 0 0 0 0 1 /world /map 100" />
<node pkg="tf" type="static_transform_publisher" name="link2_broadcaster" args="1 0 0 0 0 0 1 /map /base_footprint 99" />
(this might not be best practice)
Thanks
Asked by slad1995 on 2019-02-04 08:00:07 UTC
Comments
Can you post the parameters you are using for hector? Also, you are publishing a static transform from
map
tobase_footprint
, which is probably incorrect. This transform represents the vehicle moving around map frame, and is what hector should be providing as part of its localization output.Asked by robustify on 2019-02-04 10:42:43 UTC