mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 18:51:35 +08:00
commander add parameters for eph, epv, evh requirements
This commit is contained in:
@@ -87,6 +87,16 @@ public:
|
||||
static bool preflight_check(bool report);
|
||||
|
||||
private:
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamFloat<px4::params::COM_HOME_H_T>) _home_eph_threshold,
|
||||
(ParamFloat<px4::params::COM_HOME_V_T>) _home_epv_threshold,
|
||||
|
||||
(ParamFloat<px4::params::COM_POS_FS_EPH>) _eph_threshold,
|
||||
(ParamFloat<px4::params::COM_POS_FS_EPV>) _epv_threshold,
|
||||
(ParamFloat<px4::params::COM_VEL_FS_EVH>) _evh_threshold,
|
||||
)
|
||||
|
||||
bool handle_command(vehicle_status_s *status_local, const vehicle_command_s &cmd,
|
||||
actuator_armed_s *armed_local, home_position_s *home, const vehicle_global_position_s &global_pos,
|
||||
const vehicle_local_position_s &local_pos, orb_advert_t *home_pub, orb_advert_t *command_ack_pub, bool *changed);
|
||||
|
||||
Reference in New Issue
Block a user