mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 23:33:35 +08:00
FlightTasks: Sticks methods naming refactor according to comments
This commit is contained in:
committed by
Julian Kent
parent
0d56035a46
commit
413cf8b7c4
@@ -187,7 +187,7 @@ float FlightTaskAutoMapper::_getLandSpeed()
|
||||
// user input assisted land speed
|
||||
if (_param_mpc_land_rc_help.get()
|
||||
&& (_dist_to_ground < _param_mpc_land_alt1.get())
|
||||
&& _sticks.evaluateSticks(_time_stamp_current)) {
|
||||
&& _sticks.checkAndSetStickInputs(_time_stamp_current)) {
|
||||
// stick full up -1 -> stop, stick full down 1 -> double the speed
|
||||
land_speed *= (1 + _sticks.getPositionExpo()(2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user