getIMU
Get IMU data from TurtleBot
Add-On Required: This feature requires the ROS Toolbox Support Package for TurtleBot-Based Robots add-on.
Description
[ also returns the received
ROS IMU message.imuData,imuDataMsg =
getIMU(tbot)
___ = getIMU( waits
for the next image for tbot,timeout)timeout seconds. If no new
message is received in that time, the function displays an error.
A timeout of zero returns the latest received message without waiting.
If no message has been received, the function returns an empty matrix
for imuData and an empty message for imuDataMsg,
if specified.
Examples
Input Arguments
Output Arguments
Tips
The TurtleBot simulated in Gazebo that is provided in Get Started with Gazebo and Simulated TurtleBot does not support
getIMU.
Version History
Introduced in R2016a