--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I’m not sure droneapi and MAVProxy is really the right solution for what Zhen is looking for.
It sounds like he wants to be able to trigger this from a ch7/ch8 switch. It’s possible to do that with mavproxy by monitoring the rc outputs from the main fligh controller but it’s pretty clunky.
I think instead a new ch7/ch8 option would need to be added to switches.pde and defines.h. and then the take-off command in GCS_MAVLink.pde would need to be modified to accept the take-off command in other flight modes (i.e. AltHold). Then modify the AltHold controller to always provide a climb to the z-axis position controller somehow until the target reaches the desired altitude. Alternatively a new take-off flight mode could be created.
By the way, I’m not too hopeful this feature would be added to master. It seems that if you’re taking off in AltHold mode, the pilot would already have his/her fingers on the sticks. It’s not immediately obvious why moving a switch to make it climb to a predetermined altitude is better/easier than just raising the stick until it reaches the right altitude. The pilot still needs to control the roll and pitch as it climbs so why not do the throttle too?
-Randy
--
--