Main Content
rosReadScanAngles
Description
calculates the scan angles, angles
= rosReadScanAngles(scan
)angles
, corresponding to the
range readings in the ROS or ROS 2 laser scan message structure,
scan
. Angles are measured counterclockwise around the
positive z-axis, with the zero angle along the
x-axis. The angles
is returned in
radians and wrapped to the [ –pi
, pi
]
interval.
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a