readScanAngles
(To be removed) Return scan angles for laser scan range readings
readScanAngles will be removed in a future release. Use rosReadScanAngles instead. For more information, see ROS Message Structure Functions.
Description
calculates the scan angles, angles = readScanAngles(scan)angles, corresponding to the
range readings in the laser scan message, 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.