Hi Prasanna
Thank you for your reply. I tried as you said and it works.
But now even if I do not call the arm function the drone flies when I call the Command.takeoff() function. So what is the use of arm function? Why do I need to call it?
Thank you.