Gazebo Read
Receive messages from Gazebo server
Libraries:
Robotics System Toolbox /
Gazebo Co-Simulation
Description
The Gazebo Read block receives messages from the Gazebo server based on the
topic and message type that the block specifies. The block outputs the latest message received
as a bus signal, Msg
, and a Boolean, IsNew
, which
indicates whether a message was received during the previous time step.
To receive messages from Gazebo server, 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
More About
Version History
Introduced in R2019b