 |
Galaxis Codebase
1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
|
Go to the documentation of this file.
3 #ifndef DECISION_STATE_MACHINE_HPP
4 #define DECISION_STATE_MACHINE_HPP
6 #include <rclcpp/rclcpp.hpp>
44 void update(std::shared_ptr<PositionTimepoint> positionTimepoint, std::tuple<float, float, float, float> laneBlocked);
65 #endif // DECISION_STATE_MACHINE_HPP
void update_lanes(DrivingState &newState, bool leftLaneBlocked, bool rightLaneBlocked)
SituationState get_current_situationstate()
float m_velocityAtParkingZone
Decision(rclcpp::Node *nodePtr)
float get_velocity_reference() const
void update_stopline(float value)
void set_indicators(DrivingState &newState)
float m_distanceAfterSwitchBackToLaneMeter
bool get_chosen_lane() const
void update(std::shared_ptr< PositionTimepoint > positionTimepoint, std::tuple< float, float, float, float > laneBlocked)
bool get_indicator_right() const
void set_critical_obstacle_distance_for_lane_changing(int valueCM)
std::atomic< bool > m_startDriving
bool get_indicator_left() const
void switch_lane_if_possible(DrivingState &newState)
void set_velocity_reference(float velocityReference)
float m_velocityReference
void set_velocity_reference_parking(float velocityReference)
void update_tof(float right, float rear)
bool get_brakes_enable() const
int m_criticalObstacleDistanceForLaneChangingCM
void update_starttargetline(float value)
void set_distance_after_switch_back_lane(float valueM)
void set_parking_state(ParkingState state)