I mapped the output ports to servos in the source code and compiled a new target. I don't think INAV can do this in the CLI. Maybe in the latest version.
@@liamkelly1553 you have to create an INAV development environment: github.com/iNavFlight/inav/blob/master/docs/development/Building%20in%20Linux.md , then find a similar target and edit target.c and target.h; remove the LED port from target.h and create a servo port in target.c like DEF_TIM(TIM5, CH1, PA0, TIM_USE_MC_SERVO | TIM_USE_FW_SERVO, 0, 0), and compile the target. LED port here: A0, timer 5, channel 1 - you can find channel and timer in a Betaflight dump.
I'm not sure 4S is more efficient, but I haven't tested other 1S batteries yet. The Flying Fish is bit heavy to be an efficient rc plane. 500 mAh 1S ≈ 125 mAh 4S
Dexter. 😝
Hey, I am trying to do something similar and wire my servos to LED output. How did you remap the LED pad to servo signal in INAV? Thanks
I mapped the output ports to servos in the source code and compiled a new target. I don't think INAV can do this in the CLI. Maybe in the latest version.
@@catch22mania Yeah it stil doesnt have the ability to remap in the latest version. Is there a tutorial for how you did it?
@@liamkelly1553 you have to create an INAV development environment: github.com/iNavFlight/inav/blob/master/docs/development/Building%20in%20Linux.md , then find a similar target and edit target.c and target.h; remove the LED port from target.h and create a servo port in target.c like DEF_TIM(TIM5, CH1, PA0, TIM_USE_MC_SERVO | TIM_USE_FW_SERVO, 0, 0), and compile the target. LED port here: A0, timer 5, channel 1 - you can find channel and timer in a Betaflight dump.
It doesn't look very efficient.
I'm not sure 4S is more efficient, but I haven't tested other 1S batteries yet. The Flying Fish is bit heavy to be an efficient rc plane. 500 mAh 1S ≈ 125 mAh 4S
Yes, 1s needs a special airplane to be effective@@catch22mania