ad_rss
|
DataType VehicleState. More...
#include <ad/rss/situation/VehicleState.hpp>
Public Types | |
typedef std::shared_ptr< VehicleState > | Ptr |
Smart pointer on VehicleState. | |
typedef std::shared_ptr< VehicleState const > | ConstPtr |
Smart pointer on constant VehicleState. | |
Public Member Functions | |
VehicleState ()=default | |
standard constructor | |
~VehicleState ()=default | |
standard destructor | |
VehicleState (const VehicleState &other)=default | |
standard copy constructor | |
VehicleState (VehicleState &&other)=default | |
standard move constructor | |
VehicleState & | operator= (const VehicleState &other)=default |
standard assignment operator More... | |
VehicleState & | operator= (VehicleState &&other)=default |
standard move operator More... | |
bool | operator== (const VehicleState &other) const |
standard comparison operator More... | |
bool | operator!= (const VehicleState &other) const |
standard comparison operator More... | |
Public Attributes | |
::ad::rss::situation::VelocityRange | velocity |
::ad::rss::world::RssDynamics | dynamics |
bool | hasPriority {false} |
bool | isInCorrectLane {false} |
::ad::physics::Distance | distanceToEnterIntersection {std::numeric_limits<::ad::physics::Distance>::max()} |
::ad::physics::Distance | distanceToLeaveIntersection {std::numeric_limits<::ad::physics::Distance>::max()} |
::ad::rss::world::ObjectType | objectType |
::ad::rss::world::ObjectState | objectState |
DataType VehicleState.
The state of an object in a RSS situation. The state consists of the following components in respect to the situation coordinate system: the velocity, the distance to the intersection (if applicable), the dynamics, the response time, a Right-of-Way priority flag as well as a flag stating if the vehicle is driving in its correct lane.
|
inline |
standard comparison operator
[in] | other | Other VehicleState. |
true
if both VehicleState are different
|
default |
standard assignment operator
[in] | other | Other VehicleState |
|
default |
standard move operator
[in] | other | Other VehicleState |
|
inline |
standard comparison operator
[in] | other | Other VehicleState |
true
if both VehicleState are equal ::ad::physics::Distance ad::rss::situation::VehicleState::distanceToEnterIntersection {std::numeric_limits<::ad::physics::Distance>::max()} |
The minimum distance to be covered by the vehicle to enter the intersection.
::ad::physics::Distance ad::rss::situation::VehicleState::distanceToLeaveIntersection {std::numeric_limits<::ad::physics::Distance>::max()} |
The maximum distance to cover by the vehicle to leave the intersection completely.
::ad::rss::world::RssDynamics ad::rss::situation::VehicleState::dynamics |
The situation specific dynamics.
bool ad::rss::situation::VehicleState::hasPriority {false} |
Flag indicating if the situation specific Right-of-Way relation.
bool ad::rss::situation::VehicleState::isInCorrectLane {false} |
Flag indicating if the vehicle driving in the correct lane
::ad::rss::world::ObjectState ad::rss::situation::VehicleState::objectState |
The state of the object required to perform unstructured scene calculations.
::ad::rss::world::ObjectType ad::rss::situation::VehicleState::objectType |
The type of object.
::ad::rss::situation::VelocityRange ad::rss::situation::VehicleState::velocity |
The situation specific velocity range. Especially due to merge of different scenes into one situation the velocities might become a real range.