Take-off at boot doesn't work


Hi, I am trying to get my drone to take off at boot. I added a take off and land script to the bashrc file, but it did not work as the script finished running before the drone got a chance to Arm.

May I know how can I make the drone take off at boot?

Thank you.


Do you want the drone to take off at the ‘Boot up of your device’ ?
Would you please explain the situation to me or the problem you are trying to solve?

Adding the commands to bashrc is definitely not a correct solution. But I would like to know more about your use-case to suggest a better alternative.

How did you come to this conclusion? Do you have any logs/screenshots to share it here?