Main Content

Robot Modeling and Simulation

Kinematic and motion models, Gazebo co-simulation

When working with robots, modeling and simulation enable you to prototype algorithms quickly and test scenarios by mimicking the behavior of real-world systems. These functions provide kinematic models for both manipulators and mobile robots to model their motion. The toolbox also supports synchronized stepping of Simulink® with Gazebo to design your robotics algorithms with physical simulations.

Functions

expand all

rateControlExecute loop at fixed frequency
statisticsStatistics of past execution periods
waitforPause code execution to achieve desired execution rate
resetReset Rate object
ackermannKinematicsCar-like steering vehicle model
bicycleKinematicsBicycle vehicle model
differentialDriveKinematicsDifferential-drive vehicle model
unicycleKinematicsUnicycle vehicle model
jointSpaceMotionModelModel rigid body tree motion given joint-space inputs
taskSpaceMotionModelModel rigid body tree motion given task-space reference inputs
gzinitInitialize connection settings for Gazebo Co-Simulation MATLAB interface
gzlinkAssign and retrieve Gazebo model link information
gzjointAssign and retrieve Gazebo model joint information
gzmodelAssign and retrieve Gazebo model information
gzworldInteract with Gazebo world
gazebogenmsgGenerate dependencies for Gazebo custom message support
packageGazeboPluginCreate Gazebo plugin package for Simulink
robotScenarioGenerate robot simulation scenario
robotPlatformCreate robot platform in scenario
robotSensorSensor for robot scenario
extendedObjectMeshMesh representation of extended object
pointCloudObject for storing 3-D point cloud
gpsSensorGPS receiver simulation model
insSensorInertial navigation system and GNSS/GPS simulation model
robotLidarPointCloudGeneratorGenerate point cloud from meshes
transformTreeDefine coordinate frames and relative transformations
getGraphGraph object representing tree structure
getTransformGet relative transform between frames
infoList all frame names and stored timestamps
removeTransformRemove frame transform relative to its parent
showShow transform tree
updateTransformUpdate frame transform relative to its parent

Blocks

expand all

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
Gazebo SubscribeReceive custom messages from Gazebo server
Gazebo Select EntitySelect a Gazebo entity
Ackermann Kinematic ModelCar-like vehicle motion using Ackermann kinematic model
Bicycle Kinematic ModelCompute car-like vehicle motion using bicycle kinematic model
Differential Drive Kinematic ModelCompute vehicle motion using differential drive kinematic model
Joint Space Motion ModelModel rigid body tree motion given joint-space inputs
Task Space Motion ModelModel rigid body tree motion given task-space inputs
Unicycle Kinematic ModelCompute vehicle motion using unicycle kinematic model

Topics