Gazebo | Ignition | Community
Ask Your Question

How to attach my lidar to a robot at an angle in gazebo?

asked 2018-04-25 14:34:14 -0500

siquike gravatar image

In gazebo, is there an easy way to attach my lidar model to an existing robot? What do I do if I need to attach the lidar at an angle? I followed this tutorial ( ) to build my lidar model. I tried changing the pose of my revolute to be at an angle, but can't seem to be able to make the lidar turn say tilted at 30 degrees. Instead, when I change the pose, the axis is off-center. Alternatively, I tried to use the magnet in gazebo to snap my lidar to a robot. I have seen videos of people having their lidars at an angle, so there must be a way to do this. Can you recommend an approach to this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-27 02:52:33 -0500

Raskkii gravatar image

You should keep you lidar model the same and keep it as a separate model.

What you do is you take your robot model and include the lidar model into it. You can also set its position on the robot.

Take a look at this example:

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-04-25 14:34:14 -0500

Seen: 366 times

Last updated: Apr 27 '18