Hi, Everyone. I am looking for a skilled expert to modify the auto mode of Ardupilot. The goal of this modification is to be able to adjust the altitude via the RC transmitter according to my personalized preferences. -detail I need to modify the Arducopter firmware and provide the option to assign an RC channel (channel 7) to provide a PWM signal via the RC controller and control the altitude of the drone in auto mode. It should be done in steps, so when I push and raise the PWM, the drone goes up 50cm, and when I press the button down and lower the PWM, the drone goes down 50cm. After building the firmware, I need to test and see how much PWM is needed. The firmware I am modifying is the latest version of Cube Orange Plus, 4.5.7. I have attached it. Main requirements:
Modify the auto mode of Ardupilot to be able to adjust the altitude via RC.
No need for modifying AP code, use 4.6 and the new position_offset from a script that add/remove Z axis offset based on the PWM volume. Just a dozen lines of code in LUA.
Thanks for you reply.
But please check this options.
“No I don’t want to use throttle stick so to change altitude. I need a separate channel.
A wheel button I use. You have yo assign as you said before a channel (lets say channel 7) and this channel to change altitude. Not by rasing throttle.”
You explained that. Again, it’s a simple script, but I need to understand this “wheel button.” What is its output? Is it like a 3 position switch?
Its a wheel button (like gimbal button) that can change the pwm of a channel and them goes back to nautral. It can have 1500 as Nautral and when u turn it oneway to goes 2000 and to other way 1000 and goes back to nautral.