Skip to content

Struct nebula::drivers::AngleRange

template <typename T, typename AngleUnit>

ClassList > nebula > drivers > AngleRange

A range defined by a start and end angle. Crossing the 0/circle_modulus boundary (end < start) is allowed. More...

  • #include <angles.hpp>

Public Attributes

Type Name
T end
T start

Public Functions

Type Name
T extent () const
The extent of the range, taking into account the 0/circle_modulus boundary. Will always be positive.

Detailed Description

Template parameters:

  • T The type of the angle.
  • AngleUnit The unit of the angle.

Public Attributes Documentation

variable end

T nebula::drivers::AngleRange< T, AngleUnit >::end;

variable start

T nebula::drivers::AngleRange< T, AngleUnit >::start;

Public Functions Documentation

function extent

The extent of the range, taking into account the 0/circle_modulus boundary. Will always be positive.

inline T nebula::drivers::AngleRange::extent () const



The documentation for this class was generated from the following file nebula_decoders/include/nebula_decoders/nebula_decoders_common/angles.hpp