- Static library generation
- One folder for API, one folder for your code
- Multi-Makefile ( .a Generation and your code compilation with static library linkage )
- Dynamic library generation
- GUI integrated
- Informations reception
- Video signal reception & decoding
- API realised and integrated
- Code cleanup
- Makefile built
Main contains an example code to test API with a very simple shell-like, type a letter and associated action is executed. The first function called in main must be "init_api(int argc, char **argv)" who will check system configuration and arguments and initialize variables. Then, you must call "tread_api(int cmd)" to execute an action. You may specify custom values associated to differents actions who are describes in "keymapping.h"
- Library generation
- GUI integrated
- Informations reception
- Video signal reception & decoding
This project aims to do a simple API for controlling Parrot ARDrone 2.0 in C. For the moment, simples commands are available :
Take on / off
Turn left / right
Go forward / backward
Rotate left / right
Go up / down
Here's key mapping :
Take on / off => 'k'
Turn left / right => 'q' / 'd'
Go forward / backward => 'z' / 's'
Rotate left / right => '4' / '6'
Go up / down => '8' / '5'
make
make clean
EXECUTION
make fclean
- A simple communication between drone and computere is made with UDP socket creation.
- Messages must be sent to the drone ( 192.168.1.1 ) with specific order.
- Parallely, watchdog must be running : When first command is sent, thread start and sends sames messages each 250ms.
- When user want send command ( pressed key ), watchdog must be stopped during sending.
- GUI integrated
- API realization