mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 23:31:36 +08:00
FlightTaskManualAlt/Pos: add deadzone fox xy/z
This commit is contained in:
committed by
Beat Küng
parent
ec4089cebf
commit
f1b3010c70
@@ -92,7 +92,7 @@ void FlightTaskManualAltitude::updateHeadingSetpoints()
|
||||
|
||||
void FlightTaskManualAltitude::updateZsetpoints()
|
||||
{
|
||||
if (fabsf(_sticks(2)) < FLT_EPSILON) {
|
||||
if (fabsf(_sticks(2)) < _stick_deadzone.get()) {
|
||||
|
||||
/* Want to hold altitude */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user