Andrew Tridgell
f96a48e42b
autotest: support all 11 PWM output channels
...
this will allow for more complex aircraft
2011-12-02 22:45:48 +11:00
Andrew Tridgell
66d65121cc
autotest: switch to big-endian metric packets internally
...
now that all the sim code is internal to the APM git repo, we can
choose saner packet formats
2011-12-02 22:12:58 +11:00
Andrew Tridgell
43e3948816
desktop: show the full path to the desktop executable
2011-12-02 21:46:55 +11:00
Andrew Tridgell
7167fec784
desktop: added SO_REUSEADDR after accept()
2011-12-02 17:37:55 +11:00
Andrew Tridgell
706c6c38fa
desktop: fixed calculation of angular velocities
...
thanks to James Goppert for the frame conversion maths
2011-12-02 17:37:54 +11:00
Andrew Tridgell
bdb1599e96
desktop: improved the accuracy of the sensor emulation
2011-11-28 16:22:33 +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
0720bf7bf1
desktop: build fix for fjall
2011-11-26 18:24:29 +11:00
Andrew Tridgell
f2a0a49d55
desktop: fixed desktop build for strlcat_P() changes
2011-11-26 17:18:09 +11:00
Andrew Tridgell
c9b0b384f7
desktop: added framerate and initial height code
...
this allows the sensors to initialise before the simulator has
connected. The GPS will give a value indicating no GPS lock
2011-11-25 20:00:19 -08:00
Andrew Tridgell
24a7a18481
desktop: fixed swap_float()
...
get indexes right
2011-11-25 20:00:19 -08:00
Andrew Tridgell
62f98b091f
desktop: import updated DataFlash code
...
this fixes a logging bug
2011-11-25 20:00:19 -08:00
Andrew Tridgell
de0c38339d
desktop: fixed ADC value for airspeed
2011-11-25 20:00:19 -08:00
Andrew Tridgell
02f25ac36d
libraries: rename purple to APM2
2011-11-25 20:00:19 -08:00
Andrew Tridgell
de2898e5db
desktop: normalise roll and pitch rates
2011-11-25 20:00:18 -08:00
Andrew Tridgell
91b03a48c1
desktop: added SKETCH as a define
...
useful for automatically handling copter vs plane
2011-11-25 20:00:18 -08: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
e0488e134f
desktop: fixed build with updated dataflash interface
2011-11-25 20:00:17 -08:00
Andrew Tridgell
a9c0cbac77
desktop: make DataFlash for Desktop build replace APM1 build
2011-11-25 20:00:17 -08:00
Andrew Tridgell
73e0ab0c63
desktop: more fixes for DataFlash filesystem changes
2011-11-20 19:06:24 +11:00
Andrew Tridgell
6d048646c3
desktop: added support for new DataFlash functions
2011-11-18 17:50:12 +11: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
9677600433
desktop: don't start alarm till setup() has finished
2011-11-10 21:57:47 +11:00
Andrew Tridgell
9af935f2f2
desktop: don't alarm in CLI
...
loop() is not called in menu system
2011-11-10 00:14:04 +11:00
Andrew Tridgell
0820ff52a8
desktop: exit if loop() doesn't run for 5 seconds
...
this should stop runaway processes
2011-11-09 19:40:34 +11:00
Andrew Tridgell
a0fd4f710f
desktop: force awk on macos
...
this may help on jasons box
2011-11-09 17:21:53 +11:00
Andrew Tridgell
53f62b7484
desktop: exit on EOF from stdin
2011-11-09 17:21:53 +11:00
Andrew Tridgell
db99b664df
desktop: fixed malloc cast
2011-11-09 08:47:49 +11:00
Andrew Tridgell
997091e0d6
desktop: be more careful with signed/unsigned in DataFlash
2011-11-09 08:44:19 +11:00
Andrew Tridgell
c2082fdd7b
desktop: use less stack
...
this avoids a problem on cygwin on windows
2011-11-09 08:09:56 +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
0e447b12a2
dataflash: type fixup for ReadInt()
2011-11-08 17:26:53 +11:00
Andrew Tridgell
294c812b9b
desktop: use the libc printf engine
...
getting ftoa_engine right was too much work
2011-11-08 11:59:30 +11:00
Andrew Tridgell
39ddc42cc7
desktop: fixed ultoa_invert()
...
the string was backwards
2011-11-08 11:13:48 +11:00
Andrew Tridgell
d33b69492b
desktop: improved ftoa_engine.c
...
this still doesn't perfectly match the assembler, but its closer
2011-11-08 11:05:36 +11:00
Andrew Tridgell
c1dad23679
autotest: fill flash with 0xff on erase
2011-11-07 23:42:18 +11:00
Andrew Tridgell
3b48389efe
Desktop: added -w option to wipe eeprom and dataflash
2011-11-07 22:56:13 +11:00
Andrew Tridgell
da800a295f
Desktop: added support for DataFlash in Desktop build
...
this will allow Jason to look at the logs of the quad sim
2011-11-07 22:56:13 +11:00
Andrew Tridgell
580139c6e4
digital.c for CLI
2011-11-07 22:56:13 +11:00
Andrew Tridgell
94f0e8a4a3
Desktop: enable the CLI in desktop build
...
this gives access to the CLI menus. You can start the SIL with the -s
switch to set the slider position to CLI
2011-11-07 22:56:13 +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
Amilcar Lucas
75751900d6
Update the SIL README file
2011-10-31 21:56:25 +01:00
Andrew Tridgell
f8f2f9139d
added desktop header
2011-10-30 17:31:32 +11:00
Andrew Tridgell
de0a7117a8
make desktop serial more responsive
2011-10-30 13:00:54 +11:00
Andrew Tridgell
14cb884938
fixed mavlink10 desktop build
2011-10-24 13:09:19 +11:00
Andrew Tridgell
02725a1160
mavlink: added mavlink10 target for desktop build
2011-10-24 10:20:36 +11:00
Andrew Tridgell
bdfcad234e
RC_Channel_aux is needed for ArduPlane build
2011-10-24 10:20:19 +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
Jason Short
b8e7eac346
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-10-15 13:09:18 -07:00