|
|
|
@ -6,6 +6,10 @@ bool Sub::manual_init()
@@ -6,6 +6,10 @@ bool Sub::manual_init()
|
|
|
|
|
// set target altitude to zero for reporting
|
|
|
|
|
pos_control.set_alt_target(0); |
|
|
|
|
|
|
|
|
|
// attitude hold inputs become thrust inputs in manual mode
|
|
|
|
|
// set to neutral to prevent chaotic behavior (esp. roll/pitch)
|
|
|
|
|
set_neutral_controls(); |
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|