Gazebo Blank Message
R2026bCreate blank Gazebo command
Libraries:
Robotics System Toolbox /
Gazebo Co-Simulation
Description
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.
Examples
Limitations
Models that use this block do not support Code Generation or Rapid Accelerator mode.
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"robotgazebolib/Gazebo Blank Message"
Example: add_block("robotgazebolib/Gazebo Blank Message","myModel/myBlock",MakeNameUnique="on")
More About
Version History
Introduced in R2019b
See Also
Blocks
- Gazebo Apply Command | Gazebo Pacer | Gazebo Read | Gazebo Publish | Gazebo Subscribe | Gazebo Select Entity


