24 #ifndef CLOE_UTILITY_ACTUATION_STATE_HPP_ 25 #define CLOE_UTILITY_ACTUATION_STATE_HPP_ 29 #include <boost/optional.hpp> 117 #endif // CLOE_UTILITY_ACTUATION_STATE_HPP_ boost::optional< double > fct_set_speed
The desired set speed of the controller [m/s].
Definition: actuation_state.hpp:54
boost::optional< double > fct_speed_limiter_velocity
The desired speed limiter velocity of the controller [m/s].
Definition: actuation_state.hpp:60
Definition: actuation_state.hpp:96
bool is_aeb_active() const
Returns true if the AEB is reported active.
Definition: actuation_state.hpp:75
Definition: actuation_state.hpp:40
Duration time
The simulation time that the rest of the struct describes.
Definition: actuation_state.hpp:42
boost::optional< double > acceleration
The acceleration request of the controller in [m/s^2].
Definition: actuation_state.hpp:66
bool is_consistent() const
Definition: actuation_state.cpp:36
bool is_active() const
Returns true if either AEB or FCT is reported active.
Definition: actuation_state.hpp:81
nlohmann::json Json
Definition: json.hpp:62
Definition: coordinator.hpp:36
std::chrono::nanoseconds Duration
Definition: duration.hpp:45
bool is_fct_active() const
Returns true if the controller reports to have control.
Definition: actuation_state.cpp:34
boost::optional< double > fct_time_gap
The desired time gap of the controller [s].
Definition: actuation_state.hpp:57
boost::optional< double > steering_angle
The steering angle request of the controller in [rad].
Definition: actuation_state.hpp:69
ActuationLevel fct_control
The official state of control that the actuator should have.
Definition: actuation_state.hpp:51
int fct_speed_limiter_state
The desired speed limiter velocity of the controller [m/s].
Definition: actuation_state.hpp:63
Definition: actuation_level.hpp:50
Definition: statistics.hpp:112
boost::optional< double > steering_torque
The steering torque request of the controller in [Nm].
Definition: actuation_state.hpp:72
bool aeb_active
Whether AEB is currently triggered.
Definition: actuation_state.hpp:48
uint64_t step
The simulation step that the rest of the struct describes.
Definition: actuation_state.hpp:45