I am trying to implement a manual takeoff with olympe sdk
I saw the userTakeOff that allows to arm the drone. However after that I try moveBy or PilotingCmd but nothing works.
Somebody has a solution, please?
At least, is there the possibility to change the altitude of takeoff that is 1meter by default?
Hi @Axelm ,
Thank you for your response.
As it is not possible to change the default altitude of the takeoff, is it possible to takeoff manually?
I have tried with these functions
(after the connexion taht is ok),
The drone arms well with : self.drone(UserTakeOff(state = 1)).wait() arm the drone
but after that the piloting function doesn’t allow me to takeoff manually:
self.drone.piloting_pcmd(int(roll),int(pitch),int(yaw),int(gaz),0.1)
NB : If I takeoff with the function self.drone(TakeOff()).wait() and then use the piloting function, the drone moves and I can change the altitude
any suggestion please to takeoff manually in order to choose the altitude?:
UserTakeOff is used for Hand launch. It is not possible to take off with PCMD commands, and it is not possible to choose the default takeoff altitude. The only way to do this is to send a takeoff command, wait for the takeoff to complete, and then send a moveby command (for exemple) to set the desired altitude.