Files
robomaster-sdk/include/robomaster.h
T
pgsocks af5a6efdb3 Add function to get module ID from command ID
The module ID is always the same for a given command ID,
so it can be easily mapped with a switch function.
2023-02-21 14:23:58 -06:00

15 lines
253 B
C

#pragma once
// Public stuff
struct Client;
typedef struct Client* Client;
#include "message.h"
#include "chassis.h"
#include "sdk.h"
Client client_new();
void client_connect(Client client);
void poll_message(Client client, union Message* message);