Settings for synchronized stepping between Gazebo and Simulink
Robotics System Toolbox / Gazebo Co-Simulation
The Gazebo Pacer block synchronizes the simulation times between Gazebo and Simulink®. Synchronization is important for ensuring your Simulink model and the Gazebo simulation behave correctly. The block outputs a Boolean indicating successful synchronization. Synchronized stepping is only supported for one Gazebo simulation. Your entire model, including referenced models, can only contain one Gazebo Pacer block.
To ensure successful synchronization, connect to a Gazebo simulation. Open the block mask and click Configure Gazebo network and simulation settings.
Select the Reset behavior
to reset the Gazebo simulation on model
restart or only reset simulation time.
This block is part of a co-simulation interface between MATLAB® and Gazebo for exchanging data and sending commands. To see a basic example, check Perform Co-Simulation between Simulink and Gazebo.
Models that use this block do not support Code Generation or Rapid Accelerator mode.