How to change pitch of camera in Gazebo?
I am working on a TB3 simulation in Gazebo as https://www.youtube.com/watch?v=RgOvX...
I want to change the pitch of the camera on TB3 to look lower, so that TB3 still can see the ball even it is very close.
But which file and parameter should I change? .urdf.xacro? .gazebo.xacro? model.config? model.sdf?
There are many files with similar setting that confusing me...
Please advise, thank you.
can you share referred GitHub link for better understanding?
The robot description are in https://github.com/ROBOTIS-GIT/turtle... . The simulation models are from https://github.com/ROBOTIS-GIT/turtle... . The model I use is waffle_pi
I did edit turtlebot3/turtlebot3_description/urdf/turtlebot3_waffle_pi.gazebo.xacro, when I change the FOV of Pi camera, it show the view of camera is changed, but when I change the pose of Pi camera, nothing change on the view of camera...
In the same file mention above, you will find in the camera sensor pose as
<pose>0.003 0.011 0.008 0 0 0</pose>
. This pose actually has 6 elementsx,y,z,r,p,y
. This r,p,y stand for roll pitch and yaw. by changing these parameters you can change the roll pitch and yaw of joint.