Simulation with Gazebo MCQs December 22, 2025August 9, 2024 by u930973931_answers 20 min Score: 0 Attempted: 0/20 Subscribe 1. What is Gazebo used for in robotics? (A) Creating robotic hardware (B) Managing ROS nodes (C) Real-time 3D simulation (D) Editing ROS launch files 2. Which ROS package provides integration with Gazebo? (A) gazebo_interface (B) ros_gazebo (C) gazebo_ros_pkgs (D) ros_sim 3. Which command is used to start Gazebo from the command line? (A) gazebo_start (B) gazebo (C) roslaunch gazebo (D) start_gazebo 4. How do you launch a Gazebo simulation with ROS? (A) Using gazebo with a simulation file (B) Using roslaunch with a .launch file (C) Using rosrun with a Gazebo node (D) Using gazebo_launch 5. What file format is commonly used to define a robot model in Gazebo? (A) URDF (Unified Robot Description Format) (B) XML (C) SDF (Simulation Description Format) (D) YAML 6. Which Gazebo plugin is commonly used to simulate a robot’s camera? (A) libgazebo_camera.so (B) camera_sensors (C) gazebo_camera (D) camera_plugin 7. In Gazebo, how can you add a new object to the simulation environment? (A) By modifying the robot’s URDF file (B) By using the Gazebo GUI to drag and drop objects (C) By using the add_object command (D) By editing the world file and adding the object’s SDF description 8. What is the purpose of the gazebo_ros package in a ROS-Gazebo simulation? (A) To interface between ROS and Gazebo (B) To provide graphical user interfaces for Gazebo (C) To manage Gazebo plugins (D) To convert URDF to SDF 9. Which of the following tools can be used to visualize the simulation environment in Gazebo? (A) ROS terminal (B) Rviz (C) Gazebo CLI (D) Gazebo GUI 10. How do you specify the physics engine in a Gazebo world file? (A) By modifying the CMakeLists.txt file (B) By configuring the physics_engine parameter in ROS (C) By using the physics command in Gazebo CLI (D) By setting the physics tag in the world file 11. Which of the following Gazebo plugins is used to simulate a robot’s lidar sensor? (A) lidar_plugin (B) gazebo_lidar (C) sensor_lidar (D) laser_plugin 12. What is the purpose of the spawn_model service in Gazebo? (A) To start a new Gazebo instance (B) To configure the simulation parameters (C) To add a new model to the simulation environment (D) To reset the simulation 13. How do you simulate different weather conditions in Gazebo? (A) By modifying the environment parameters (B) By using the weather_sim plugin (C) By configuring the weather tag in the world file (D) By adjusting the lighting settings in the Gazebo GUI 14. What is an SDF file used for in Gazebo simulations? (A) To configure ROS nodes (B) To describe the simulation environment and objects (C) To build the Gazebo application (D) To define custom messages and services 15. Which command is used to list all available Gazebo plugins? (A) gazebo –list-plugins (B) gazebo_plugin_list (C) gazebo_plugins (D) gazebo –plugins 16. What does the gzserver command do in Gazebo? (A) Compiles Gazebo plugins (B) Launches the Gazebo GUI (C) Starts the Gazebo server to run simulations (D) Updates the Gazebo installation 17. What is the role of the gzclient command in Gazebo? (A) Manages Gazebo plugins (B) Configures Gazebo simulation parameters (C) Starts the Gazebo client to provide a graphical interface (D) Lists available Gazebo models 18. How can you record simulation data in Gazebo? (A) By configuring the record plugin (B) By using the Gazebo GUI to start a recording (C) By using the rosbag tool to record topics (D) By modifying the world file 19. What is the purpose of the gazebo_ros_control package? (A) To manage Gazebo’s physics engine (B) To integrate ROS control with Gazebo simulations (C) To configure the Gazebo GUI (D) To create custom Gazebo models 20. Which Gazebo feature allows you to control the simulation time? (A) The world file’s physics tag (B) The gazebo_time command (C) The time_control plugin (D) The pause and unpause commands