This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Robot Applications

Control robots based on sensor information

Sensor data collected off the TurtleBot® can be used to control the robot. Examples of some common applications using sensor data to determine controls for the TurtleBot are shown here.


expand all

getColorImageGet color image from TurtleBot camera
getLaserScanGet laser scan sensor readings from TurtleBot
getOdometryGet odometry reading from TurtleBot
setVelocitySend linear and angular velocities to TurtleBot


turtlebotConnect to TurtleBot


Get Image Data from TurtleBot at a Fixed Rate

This example shows how to get image data from the TurtleBot and display it at a fixed rate.

Plot TurtleBot Odometry

Get and store odometry data to display in a figure

Create a UI for TurtleBot

Create a UI for controlling and accessing sensor data

Track and Follow an Object Using a TurtleBot

Use images from a TurtleBot robot to generate velocity commands for the robot to follow an object.

Related Information

Track and Follow an Object (Robotics System Toolbox)

Control the TurtleBot with Teleoperation (Robotics System Toolbox)

Localize TurtleBot Using Monte Carlo Localization (Robotics System Toolbox)