I am building AR drone SDK on ubuntu. Navigation works fine but why can not control with keyboard my drone. for example take-off and landing.
Thanks.
I am building AR drone SDK on ubuntu. Navigation works fine but why can not control with keyboard my drone. for example take-off and landing.
Thanks.
Copyright © 2021 Jogjafile Inc.
Please provide more information of your question, like the code you're trying to use and errors you're getting.
If you're using ROS and ardrone_autonomy to send the take_off or land messages, you can use something like this.
for take_off:
for land:
you can find more information here: http://ardrone-autonomy.readthedocs.io/en/latest/commands.html
to use your keyboard to control your drone, you need a python script to capture the keys and send the appropriate message to your drone, here is the one I use.
us key 1 to take_off and 2 for land
I hope it helps.