sending starting positions to agents (not verified on AERPAW yet)

This commit is contained in:
2026-01-29 16:42:19 -08:00
parent fe106f31cd
commit aed1924297
20 changed files with 1398 additions and 155 deletions

View File

@@ -0,0 +1,25 @@
#ifndef CONTROLLER_IMPL_H
#define CONTROLLER_IMPL_H
#ifdef __cplusplus
extern "C" {
#endif
void initServer();
void acceptClient(int clientId);
void sendMessage(int clientId);
int receiveAck(int clientId);
void closeServer();
// Target location protocol functions
int loadTargets(const char* filename, double* targets, int maxClients);
void sendTarget(int clientId, const double* target);
int receiveTargetAck(int clientId);
int waitForReady(int clientId);
void sendFinished(int clientId);
#ifdef __cplusplus
}
#endif
#endif // CONTROLLER_IMPL_H