11 #ifndef _UGCS_VSM_TASK_H_
12 #define _UGCS_VSM_TASK_H_
16 #include <ugcs/vsm/optional.h>
23 typedef std::shared_ptr<ugcs::vsm::proto::Vsm_message> Proto_msg_ptr;
31 Task(
size_t reserved_size = 0)
70 Proto_msg_ptr ucs_response;
72 bool return_native_route =
false;
73 bool use_crlf_in_native_route =
false;
80 std::tuple<Wgs84_position, double>
81 Get_home_position_impl()
const;
84 Optional<double> takeoff_altitude;
Action plan for a single vehicle.
Definition: task.h:26
Definition: property.h:250
Property_list parameters
Parameter list for the task .
Definition: task.h:68
std::shared_ptr< Task_attributes_action > Ptr
Pointer type.
Definition: task_attributes_action.h:21
Wgs84_position Get_home_position() const
Retrieve home position from action.
Task(size_t reserved_size=0)
Constructor.
Definition: task.h:31
double Get_home_position_altitude() const
Get terrain height at home position in meters.
std::vector< Action::Ptr > actions
Action list of the task .
Definition: task.h:60
Coordinates manipulation.
void Set_takeoff_altitude(double altitude)
Internal SDK method.
double Get_takeoff_altitude() const
Get take-off altitude, that is the absolute altitude of the position where the vehicle was or will be...
Task_attributes_action::Ptr attributes
Task attributes action.
Definition: task.h:65