Commit Graph

14 Commits

Author SHA1 Message Date
Andrew Tridgell d6bfceef7c SITL: added -C option to desktop mode
this allows running APM to stdout, which is useful for test sketches
2012-02-25 11:37:20 +11:00
Andrew Tridgell 7167fec784 desktop: added SO_REUSEADDR after accept() 2011-12-02 17:37:55 +11:00
Andrew Tridgell df957db8d9 desktop: setup TCP sockets as non-blocking
the sendto() blocks unexpectedly on MacOS
2011-11-28 13:53:57 +11:00
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
2011-11-25 20:00:18 -08:00
Andrew Tridgell 355519ad1e desktop: when in the CLI, use blocking writes
this prevents us missing information from the logs
2011-11-11 09:53:46 +11:00
Andrew Tridgell c4bba9c4d8 desktop: another MacOS fix 2011-11-08 18:07:19 +11:00
Andrew Tridgell 5194fe489d desktop: make desktop build more portable
this should help on MacOS

thanks to MikeS for his assistance
2011-11-08 17:26:53 +11:00
Andrew Tridgell e7671178b3 desktop: fixed TCP buffering issue with HIL
the TCP layer was buffering the servo updates, which caused very poor HIL flight
2011-11-02 09:38:44 +11:00
Andrew Tridgell de0a7117a8 make desktop serial more responsive 2011-10-30 13:00:54 +11:00
Andrew Tridgell c8847e0d55 desktop: refactor the TCP code
this supports all 3 serial ports, plus cleans up the code
2011-10-17 19:32:48 +11:00
Michael Oborne 20ed86da28 fastserial tcp 2011-10-13 07:25:30 +08:00
Andrew Tridgell 5cf3e92a22 desktop: use non-blocking IO 2011-10-09 22:16:13 +11:00
Andrew Tridgell b8dfdc293b desktop: flush all serial writes 2011-10-09 22:16:13 +11:00
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
2011-10-09 22:16:13 +11:00