CARLA
Loading...
Searching...
No Matches
carla::rss::EgoDynamicsOnRoute Struct Reference

struct defining the ego vehicles current dynamics in respect to the current route More...

#include <RssCheck.h>

Public Member Functions

 EgoDynamicsOnRoute ()
 constructor

Public Attributes

::ad::physics::Acceleration avg_route_accel_lat
 the ego acceleration component lat in respect to a route smoothened by an average filter
::ad::physics::Acceleration avg_route_accel_lon
 the ego acceleration component lon in respect to a route smoothened by an average filter
bool crossing_border
 flag indicating if the current state is already crossing one of the borders this is only evaluated if the border checks are active!
::ad::map::point::ENUPoint ego_center
 the considered enu position of the ego vehicle
bool ego_center_within_route
 check if the ego center is within route
::ad::map::point::ENUHeading ego_heading
 the considered heading of the ego vehicle
::ad::physics::AngularVelocity ego_heading_change
 the considered heading change of the ego vehicle
::ad::physics::Speed ego_speed
 the ego speed
::ad::physics::Angle ego_steering_angle
 the considered steering angle of the ego vehicle
::ad::map::point::ENUHeading heading_diff
 the considered heading diff towards the route
::ad::physics::Distance min_stopping_distance
 the current minimum stopping distance
::ad::physics::Acceleration route_accel_lat
 the ego acceleration component lat in respect to a route
::ad::physics::Acceleration route_accel_lon
 the ego acceleration component lon in respect to a route
::ad::map::point::ENUHeading route_heading
 the considered heading of the route
::ad::map::point::ENUPoint route_nominal_center
 the considered nominal center of the current route
::ad::physics::Speed route_speed_lat
 the ego speed component lat in respect to a route
::ad::physics::Speed route_speed_lon
 the ego speed component lon in respect to a route
double time_since_epoch_check_end_ms
 the time since epoch in ms at the end of the checkObjects call
double time_since_epoch_check_start_ms
 the time since epoch in ms at start of the checkObjects call
carla::client::Timestamp timestamp
 the carla timestamp of the last calculation

Detailed Description

struct defining the ego vehicles current dynamics in respect to the current route

Especially the velocity of the vehicle is split into lateral and longitudinal components according to the current route

Definition at line 40 of file RssCheck.h.

Constructor & Destructor Documentation

◆ EgoDynamicsOnRoute()

carla::rss::EgoDynamicsOnRoute::EgoDynamicsOnRoute ( )

Member Data Documentation

◆ avg_route_accel_lat

::ad::physics::Acceleration carla::rss::EgoDynamicsOnRoute::avg_route_accel_lat

the ego acceleration component lat in respect to a route smoothened by an average filter

Definition at line 85 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and carla::rss::RssRestrictor::RestrictVehicleControl().

◆ avg_route_accel_lon

::ad::physics::Acceleration carla::rss::EgoDynamicsOnRoute::avg_route_accel_lon

the ego acceleration component lon in respect to a route smoothened by an average filter

Definition at line 88 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute().

◆ crossing_border

bool carla::rss::EgoDynamicsOnRoute::crossing_border

flag indicating if the current state is already crossing one of the borders this is only evaluated if the border checks are active!

It is a hint to oversteer a bit on countersteering

Definition at line 68 of file RssCheck.h.

Referenced by carla::rss::RssCheck::AnalyseCheckResults(), carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and carla::rss::RssRestrictor::RestrictVehicleControl().

◆ ego_center

::ad::map::point::ENUPoint carla::rss::EgoDynamicsOnRoute::ego_center

the considered enu position of the ego vehicle

Definition at line 55 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and EgoDynamicsOnRoute().

◆ ego_center_within_route

bool carla::rss::EgoDynamicsOnRoute::ego_center_within_route

check if the ego center is within route

Definition at line 63 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute().

◆ ego_heading

::ad::map::point::ENUHeading carla::rss::EgoDynamicsOnRoute::ego_heading

the considered heading of the ego vehicle

Definition at line 57 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and carla::rss::RssRestrictor::RestrictVehicleControl().

◆ ego_heading_change

::ad::physics::AngularVelocity carla::rss::EgoDynamicsOnRoute::ego_heading_change

the considered heading change of the ego vehicle

Definition at line 59 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), carla::rss::RssCheck::CreateWorldModel(), and carla::rss::RssCheck::RssObjectChecker::operator()().

◆ ego_speed

::ad::physics::Speed carla::rss::EgoDynamicsOnRoute::ego_speed

◆ ego_steering_angle

::ad::physics::Angle carla::rss::EgoDynamicsOnRoute::ego_steering_angle

the considered steering angle of the ego vehicle

Definition at line 61 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), carla::rss::RssCheck::CreateWorldModel(), and carla::rss::RssCheck::RssObjectChecker::operator()().

◆ heading_diff

::ad::map::point::ENUHeading carla::rss::EgoDynamicsOnRoute::heading_diff

the considered heading diff towards the route

Definition at line 74 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute().

◆ min_stopping_distance

::ad::physics::Distance carla::rss::EgoDynamicsOnRoute::min_stopping_distance

the current minimum stopping distance

Definition at line 53 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), carla::rss::RssCheck::CreateWorldModel(), and EgoDynamicsOnRoute().

◆ route_accel_lat

::ad::physics::Acceleration carla::rss::EgoDynamicsOnRoute::route_accel_lat

the ego acceleration component lat in respect to a route

Definition at line 80 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and carla::rss::RssRestrictor::RestrictVehicleControl().

◆ route_accel_lon

::ad::physics::Acceleration carla::rss::EgoDynamicsOnRoute::route_accel_lon

the ego acceleration component lon in respect to a route

Definition at line 82 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute().

◆ route_heading

::ad::map::point::ENUHeading carla::rss::EgoDynamicsOnRoute::route_heading

the considered heading of the route

Definition at line 70 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute().

◆ route_nominal_center

::ad::map::point::ENUPoint carla::rss::EgoDynamicsOnRoute::route_nominal_center

the considered nominal center of the current route

Definition at line 72 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute().

◆ route_speed_lat

::ad::physics::Speed carla::rss::EgoDynamicsOnRoute::route_speed_lat

the ego speed component lat in respect to a route

Definition at line 76 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and carla::rss::RssRestrictor::RestrictVehicleControl().

◆ route_speed_lon

::ad::physics::Speed carla::rss::EgoDynamicsOnRoute::route_speed_lon

the ego speed component lon in respect to a route

Definition at line 78 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and carla::rss::RssRestrictor::RestrictVehicleControl().

◆ time_since_epoch_check_end_ms

double carla::rss::EgoDynamicsOnRoute::time_since_epoch_check_end_ms

the time since epoch in ms at the end of the checkObjects call

Definition at line 49 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CheckObjects(), and EgoDynamicsOnRoute().

◆ time_since_epoch_check_start_ms

double carla::rss::EgoDynamicsOnRoute::time_since_epoch_check_start_ms

the time since epoch in ms at start of the checkObjects call

Definition at line 47 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute(), and EgoDynamicsOnRoute().

◆ timestamp

carla::client::Timestamp carla::rss::EgoDynamicsOnRoute::timestamp

the carla timestamp of the last calculation

Definition at line 45 of file RssCheck.h.

Referenced by carla::rss::RssCheck::CalculateEgoDynamicsOnRoute().


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