resetOdometry
Reset odometry for TurtleBot
Syntax
Description
Examples
Reset Odometry of TurtleBot Interface Object
resetOdometry(tbot);
Input Arguments
tbot
— TurtleBot interface object
turtlebot
object
TurtleBot interface object, specified as a turtlebot
object. The object contains
properties for activating subscribers and accessing topic names relevant to the
TurtleBot. The properties contain the topic name and active status of different
subscribers for the TurtleBot. When you create the object with turtlebot
, the
properties available are:
tbot = turtlebot
tbot = turtlebot with properties: Velocity: [1x1 struct] ColorImage: [1x1 struct] GrayImage: [1x1 struct] DepthImage: [1x1 struct] PointCloud: [1x1 struct] LaserScan: [1x1 struct] Odometry: [1x1 struct] OdometryReset: [1x1 struct] IMU: [1x1 struct] TransformFrames: {0x1 cell} TopicNames: {3x1 cell}
For properties with relevant ROS data messages , you can view
the topic name and a subscriber’s active status. A specific
subscriber is active for the given TopicName
if Active
equals
1.
tbot.Velocity
ans = TopicName: '/mobile_base/commands/velocity' Active: 1
Version History
Introduced in R2016a
See Also
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)