OSI KPIs definitions
Spherical3d Class Reference

A spherical representation for a point or vector in 3D space. More...

Detailed Description

A spherical representation for a point or vector in 3D space.

Used e.g., for low level representations of radar detections.

Azimuth and elevation are defined as the rotations that would have to be applied to the local frame (e.g sensor frame definition in SensorDetectionHeader) to make its x-axis point towards the referenced point or to align it with the referenced vector. The rotations are to be performed azimuth first (around the z-axis) and elevation second (around the new y-axis) to follow the definition of Orientation3d. For the sense of each rotation, the right-hand rule applies.

vector_cartesian := Rotation(#elevation)*Rotation(#azimuth)*Unit_vector_x #distance

Requirements
Attribute Type Unit Requirements
distance double [m] Must be set and positive
azimuth double [rad] Must be set and in range of (-pi, pi]
elevation double [rad] Must be set and in range of [-pi/2, pi/2]