ad_rss
Public Types | Public Member Functions | Public Attributes | List of all members
ad::rss::world::Velocity Struct Reference

DataType Velocity. More...

#include <ad/rss/world/Velocity.hpp>

Public Types

typedef std::shared_ptr< VelocityPtr
 Smart pointer on Velocity.
 
typedef std::shared_ptr< Velocity const > ConstPtr
 Smart pointer on constant Velocity.
 

Public Member Functions

 Velocity ()=default
 standard constructor
 
 ~Velocity ()=default
 standard destructor
 
 Velocity (const Velocity &other)=default
 standard copy constructor
 
 Velocity (Velocity &&other)=default
 standard move constructor
 
Velocityoperator= (const Velocity &other)=default
 standard assignment operator More...
 
Velocityoperator= (Velocity &&other)=default
 standard move operator More...
 
bool operator== (const Velocity &other) const
 standard comparison operator More...
 
bool operator!= (const Velocity &other) const
 standard comparison operator More...
 

Public Attributes

::ad::physics::Speed speedLonMin {0.}
 
::ad::physics::Speed speedLonMax {100.}
 
::ad::physics::Speed speedLatMin {-100.}
 
::ad::physics::Speed speedLatMax {100.}
 

Detailed Description

DataType Velocity.

Defines the velocity of an object within its current lane. The velocity consists of a longitudinal and a lateral component. Both allow to provide a range with minimum and maximum value to allow for variations when measuring the velocity at different points within the vehicle i.e. in respect to the lane within curves.

Member Function Documentation

◆ operator!=()

bool ad::rss::world::Velocity::operator!= ( const Velocity other) const
inline

standard comparison operator

Parameters
[in]otherOther Velocity.
Returns
true if both Velocity are different

◆ operator=() [1/2]

Velocity& ad::rss::world::Velocity::operator= ( const Velocity other)
default

standard assignment operator

Parameters
[in]otherOther Velocity
Returns
Reference to this Velocity.

◆ operator=() [2/2]

Velocity& ad::rss::world::Velocity::operator= ( Velocity &&  other)
default

standard move operator

Parameters
[in]otherOther Velocity
Returns
Reference to this Velocity.

◆ operator==()

bool ad::rss::world::Velocity::operator== ( const Velocity other) const
inline

standard comparison operator

Parameters
[in]otherOther Velocity
Returns
true if both Velocity are equal

Member Data Documentation

◆ speedLatMax

::ad::physics::Speed ad::rss::world::Velocity::speedLatMax {100.}

The range maximum of the lateral speed component of the velocity vector. The lateral component of the velocity is always measured orthogonal to the center line of the current lane.

◆ speedLatMin

::ad::physics::Speed ad::rss::world::Velocity::speedLatMin {-100.}

The range minimum of the lateral speed component of the velocity vector. The lateral component of the velocity is always measured orthogonal to the center line of the current lane.

◆ speedLonMax

::ad::physics::Speed ad::rss::world::Velocity::speedLonMax {100.}

The range maximum of the longitudinal speed component of the velocity vector. The longitudinal component of the velocity is always measured tangential to the center line of the current lane.

◆ speedLonMin

::ad::physics::Speed ad::rss::world::Velocity::speedLonMin {0.}

The range minimum of the longitudinal speed component of the velocity vector. The longitudinal component of the velocity is always measured tangential to the center line of the current lane.


The documentation for this struct was generated from the following file: