mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 02:33:34 +08:00
param load / store cleanup, storage location selection now exclusively through dedicated "param select <path>" command
This commit is contained in:
@@ -220,9 +220,9 @@ mc_thread_main(int argc, char *argv[])
|
||||
|
||||
/* only move setpoint if manual input is != 0 */
|
||||
// XXX turn into param
|
||||
if ((manual.yaw < -0.01f || 0.01f < manual.yaw) && manual.throttle > 0.25f) {
|
||||
if ((manual.yaw < -0.01f || 0.01f < manual.yaw) && manual.throttle > 0.3f) {
|
||||
att_sp.yaw_body = att_sp.yaw_body + manual.yaw * 0.0025f;
|
||||
} else if (manual.throttle <= 0.25f) {
|
||||
} else if (manual.throttle <= 0.3f) {
|
||||
att_sp.yaw_body = att.yaw;
|
||||
}
|
||||
att_sp.thrust = manual.throttle;
|
||||
|
||||
Reference in New Issue
Block a user