27 #include <boost/optional.hpp>
Definition: statistics.hpp:110
Definition: actuation_level.hpp:48
std::chrono::nanoseconds Duration
Definition: cloe_fwd.hpp:36
nlohmann::json Json
Definition: fable_fwd.hpp:35
Definition: actuation_state.hpp:37
bool is_aeb_active() const
Returns true if the AEB is reported active.
Definition: actuation_state.hpp:72
boost::optional< double > steering_angle
The steering angle request of the controller in [rad].
Definition: actuation_state.hpp:66
bool is_fct_active() const
Returns true if the controller reports to have control.
Definition: actuation_state.cpp:34
boost::optional< double > steering_torque
The steering torque request of the controller in [Nm].
Definition: actuation_state.hpp:69
boost::optional< double > fct_set_speed
The desired set speed of the controller [m/s].
Definition: actuation_state.hpp:51
bool aeb_active
Whether AEB is currently triggered.
Definition: actuation_state.hpp:45
bool is_consistent() const
Definition: actuation_state.cpp:36
int fct_speed_limiter_state
The desired speed limiter velocity of the controller [m/s].
Definition: actuation_state.hpp:60
Duration time
The simulation time that the rest of the struct describes.
Definition: actuation_state.hpp:39
boost::optional< double > fct_time_gap
The desired time gap of the controller [s].
Definition: actuation_state.hpp:54
bool is_active() const
Returns true if either AEB or FCT is reported active.
Definition: actuation_state.hpp:78
ActuationLevel fct_control
The official state of control that the actuator should have.
Definition: actuation_state.hpp:48
uint64_t step
The simulation step 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:63
boost::optional< double > fct_speed_limiter_velocity
The desired speed limiter velocity of the controller [m/s].
Definition: actuation_state.hpp:57
Definition: actuation_state.hpp:93