Lab 3: Gazebo Simulation
Objective
Spawn your humanoid in Gazebo and add a camera sensor.
Steps
- Install Gazebo ROS Packages:
Ensure
ros-humble-ros-gzis installed. - Modify URDF:
Add
<gazebo>tags and the camera plugin to your URDF. - Spawn Robot:
Use
ros2 run ros_gz_sim createto spawn the URDF into an empty world. - Visualize Camera:
Run
ros2 run rqt_image_view rqt_image_viewto see the camera feed.
Deliverable
A screenshot showing the Gazebo window and the RQT image view side-by-side.