Coordinate system

Every point the sensor measures has Cartesian coordinates x, y and z in metres.

Two coordinate systems are involved: the sensor coordinate system, fixed to the housing, and the world coordinate system of the scene, in which the WebGUI shows the point cloud and places the zones once the sensor is aligned.

Sensor coordinate system

The sensor coordinate system is attached to the housing of the sensor. Its axes are:

y

Points out of the front window, in the viewing direction of the sensor.

z

Points up, through the top of the housing when the sensor stands upright as in the drawing.

x

Points to the right when you look along the viewing direction. The axes form a right-handed system.

The origin lies inside the housing, behind the front window. Its distance from the rear and from the bottom of the housing differs between the standard and the ETR housing and is given in the drawing. The centre of the field of view lies 5° below the y-axis.

Side and top views of the standard and the ETR housing with the origin of the axes x, y and z, its distance from the rear and the bottom of the housing, the 5° offset of the field of view centre and the vertical and horizontal field of view
Figure 1. Sensor coordinate system of the standard sensor (left) and the ETR variant (right), seen from the side (top) and from above (bottom)

The raw point cloud of a sensor is expressed in this coordinate system. The API calls it the local coordinate system, see Coordinate System.

World coordinate system after alignment

A sensor is rarely mounted level, so its own axes do not match the scene. Sensor Setup stores, for each sensor, a transformation from the sensor coordinate system into the world coordinate system of the scene: its position and its rotation.

After the sensor is aligned to the ground:

  • The ground lies in the x-y plane, on the grid of the WebGUI.

  • The z axis points up, away from the ground. The z position of a sensor is its height above the ground.

  • The x and y axes are horizontal. Their direction in the scene follows from the rotation of the sensor around the vertical axis and from the position you set in Sensor Setup.

All sensors of a setup share this world coordinate system, which is what makes their point clouds fit together. The API calls it the map coordinate system, and the transformation of each sensor map_from_lidar, see Data Source.

Zones are defined in the world coordinate system: the x, y and z of their position, rotation and size in Zone Management refer to these axes, in metres and degrees. A zone also has its own axes, which turn with it.

The driving direction in a traffic lane zone is defined along the y-axis of the zone.