8.4 CombiningLidarandSensor CoordinateFrame
The Lidar Coordinate Frame’s positive x-axis (0 encoder value) is opposite the Sensor Coordinate
Frame’s positive x-axis to center lidar data about the Sensor Coordinate Frame’s positive x-axis. A
single measurement frame starts at the Lidar Coordinate Frame’s 0° position and ends at the 360°
position. This is convenient when viewing a “range image” of the Ouster Sensor measurements, al-
lowing the “range image” to be centered in the Sensor Coordinate Frame’s positive x-axis, which is
generallyforwardfacinginmost roboticsystems.
The Ouster Sensor scans in the clockwise direction when viewed from the top, which is a negative
rotationalvelocityaboutthez-axis. Thus,asencoderticksincreasesfrom0to90,111,theactualangle
aboutthe z-axisin theLidarCoordinateFramewill decrease.
8.5 LidarIntrinsicBeamAngles
The intrinsic beam angles for each beam may be queried with a TCP command get_beam_intrinsics
to provide an azimuth and elevation adjustmen offset to the each beam. The azimuth adjustment is
referenced off of the current encoder angle and the elevation adjustment is referenced from the XY
planein theSensor andLidarCoordinateFrames.
8.6 LidarRange Data ToSensorXYZ CoordinateFrame
ForapplicationsthatrequirecalibrationagainstaprecisionmountorusetheIMUdataincombination
with the lidar data,the XYZpointsshould beadjusted tothe SensorCoordinateFrame. This requires
a Z translation and a rotation of the X,Y,Z points about the z-axis. The z translation is the height of
thelidaraperturestopabovethesensororigin,whichis36.180mmfortheOS1,andthedatamustbe
rotated180°aroundthez-axis. ThisinformationcanbequeriedoverTCPintheformofahomogeneous
transformationmatrix inrow-majorordering.
ExampleJSON formatted queryusing theTCPcommand get_lidar_intrinsics:
{
"lidar_to_sensor_transform": [
-1,
0,
0,
0,
0,
-1,
0,
0,
0,
0,
1,
74.296,
0,
0,
0,
(continuesonnext page)
14