ydlidar, hector slam drift in position

asked 2019-01-21 04:55:45 -0500

Hi I am trying with my best ability to complete a college project.

I wanted to learn ros and use the ydlidar it create a hector slam mapping.

Problem: I have it making a map and followed the hector slam wiki page instructions but the lidar(not moving, stationary on my table ) and in the rvis graphics show that the position of the lidar is moving......

I would upload a picture if this would allowed me.

Personally: I think it may be that the scan frequency of the lidar vs the scan frequency perimeters on cpp files ( I thinks)

I would appreciate if anyone could help me, relatively new to this and please take pity on me as I am a mechanical engineering student I am more used of welding and lathe work then programming but very willing :)

'rosrun --Thanks'

edit retag flag offensive close merge delete

Comments

Can you post tf tree on some cloud platform? rosrun tf view_frames

stevemartin gravatar image stevemartin  ( 2019-01-21 07:32:48 -0500 )edit

It seams that I dont have enough point to post the pic.. :( am please forgive me for my ignorance but i was running the .bag file while i was running the lidar which explains why it was moving. didnt understand that the .bag file was recorded data. but i need to publish the clock topic any idea how?

slad1995 gravatar image slad1995  ( 2019-01-21 08:30:33 -0500 )edit