C API - Example
#include "flcomms.h"
struct STATES {
double posxi, posyi, poszi; /* position */
double phi, theta, psi; /* orientation */
} states;
double pilotin[4];
...
flc_attach(NULL, 0);
FLC_HANDLE states_handle = flc_open(
"STATES", sizeof(struct STATES),
0, FLC_TYPE_DOUBLE|FLC_MODE_READ);
FLC_HANDLE pilotin_handle = flc_open(
"PILOTIN", 4*sizeof(double),
0, FLC_TYPE_DOUBLE|FLC_MODE_WRITE);
...
flc_write(pilotin_handle, pilotin, 4*sizeof(double));
flc_read(states_handle, &states, sizeof(states));