Global position setpoint in WGS84 coordinates.
Definition of a mission consisting of mission items.
bool _waypoint_position_reached_previously
void set_loiter_item(struct mission_item_s *item, float min_clearance=-1.0f)
Set a loiter mission item, if possible reuse the position setpoint, otherwise take the current positi...
bool _waypoint_position_reached
virtual ~MissionBlock()=default
float get_absolute_altitude_for_item(const mission_item_s &mission_item) const
MissionBlock(Navigator *navigator)
Constructor.
High-resolution timer with callouts and timekeeping.
#define ORB_ID(_name)
Generates a pointer to the uORB metadata structure for a given topic.
uORB::Publication< actuator_controls_s > _actuator_pub
void set_takeoff_item(struct mission_item_s *item, float abs_altitude, float min_pitch=0.0f)
Set a takeoff mission item.
mission_item_s _mission_item
Vector< float, 6 > f(float t, const Matrix< float, 6, 1 > &, const Matrix< float, 3, 1 > &)
void mission_apply_limitation(mission_item_s &item)
General function used to adjust the mission item based on vehicle specific limitations.
void reset_mission_item_reached()
Reset all reached flags.
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
float get_time_inside(const mission_item_s &item) const
hrt_abstime _time_wp_reached
void issue_command(const mission_item_s &item)
Base class for different modes in navigator.
bool mission_item_to_position_setpoint(const mission_item_s &item, position_setpoint_s *sp)
Convert a mission item to a position setpoint.
bool is_mission_item_reached()
Check if mission item has been reached.
static bool item_contains_position(const mission_item_s &item)
bool _waypoint_yaw_reached
MissionBlock & operator=(const MissionBlock &)=delete
hrt_abstime _time_first_inside_orbit
void set_land_item(struct mission_item_s *item, bool at_current_location)
Set a land mission item.
void set_idle_item(struct mission_item_s *item)
Set idle mission item.
hrt_abstime _action_start
void set_vtol_transition_item(struct mission_item_s *item, const uint8_t new_mode)
Set vtol transition item.