FlightTasks: Sticks methods naming refactor according to comments

This commit is contained in:
Matthias Grob
2020-07-16 19:01:22 +02:00
committed by Julian Kent
parent 0d56035a46
commit 413cf8b7c4
4 changed files with 7 additions and 7 deletions
@@ -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));
}