mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
shows how many people use gimbal outputs.
regular gimbal rates has been broken since forever, same rate was applied to pitch and roll, instead of separate. thanx nicodh
This commit is contained in:
parent
96dcfe9174
commit
d40e8c0ef4
2 changed files with 3210 additions and 3209 deletions
|
@ -459,7 +459,7 @@ void mixTable(void)
|
|||
servo[1] += (-(int32_t)cfg.servoConf[0].rate) * angle[PITCH] / 50 + (int32_t)cfg.servoConf[1].rate * angle[ROLL] / 50;
|
||||
} else {
|
||||
servo[0] += (int32_t)cfg.servoConf[0].rate * angle[PITCH] / 50;
|
||||
servo[1] += (int32_t)cfg.servoConf[0].rate * angle[ROLL] / 50;
|
||||
servo[1] += (int32_t)cfg.servoConf[1].rate * angle[ROLL] / 50;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue