Select a Gazebo entity
Robotics System Toolbox / Gazebo Co-Simulation
The Gazebo Select Entity block retrieves the model name of a Gazebo entity, such as a link or joint, from a simulated environment. The block outputs a string for both the model and associated joint or link name. Use both these names when specifying commands using the Gazebo Apply Command block.
Before selecting an entity, connect to a Gazebo simulation. Open the block mask and click Configure Gazebo network and simulation settings.
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.