Skip to content

Commit

Permalink
[fix] guidance_indi_hybrid, bounding the vertical speed was inverted (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis-Wijngaarden committed Mar 29, 2023
1 parent b855de5 commit 366d451
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ static float bound_vz_sp(float vz_sp)
if (stateGetAirspeed_f() > 13.f) {
Bound(vz_sp, -4.0f, 4.0f); // FIXME no harcoded values
} else {
Bound(vz_sp, nav.descend_vspeed, nav.climb_vspeed); // FIXME don't use nav settings
Bound(vz_sp, -nav.climb_vspeed, -nav.descend_vspeed); // FIXME don't use nav settings
}
return vz_sp;
}
Expand Down

0 comments on commit 366d451

Please sign in to comment.