How to adjust lidar or motor position?
I have a turtlebot3 - if I adjust the position of the lidar (physically), which file(s) do I need to edit to update the physical location of the lidar with respect to the rest of the robot?
Similarly, if I were to adjust the position of the motors, which files/parameters would need to be updated?
I've also read (somewhere) that small offsets in the Lidar position could lead to bad navigation/amcl behavior - is there a simple recommended process for calibrating that? Or just measure carefully?
Asked by argentum2f on 2020-09-10 09:27:23 UTC
Answers
I always set it in my launch file using static_transfor_publisher. But I guess you can also put it in yaml file as well.
Asked by LucasGoei on 2020-10-11 19:33:40 UTC
Comments
You have to change your urdf file. I am not sure but it should be in description folder. In urdf file, there "lidar or scanner" joint. In this joint, there is origin part. I give you an example of my robot ( not turtle bot) ... You can find your file and change x,y,z coordinate
<joint
name="laser"
type="fixed">
<origin
xyz="0.636708500922716 -0.00935484081734 0.078189004081027"
rpy="3.1415 3.1415 3.1415" />
Asked by bfdmetu on 2020-10-13 03:19:59 UTC
Comments
There is a file in there somewhere that creates a static transform between the laser_scan frame and the base_link frame, and that transform needs to be adjusted when the laser moves.
Asked by billy on 2020-09-10 12:02:17 UTC