Main Content

Gazebo Co-Simulation

High fidelity simulation using co-simulation

Create high-fidelity simulations by interfacing with Gazebo MATLAB® functions and Simulink® blocks.

Functions

expand all

rateControlExecute loop at fixed frequency
statisticsStatistics of past execution periods
waitforPause code execution to achieve desired execution rate
resetReset Rate object
gzinitInitialize connection settings for Gazebo Co-Simulation MATLAB interface (Since R2021a)
gzlinkAssign and retrieve Gazebo model link information (Since R2021a)
gzjointAssign and retrieve Gazebo model joint information (Since R2021a)
gzmodelAssign and retrieve Gazebo model information (Since R2021a)
gzworldInteract with Gazebo world (Since R2021a)
gazebogenmsgGenerate dependencies for Gazebo custom message support (Since R2020b)
packageGazeboPluginCreate Gazebo plugin package for Simulink (Since R2020b)

Blocks

Gazebo Apply CommandSend command to Gazebo simulator
Gazebo Blank MessageCreate blank Gazebo command
Gazebo PacerSettings for synchronized stepping between Gazebo and Simulink
Gazebo ReadReceive messages from Gazebo server
Gazebo PublishSend custom messages to Gazebo server (Since R2020b)
Gazebo SubscribeReceive custom messages from Gazebo server (Since R2020b)
Gazebo Select EntitySelect a Gazebo entity

Topics

Featured Examples