How do I change the orientiation of simulated Lidar and Camera? (Gazebo 9)

asked 2023-01-25 02:37:22 -0600

Hi, I'm new to gazebo simulation and was following a tutorial for how to make urdf from scratch and how to input sensors into them. Upon looking at the gazebo, I realized that the camera and lidar was pointing in the wrong direction that I wanted. (Camera to be upwards to be able to read tags in the ceiling and lidar to be infront.) Hence, I was wondering how do you rotate hokuyo's sensor and camera sensors in gazebo?

image description

The simulated robot is made from fusion 360 to URDF. Below is code for camera and urdf for the robot.

image description image description image description image description image description

edit retag flag offensive close merge delete