diff options
author | Benjamin O'Connell-Armand <benjamin.oconnell@polymtl.ca> | 2014-06-14 18:46:18 -0400 |
---|---|---|
committer | Benjamin O'Connell-Armand <benjamin.oconnell@polymtl.ca> | 2014-06-14 18:46:18 -0400 |
commit | 74ae18c245514d918e6ea58f05de98b9fe4b63a5 (patch) | |
tree | 00e262cfe85222d765322741b96b7bb39e074455 /src | |
parent | 670d8c91e9e727c3097e3bca1e4bea17a9170245 (diff) | |
download | px4-firmware-74ae18c245514d918e6ea58f05de98b9fe4b63a5.tar.gz px4-firmware-74ae18c245514d918e6ea58f05de98b9fe4b63a5.tar.bz2 px4-firmware-74ae18c245514d918e6ea58f05de98b9fe4b63a5.zip |
Fixed rates flags
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/commander/commander.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 2c36b2e6c..7baaf7139 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -1834,7 +1834,7 @@ set_control_mode() control_mode.flag_control_velocity_enabled = true; break; case OFFBOARD_CONTROL_MODE_DIRECT_POSITION: - control_mode.flag_control_rates_enabled = false; + control_mode.flag_control_rates_enabled = true; control_mode.flag_control_attitude_enabled = false; control_mode.flag_control_altitude_enabled = true; control_mode.flag_control_climb_rate_enabled = true; |