Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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"/>

click to hide/show revision 2
No.2 Revision

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"

<joint
    name="laser"
    type="fixed">
    <origin <origin
      xyz="0.636708500922716 -0.00935484081734 0.078189004081027" 0.078189004081027"
      rpy="3.1415 3.1415 3.1415"/> 

3.1415" />