diff options
author | NosDE <marco@wtns.de> | 2015-04-11 20:35:49 +0200 |
---|---|---|
committer | NosDE <marco@wtns.de> | 2015-04-11 20:35:49 +0200 |
commit | 5820a42a6d4e4ff0acc340f11516e2156ba754f8 (patch) | |
tree | 5499cca07efca1c169937a31604167a51d8e4482 /src/modules | |
parent | cefb88bd393df99b47fddcb079dbe6a30aab3b51 (diff) | |
download | px4-firmware-uavcan_config.tar.gz px4-firmware-uavcan_config.tar.bz2 px4-firmware-uavcan_config.zip |
speed fixuavcan_config
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/uavcan/actuators/esc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/uavcan/actuators/esc.cpp b/src/modules/uavcan/actuators/esc.cpp index 17250f541..ace641511 100644 --- a/src/modules/uavcan/actuators/esc.cpp +++ b/src/modules/uavcan/actuators/esc.cpp @@ -117,7 +117,7 @@ void UavcanEscController::update_outputs(float *outputs, unsigned num_outputs) // policy decision for a specific vehicle // type, as it is not appropriate for all // types of vehicles (eg. fixed wing). - if (scaled <= 0.0F) { + if (scaled < 0.0F) { scaled = 0.0F; } if (scaled > cmd_max) { |