osi3::Spherical3d Struct Reference

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

Collaboration diagram for osi3::Spherical3d:

Public Attributes

optional double distance = 1
 The radial distance. More...
 
optional double azimuth = 2
 The azimuth (horizontal) angle. More...
 
optional double elevation = 3
 The elevation (vertical) angle. 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 \( ) \)

Member Data Documentation

◆ distance

optional double osi3::Spherical3d::distance = 1

The radial distance.

Unit: m

Rules
is_greater_than_or_equal_to: 0

◆ azimuth

optional double osi3::Spherical3d::azimuth = 2

The azimuth (horizontal) angle.

Unit: rad

◆ elevation

optional double osi3::Spherical3d::elevation = 3

The elevation (vertical) angle.

Unit: rad


  • osi_common.proto