First Post: I had been working on a mavproxy module that generates a flight plan automatically and the user just needs to say go after selecting a few parameters. I had a state machine that went through POSHOLD, ARM, AUTO, RC 3 1200 commands
self.master.set_mode(posholdNUM) # all executed in separate state machine operations
self.master.arducopter_arm()
self.master.set_mode(autoNUM)
self.module(‘rc’).cmd_rc([3, 1250])
in order to launch. Since 3.4 this doesn’t work. Always seemed a bit clumsy so I am up for a new way. On the command line we now have the Takeoff command but I haven’t found a good way to execute that command in code in a mavproxy module. Any suggestions?