getPointCloud
Get point cloud image from TurtleBot camera
Add-On Required: This feature requires the ROS Toolbox Support Package for TurtleBot-Based Robots add-on.
Syntax
Description
[___] = getPointCloud(
waits
for the next point cloud 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 pcloud
and an empty message
for pcloudMsg
, if specified.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2016a
See Also
turtlebot
| rosReadRGB
| scatter3
| getDepthImage
| getColorImage