86 if(distance_to_goal < p_mission_control_->getDistanceToGoalForStop())
Simple state machine for mission controlling.
Definition: mission_controller.h:29
void run()
Definition: mission_controller.h:63
adore::fun::NavigationGoal nav_goal_
Definition: mission_controller.h:42
adore::fun::MissionData mission_data_
Definition: mission_controller.h:43
adore::mad::AWriter< adore::fun::MissionData > * mission_data_writer_
Definition: mission_controller.h:38
adore::fun::VehicleExtendedState x_state_
Definition: mission_controller.h:41
adore::fun::VehicleMotionState9d motion_state_
Definition: mission_controller.h:40
adore::mad::AReader< adore::fun::NavigationGoal > * nav_goal_reader_
Definition: mission_controller.h:34
adore::params::APMissionControl * p_mission_control_
Definition: mission_controller.h:35
adore::mad::AReader< adore::fun::VehicleExtendedState > * x_state_reader_
Definition: mission_controller.h:33
adore::mad::AReader< adore::fun::VehicleMotionState9d > * motion_state_reader_
Definition: mission_controller.h:32
~MissionController()
Definition: mission_controller.h:54
MissionController()
Definition: mission_controller.h:46
virtual TNavigationGoalReader * getNavigationGoalReader()=0
virtual TVehicleMotionStateReader * getVehicleMotionStateReader()=0
static adore::fun::AFactory * get()
Definition: afactory.h:170
Definition: missiondata.h:25
void setMissionState(MissionState missionState)
Definition: missiondata.h:45
MissionState getMissionState() const
Definition: missiondata.h:42
@ DRIVING_TO_GOAL
Definition: missiondata.h:30
@ GOAL_REACHED
Definition: missiondata.h:31
@ AUTOMATION_NOT_ACTIVE
Definition: missiondata.h:29
Definition: vehicleextendedstate.h:26
bool getAutomaticControlAccelerationOn() const
Definition: vehicleextendedstate.h:75
virtual void getData(T &value)=0
virtual void write(const T &value)=0
virtual APMissionControl * getMissionControl() const =0
abstract class containing parameters for mission controller configuration
Definition: ap_mission_control.h:25
virtual double getDistanceToGoalForStart() const =0
static adore::params::AFactory * get()
Definition: afactory.h:103
Definition: areaofeffectconverter.h:20
This struct holds the motion state of the vehicle in 9d.
Definition: vehiclemotionstate9d.h:39
double getX() const
Get the x-coordinate.
Definition: vehiclemotionstate9d.h:54
double getY() const
Get the y-coordinate.
Definition: vehiclemotionstate9d.h:60
Definition: navigationgoal.h:26
adore::mad::GlobalPosition target_
Definition: navigationgoal.h:28
double x_
Definition: globalposition.h:23
double y_
Definition: globalposition.h:23