simulator mavlink actuator limits (#15861)

using unified way to decide which output should be scale as rotor
fixed case that actuator that wasn't set (value 0 "PWM") results output of -3
make default actuator mode to set all actuator to range of -1 to +1
cleanups
This commit is contained in:
BazookaJoe1900
2020-11-26 14:42:31 +01:00
committed by GitHub
parent fdb4ede6c2
commit bd09be43c0
2 changed files with 72 additions and 87 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ private:
static void *sending_trampoline(void *);
mavlink_hil_actuator_controls_t actuator_controls_from_outputs();
void actuator_controls_from_outputs(mavlink_hil_actuator_controls_t *msg);
// uORB publisher handlers