Andrew Tridgell
d6bfceef7c
SITL: added -C option to desktop mode
...
this allows running APM to stdout, which is useful for test sketches
13 years ago
Andrew Tridgell
7167fec784
desktop: added SO_REUSEADDR after accept()
13 years ago
Andrew Tridgell
df957db8d9
desktop: setup TCP sockets as non-blocking
...
the sendto() blocks unexpectedly on MacOS
13 years ago
Andrew Tridgell
ffba37d599
desktop: first version of register level SITL support
...
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
13 years ago
Andrew Tridgell
355519ad1e
desktop: when in the CLI, use blocking writes
...
this prevents us missing information from the logs
13 years ago
Andrew Tridgell
c4bba9c4d8
desktop: another MacOS fix
13 years ago
Andrew Tridgell
5194fe489d
desktop: make desktop build more portable
...
this should help on MacOS
thanks to MikeS for his assistance
13 years ago
Andrew Tridgell
e7671178b3
desktop: fixed TCP buffering issue with HIL
...
the TCP layer was buffering the servo updates, which caused very poor HIL flight
13 years ago
Andrew Tridgell
de0a7117a8
make desktop serial more responsive
13 years ago
Andrew Tridgell
c8847e0d55
desktop: refactor the TCP code
...
this supports all 3 serial ports, plus cleans up the code
14 years ago
Michael Oborne
20ed86da28
fastserial tcp
14 years ago
Andrew Tridgell
5cf3e92a22
desktop: use non-blocking IO
14 years ago
Andrew Tridgell
b8dfdc293b
desktop: flush all serial writes
14 years ago
Andrew Tridgell
7098e8cfa1
first rough build for desktop CPUs
...
this allows ArduPlane to build and startup on 'desktop' systems (eg. a
Linux box). Very rough for now, and only for HIL so far
14 years ago