mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 16:53:34 +08:00
fw_pos_control_l1 add new simple min groundspeed
This commit is contained in:
committed by
Lorenz Meier
parent
161429f8c6
commit
e43e37cc46
@@ -373,6 +373,9 @@ private:
|
||||
param_t vtol_type;
|
||||
} _parameter_handles {}; ///< handles for interesting parameters */
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamFloat<px4::params::FW_GND_SPD_MIN>) _groundspeed_min
|
||||
)
|
||||
|
||||
// Update our local parameter cache.
|
||||
int parameters_update();
|
||||
@@ -438,9 +441,7 @@ private:
|
||||
float get_tecs_thrust();
|
||||
|
||||
float get_demanded_airspeed();
|
||||
float calculate_target_airspeed(float airspeed_demand);
|
||||
void calculate_gndspeed_undershoot(const Vector2f &curr_pos, const Vector2f &ground_speed,
|
||||
const position_setpoint_s &pos_sp_prev, const position_setpoint_s &pos_sp_curr);
|
||||
float calculate_target_airspeed(float airspeed_demand, const Vector2f &ground_speed);
|
||||
|
||||
/**
|
||||
* Handle incoming vehicle commands
|
||||
|
||||
Reference in New Issue
Block a user