Main Content

Gazebo Blank Message

Create blank Gazebo command

  • Library:
  • Robotics System Toolbox / Gazebo Co-Simulation

  • Gazebo Blank Message block


The Gazebo Blank Message block creates a blank Gazebo message or a command based on the specified type. The block output is a bus signal that contains the required elements for the type of command. Use a Bus Assignment block to modify specific fields in the bus signal. The bus signal initializes with zero value (ground).

To create blank Gazebo command, connect to a Gazebo simulation. Open the block mask and click Configure Gazebo network and simulation settings. For more information see Configure Gazebo Simulation.

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.



expand all

Blank message, output as a bus signal. with elements relevant to the specific Message type.

The Msg output always outputs the most recent message received.

Data Types: bus


expand all

Click Select to get a list of message types available in Gazebo.

Sample time indicates when, during simulation, the block produces outputs and if appropriate, updates its internal state.

More About

expand all

Version History

Introduced in R2019b