ad_rss
Namespaces | Functions
RssFormulas.hpp File Reference
#include "ad/rss/core/RelativeObjectState.hpp"
#include "ad/rss/world/ObjectId.hpp"
Include dependency graph for RssFormulas.hpp:

Go to the source code of this file.

Namespaces

 ad
 namespace ad
 
 ad::rss
 namespace rss
 
 ad::rss::structured
 namespace structured
 

Functions

static world::ObjectId ad::rss::structured::getRightBorderObjectId ()
 
static world::ObjectId ad::rss::structured::getLeftBorderObjectId ()
 
bool ad::rss::structured::calculateLongitudinalDistanceOffsetAfterStatedBrakingPattern (physics::Speed const &currentLongitudinalSpeed, physics::Speed const &max_speed_on_acceleration, physics::Duration const &response_time, physics::Acceleration const &acceleration, physics::Acceleration const &deceleration, physics::Distance &distanceOffset)
 Calculate the longitudinal distance offset of a object when applying the "stated braking pattern" with given deceleration. More...
 
bool ad::rss::structured::calculateLateralDistanceOffsetAfterStatedBrakingPattern (physics::Speed const &currentLateralSpeed, physics::Duration const &response_time, physics::Acceleration const &acceleration, physics::Acceleration const &deceleration, physics::Distance &distanceOffset)
 Calculate the lateral distance offset of a object when applying the "stated braking pattern" with given deceleration. More...
 
bool ad::rss::structured::calculateSafeLongitudinalDistanceSameDirection (core::RelativeObjectState const &leadingObject, core::RelativeObjectState const &followingObject, physics::Distance &safe_distance)
 Calculate the "safe longitudinal distance" between the two objects, Assuming: Maximum deceleration for leading object, and "stated breaking pattern" for following object. More...
 
bool ad::rss::structured::checkSafeLongitudinalDistanceSameDirection (core::RelativeObjectState const &leadingObject, core::RelativeObjectState const &followingObject, physics::Distance const &objectDistance, physics::Distance &safe_distance, bool &isDistanceSafe)
 Check if the longitudinal distance between the two objects is safe. Assuming: Maximum deceleration for leading object, and "stated breaking pattern" for following object. More...
 
bool ad::rss::structured::calculateSafeLongitudinalDistanceOppositeDirection (core::RelativeObjectState const &correctObject, core::RelativeObjectState const &oppositeObject, physics::Distance &safe_distance)
 Calculate the safe longitudinal distance between to objects driving in opposite direction The calculation will assume that the correctObject is on the correct lane and oppositeObject on an opposite lane. More...
 
bool ad::rss::structured::checkSafeLongitudinalDistanceOppositeDirection (core::RelativeObjectState const &correctObject, core::RelativeObjectState const &oppositeObject, physics::Distance const &objectDistance, physics::Distance &safe_distance, bool &isDistanceSafe)
 Check if the longitudinal distance between to objects driving in opposite direction is safe. The check will assume that the correctObject is on the correct lane and oppositeObject on an opposite lane. More...
 
bool ad::rss::structured::checkStopInFrontIntersection (core::RelativeObjectState const &object, physics::Distance &safe_distance, bool &isDistanceSafe)
 Check if the object can safely break longitudinaly in front of the intersection. Assuming: Using "stated breaking pattern" for breaking. More...
 
bool ad::rss::structured::calculateSafeLateralDistance (core::RelativeObjectState const &leftObject, core::RelativeObjectState const &rightObject, physics::Distance &safe_distance)
 Calculate the "safe lateral distance" between the two objects, Assuming: Both objects apply "stated breaking pattern". More...
 
bool ad::rss::structured::checkSafeLateralDistance (core::RelativeObjectState const &leftObject, core::RelativeObjectState const &rightObject, physics::Distance const &objectDistance, physics::Distance &safe_distance, bool &isDistanceSafe)
 Check if the lateral distance between to objects is safe Assuming: Both objects apply "stated breaking pattern". More...