is there any way to make my virtual drone take off when i key press a key on keyboard ?? can you tell me the code ?? , by the way i use cmake
We have a documentation for writing custom cpp apps. Assuming you already know how to capture keyboard input, you can get help from above link to call takeoff API.