getLaserScan
Get laser scan sensor readings from TurtleBot
Add-On Required: This feature requires the ROS Toolbox Support Package for TurtleBot-Based Robots add-on.
Syntax
Description
[___] = getLaserScan(
waits for the next laser scan 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 scan and an empty message for scanMsg,
if specified.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2016a
