|
|
@ -8,12 +8,6 @@ typedef struct Client* Client;
|
|
|
|
#include "chassis.h"
|
|
|
|
#include "chassis.h"
|
|
|
|
#include "sdk.h"
|
|
|
|
#include "sdk.h"
|
|
|
|
|
|
|
|
|
|
|
|
// SIMPLE
|
|
|
|
|
|
|
|
// Create a client
|
|
|
|
|
|
|
|
// Connect to a drone
|
|
|
|
|
|
|
|
// Send messages
|
|
|
|
|
|
|
|
// Poll for responses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Client client_new();
|
|
|
|
Client client_new();
|
|
|
|
void client_connect(Client client);
|
|
|
|
void client_connect(Client client);
|
|
|
|
void poll_message(Client client, union Message* message);
|
|
|
|
void poll_message(Client client, union Message* message);
|
|
|
|