I need to change flight modes based on some channels pwm. Something like when ch12 is above 1700 change flight mode to loiter.
I need to do this to have a transmitter behave like the joystick buttons do on MP. Basicly when i momentarily toggle pwm of a certain channel above some value than a mode is set and it doesn’t go back to previous mode once the channel is brought back to low and i think mode sticks to what is set regardless of channel if it is set by mavlink (like a GCS would do).
Being a neophyte programmer …
I think I can use this to get the equivalent of an AND in mission planner for modes?
Just get the pwm of the 2 channels I want to use and use some IFs to set the mode based on their settings! It would be great to use my DJI remote w/mission planner and get 6 modes.
I need to start learning scripting