ad_rss
|
namespace state More...
Classes | |
struct | AccelerationRestriction |
DataType AccelerationRestriction. More... | |
struct | LateralRssState |
DataType LateralRssState. More... | |
struct | LongitudinalRssState |
DataType LongitudinalRssState. More... | |
struct | ProperResponse |
DataType ProperResponse. More... | |
struct | RssState |
DataType RssState. More... | |
struct | RssStateInformation |
DataType RssStateInformation. More... | |
struct | RssStateSnapshot |
DataType RssStateSnapshot. More... | |
struct | UnstructuredConstellationRssState |
DataType UnstructuredConstellationRssState. More... | |
struct | UnstructuredConstellationStateInformation |
DataType UnstructuredConstellationStateInformation. More... | |
Typedefs | |
typedef std::vector<::ad::rss::state::RssState > | RssStateVector |
DataType RssStateVector. More... | |
typedef ::ad::physics::Distance2DList | UnstructuredTrajectorySet |
DataType UnstructuredTrajectorySet. More... | |
Enumerations | |
enum class | LateralResponse : int32_t { None = 0 , BrakeMin = 1 } |
DataType LateralResponse. More... | |
enum class | LongitudinalResponse : int32_t { None = 0 , BrakeMinCorrect = 1 , BrakeMin = 2 } |
DataType LongitudinalResponse. More... | |
enum class | RssStateEvaluator : int32_t { None = 0 , LongitudinalDistanceOppositeDirectionEgoCorrectLane = 1 , LongitudinalDistanceOppositeDirection = 2 , LongitudinalDistanceSameDirectionEgoFront = 3 , LongitudinalDistanceSameDirectionOtherInFront = 4 , LateralDistance = 5 , IntersectionOtherPriorityEgoAbleToStop = 6 , IntersectionEgoPriorityOtherAbleToStop = 7 , IntersectionEgoInFront = 8 , IntersectionOtherInFront = 9 , IntersectionOverlap = 10 } |
DataType RssStateEvaluator. More... | |
enum class | UnstructuredConstellationResponse : int32_t { None = 0 , ContinueForward = 1 , DriveAway = 2 , Brake = 3 } |
DataType UnstructuredConstellationResponse. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, AccelerationRestriction const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, LateralResponse const &value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, LateralRssState const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, LongitudinalResponse const &value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, LongitudinalRssState const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, ProperResponse const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, RssState const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, RssStateEvaluator const &value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, RssStateInformation const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, RssStateSnapshot const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, UnstructuredConstellationResponse const &value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, UnstructuredConstellationRssState const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, UnstructuredConstellationStateInformation const &_value) |
standard ostream operator More... | |
bool | isLongitudinalSafe (RssState const &rssState) |
is rss state longitudinal safe More... | |
bool | isLateralSafe (RssState const &rssState) |
is rss state lateral safe More... | |
bool | isUnstructuredConstellationSafe (RssState const &rssState) |
is rss unstructured constellation state safe More... | |
bool | isDangerous (RssState const &rssState) |
is rss state dangerous More... | |
void | combineState (state::UnstructuredConstellationRssState const &state, physics::Acceleration &driveAwayBrakeMin, bool &driveAwayToBrakeTransition, state::UnstructuredConstellationResponse &response, ::ad::geometry::HeadingRangeVector &responseHeadingRanges, physics::AccelerationRange &accelerationRange) |
combineState and update AccelerationRestriction More... | |
void | combineState (state::LongitudinalRssState const &state, state::LongitudinalResponse &response, physics::AccelerationRange &accelerationRange) |
combineState and update AccelerationRestriction More... | |
void | combineState (state::LateralRssState const &state, state::LateralResponse &response, physics::AccelerationRange &accelerationRange, bool const isLaneBoundariesObject) |
combineState and update AccelerationRestriction More... | |
state::ProperResponse | combineProperResponse (state::ProperResponse const &left, state::ProperResponse const &right) |
Combine two proper responses. More... | |
namespace state
namespace for RSS state datatypes and operations
typedef std::vector<::ad::rss::state::RssState> ad::rss::state::RssStateVector |
DataType RssStateVector.
A vector of RSS states.
typedef ::ad::physics::Distance2DList ad::rss::state::UnstructuredTrajectorySet |
DataType UnstructuredTrajectorySet.
Describes the potential endpoints of all possible trajectories during unstructured constellation calculation
|
strong |
|
strong |
DataType LongitudinalResponse.
Enumeration defining the possible longitudinal responses. Be aware: there has to be a strict order of the enumeration values according to the strictness of the response.
Enumerator | |
---|---|
None | No action required. |
BrakeMinCorrect | Vehicle has to decerate at least with brake min correct longitudinally |
BrakeMin | Vehicle has to decerate at least with brake min longitudinally |
|
strong |
DataType RssStateEvaluator.
The method used to evaluate the respone.
|
strong |
DataType UnstructuredConstellationResponse.
Enumeration defining the possible unstructured constellation responses.
state::ProperResponse ad::rss::state::combineProperResponse | ( | state::ProperResponse const & | left, |
state::ProperResponse const & | right | ||
) |
Combine two proper responses.
[in] | left | – a RSS response to become RSS safe. |
[in] | right | – another RSS response to become RSS safe. |
void ad::rss::state::combineState | ( | state::LateralRssState const & | state, |
state::LateralResponse & | response, | ||
physics::AccelerationRange & | accelerationRange, | ||
bool const | isLaneBoundariesObject | ||
) |
combineState and update AccelerationRestriction
Updates the lateral acceleration_restrictions
[in] | state | - The lateral state to update the acceleration restrictions with |
[in,out] | response | – the combined RSS response to become RSS safe. |
[in,out] | accelerationRange | - The restrictions on the vehicle acceleration to become RSS safe. |
[in] | isLaneBoundariesObject | is the object a lane boundaries object (which is ignored if none response) |
void ad::rss::state::combineState | ( | state::LongitudinalRssState const & | state, |
state::LongitudinalResponse & | response, | ||
physics::AccelerationRange & | accelerationRange | ||
) |
combineState and update AccelerationRestriction
Updates the longitudinal accelerationRestriction
[in] | state | - The longitudinal state to update the acceleration restrictions with |
[in,out] | response | – the combined RSS response to become RSS safe. |
[in,out] | accelerationRange | - The combined restrictions on the vehicle acceleration to become RSS safe. |
void ad::rss::state::combineState | ( | state::UnstructuredConstellationRssState const & | state, |
physics::Acceleration & | driveAwayBrakeMin, | ||
bool & | driveAwayToBrakeTransition, | ||
state::UnstructuredConstellationResponse & | response, | ||
::ad::geometry::HeadingRangeVector & | responseHeadingRanges, | ||
physics::AccelerationRange & | accelerationRange | ||
) |
combineState and update AccelerationRestriction
Updates the longitudinal accelerationRestriction
[in] | state | - The unstructured constellation state to update the acceleration restrictions with |
[in,out] | driveAwayBrakeMin | – the minimal brake_min of all drive-away states |
[in,out] | driveAwayToBrakeTransition | – a transition from drive-Away to Brake happened |
[in,out] | response | – the combined RSS response to become RSS safe. |
[in,out] | responseHeadingRanges | – the combined RSS response heading ranges (for driving away) |
[in,out] | accelerationRange | - The combined restrictions on the vehicle acceleration to become RSS safe. |
|
inline |
is rss state dangerous
[in] | rssState | to check |
true if dangerous, false if not
|
inline |
is rss state lateral safe
[in] | rssState | to check |
true if safe, false if not
|
inline |
is rss state longitudinal safe
[in] | rssState | to check |
true if safe, false if not
|
inline |
is rss unstructured constellation state safe
[in] | rssState | to check |
true if safe, false if not
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | AccelerationRestriction value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | value | LateralResponse value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | LateralRssState value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | value | LongitudinalResponse value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | LongitudinalRssState value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | ProperResponse value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | RssState value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | value | RssStateEvaluator value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | RssStateInformation value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | RssStateSnapshot value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | value | UnstructuredConstellationResponse value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | UnstructuredConstellationRssState value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | UnstructuredConstellationStateInformation value |