Skip to main content

Gazebo Simulation

Assessment: Digital Twin Environment Setup and Interaction​

This assessment requires you to demonstrate proficiency in setting up and interacting with a Gazebo simulation environment for a humanoid robot. Your task is to create a custom Gazebo world, spawn a provided humanoid URDF model within it, and then simulate a simple interaction, such as pushing an object or navigating around a static obstacle. This project will test your understanding of Gazebo's world definition, model spawning, and basic physics interaction.

You will need to define a .world file that includes a flat plane, a wall or box obstacle, and a simple movable object (e.g., a cylinder). Then, using a ROS 2 launch file, you will spawn your provided humanoid URDF model into this custom world. The interaction part will involve either sending a sequence of small velocity commands (if a base controller is available) to push the movable object, or planning a simple path around the obstacle (if a navigation stack is set up). The primary focus is on configuring the simulation environment and observing correct physical responses.

Project Requirements​

  • Create a custom Gazebo .world file that includes:
    • A ground_plane.
    • At least one static wall or box model.
    • At least one movable cylinder or box model with defined physics properties.
  • Write a ROS 2 launch file that:
    • Launches your custom Gazebo world.
    • Spawns the provided humanoid robot URDF model into the world (using spawn_entity.py).
  • Demonstrate a simple interaction:
    • Option A (Basic): If a simple velocity controller is available for the humanoid's base, send commands to make the robot gently push the movable object.
    • Option B (Advanced): If you have a basic navigation setup, plan a path for the humanoid to navigate around the static obstacle.
  • Record a short video or provide screenshots demonstrating the successful simulation and interaction.
  • Provide a README.md explaining your world setup, launch file, and how to replicate the interaction.

Diagram: Gazebo Assessment Setup​

+-------------------------------------------------------+
| |
| +-----------+ +-------------+ |
| | Humanoid | | Movable | |
| | Robot | | Object | |
| +-----------+ +-------------+ |
| |
| (ROS 2 control / |
| velocity commands) |
| |
| +-------------+ |
| | Static | |
| | Obstacle | |
| +-------------+ |
| |
+-------------------------------------------------------+
(Ground Plane - Your Custom Gazebo World)

Summary​

This Gazebo simulation assessment tasks you with building a custom digital twin environment, spawning a humanoid robot, and simulating a basic physical interaction. It evaluates your skills in Gazebo world definition and ROS 2 integration for simulation.