mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
2bed1dcfd5
this adds register level emulation of the ADS7844 and the RC input/output hardware on the APM1, allowing for SITL testing without enabling HIL in the code
11 lines
273 B
C
11 lines
273 B
C
|
|
#define ft2m(x) ((x) * 0.3048)
|
|
#define kt2mps(x) ((x) * 0.514444444)
|
|
#define sqr(x) ((x)*(x))
|
|
|
|
double swap_double(double d);
|
|
void swap_doubles(double *d, unsigned count);
|
|
float swap_float(float f);
|
|
void swap_floats(float *f, unsigned count);
|
|
void set_nonblocking(int fd);
|