iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.17k stars 1.48k forks source link

Servo value settings #9436

Closed kibbycabbit closed 1 year ago

kibbycabbit commented 1 year ago

Based on iNAV 7.0 Oct 31 2023 Build

Servos Outputting MID, MIN, MAX and Rate %, Reverse

Has strange behaviour when setting values where servos may not set position correctly.

For example, VTOL, I spend nearly an hour finding the values for Hee Wing Ranger T-1 VTOL servos for turning motors forward and up. I managed to get it going with the following:

Step to reproduce:

Servo mixer servo 3 100% weight servo 4 -100% weight (notice minus value)

Servo output [ servo # | mid | low | high | rate ] servo 3 1500 2400 2000 100 servo 4 500 1500 1000 100

Expected behaviour

[Left VTOL Servo, Right VTOL Servo) LOW: 1500, 1500 (motors to be 0º angle) MID: 2000, 1000 (motors to be 45º angle) HIGH: 2400, 500 (motors to be 90º angle)

Hardware: SPEEDYBEEF405WING flashed with Oct 31 2023 firmware Wing: Hee Wing Ranger T-1 with VTOL upgrade

Version:

version

INAV/SPEEDYBEEF405WING 7.0.0 Oct 31 2023 / 11:26:39 (fdb61d3a)

GCC-10.3.1 20210824 (release)

Dump: https://pastebin.com/sk5iwiUp

kibbycabbit commented 1 year ago

Update #1: I learn that this may not be the correct way to configure VTOL. I recently learn about mmix/smix with transition ID assigned.

Although this bug report is still viable to report.