mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 20:49:07 +08:00
Check velocity valid and param description
This commit is contained in:
parent
50894e8615
commit
fbbe3d1f41
@ -214,7 +214,7 @@ void Standard::update_vtol_state()
|
||||
|
||||
if (hrt_elapsed_time(&_vtol_schedule.transition_start) >
|
||||
(_params_standard.back_trans_dur * 1000000.0f) ||
|
||||
vel <= _params_standard.mpc_xy_cruise) {
|
||||
(_local_pos->v_xy_valid && vel <= _params_standard.mpc_xy_cruise)) {
|
||||
_vtol_schedule.flight_mode = MC_MODE;
|
||||
}
|
||||
|
||||
|
||||
@ -221,9 +221,10 @@ PARAM_DEFINE_FLOAT(VT_F_TRANS_DUR, 5.0f);
|
||||
PARAM_DEFINE_FLOAT(VT_B_TRANS_DUR, 4.0f);
|
||||
|
||||
/**
|
||||
* Deceleration during back transition
|
||||
* Approximate deceleration during back transition
|
||||
*
|
||||
* The deceleration during a back transition in m/s/s
|
||||
* The approximate deceleration during a back transition in m/s/s
|
||||
* Used to calculate back transition distance in mission mode. A lower value will make the VTOL transition further from the destination waypoint.
|
||||
*
|
||||
* @unit m/s/s
|
||||
* @min 0.00
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user