42 #include <px4_platform_common/module_params.h> 63 (ParamFloat<px4::params::NAV_GPSF_LT>) _param_nav_gpsf_lt,
64 (ParamFloat<px4::params::NAV_GPSF_R>) _param_nav_gpsf_r,
65 (ParamFloat<px4::params::NAV_GPSF_P>) _param_nav_gpsf_p,
66 (ParamFloat<px4::params::NAV_GPSF_TR>) _param_nav_gpsf_tr
71 GPSF_STATE_LOITER = 1,
72 GPSF_STATE_TERMINATE = 2,
void set_gpsf_item()
Set the GPSF item.
void on_activation() override
This function is called one time when mode becomes active, pos_sp_triplet must be initialized here...
Helper class to use mission items.
#define ORB_ID(_name)
Generates a pointer to the uORB metadata structure for a given topic.
uORB::Publication< vehicle_attitude_setpoint_s > _fw_virtual_att_sp_pub
uORB::Publication< vehicle_attitude_setpoint_s > _att_sp_pub
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
GpsFailure(Navigator *navigator)
hrt_abstime _timestamp_activation
void advance_gpsf()
Move to next GPSF item.
void on_inactive() override
This function is called while the mode is inactive.
DEFINE_PARAMETERS((ParamFloat< px4::params::NAV_GPSF_LT >) _param_nav_gpsf_lt,(ParamFloat< px4::params::NAV_GPSF_R >) _param_nav_gpsf_r,(ParamFloat< px4::params::NAV_GPSF_P >) _param_nav_gpsf_p,(ParamFloat< px4::params::NAV_GPSF_TR >) _param_nav_gpsf_tr) enum GPSFState
void on_active() override
This function is called while the mode is active.