Commit Graph

1883 Commits

Author SHA1 Message Date
Andrew Tridgell 220b941e31 removed some more dead messages, and convert MSG_* to an enum
this make it safer to add a new message while keeping deferred queue
the right size
2011-09-19 11:04:02 +10:00
Andrew Tridgell 3f37cce6c7 remove unused MESSAGE_COMMAND_LIST 2011-09-19 11:04:02 +10:00
Andrew Tridgell 9baab490f1 HIL: first step in simplifying the HIL/GCS code
this gets rid of the messy #ifdefs around HIL_PORT, and removes
non-MAVLink GCS and HIL support
2011-09-19 11:04:01 +10:00
Jason Short 6dd2cc058a removed outdated reference file. 2011-09-18 17:18:35 -07:00
Jason Short 1ee1b47ec4 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-18 17:13:10 -07:00
Jason Short b9b5c57662 added contributor 2011-09-18 17:12:59 -07:00
Jason Short 73fd0084be Added Piezo Support, code from Oliver. 2011-09-18 17:12:28 -07:00
Michael Oborne 28f86f8987 APM Planner - 1.0.72
fix hud issues
2011-09-19 07:42:22 +08:00
Jason Short ddc5ced162 removed saving - not needed for copters 2011-09-18 16:28:53 -07:00
Jason Short 151cae6074 Jump command was reported to have issues, updated to match APM branch. 2011-09-18 16:27:43 -07:00
Amilcar Lucas 2755748d44 Added comment, spellcheck
This reduces the diff to the APM_Camera branch
2011-09-18 14:57:55 +02:00
Amilcar Lucas 38cdf8b3cf Ignore generated file 2011-09-18 14:56:50 +02:00
Michael Oborne b7c936d819 APM Planner 1.0.71
fix silly updater issue.
for those with problems download OpenTK.GLControl.dll and replace it.
2011-09-18 19:17:41 +08:00
Michael Oborne 8a5108ab96 APM Planner 1.0.71
hud now does opengl and gdi+
add note about modes and ac 2.0.43
2011-09-18 18:07:18 +08:00
Michael Oborne 19667310b6 fix firmware names - heli update 2.0.42 2011-09-18 17:54:34 +08:00
Michael Oborne f7bff57a33 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-18 17:43:13 +08:00
Michael Oborne aa61a88c23 firmware build 2011-09-18 17:38:36 +08:00
Andrew Tridgell dc23ad4275 MAVLink: merged in the stack saving changes from ArduPlane 2011-09-18 11:37:24 +10:00
Andrew Tridgell 87ddd50c2a remove unsued MSG_LOCAL_LOCATION
this saves us a bit of code
2011-09-18 11:07:24 +10:00
Andrew Tridgell 5042ca8e9e rework the MAVLink send code to avoid excessive stack usage
this avoids a varient of the gcc excessive stack usage bug, by
wrapping the send calls in NOINLINE functions. This saves us a lot of
stack space, and strangely enough produces slightly smaller code!
2011-09-18 11:05:21 +10:00
Andrew Tridgell edd7e509d9 MAVLink: enable separate MAVLink helpers
this makes the core MAVLink functions into library calls, instead of
being inlined. The resulting code size doesn't change, but it means we
can safely call MAVLink functions from multiple places without causing
undue code bloat
2011-09-18 11:03:27 +10:00
Andrew Tridgell 3fc0b4c673 script to generate frame sizes from .lst files
this is used by http://apm.tridgell.net
2011-09-18 09:31:50 +10:00
Janne M eb7bd2586c Merge branch 'divider' 2011-09-17 23:56:41 +03:00
Janne M b5cfbd10ae Added voltage divider, input voltage and amps per volt to parameters. 2011-09-17 22:32:19 +03:00
Jason Short 2f961ad315 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-17 12:23:22 -07:00
Jason Short 99065d5035 Added a GPS watchdog to stop navigating if we loose signal. 2011-09-17 12:23:16 -07:00
Amilcar Lucas 1dca64f190 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-17 20:25:49 +02:00
Amilcar Lucas 227ce0a92d Merge some small misc improvements from APM_Camera branch 2011-09-17 20:25:31 +02:00
Jason Short 0b701f7351 Reverted to current_loc.alt in MSG_VFR_HUD and MSG_Location 2011-09-17 11:16:13 -07:00
Michael Oborne 0f7b317a8d APM Planner 1.0.70
fix's
2011-09-17 23:49:32 +08:00
Michael Oborne cae10dc8f6 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-17 21:23:14 +08:00
Michael Oborne 39640e8d94 APM Planner 1.0.69
prep for ac2 2.0.43 - simple mode
modify some scaling in Config
add hud speed warning. add link quality and time to HUD
fix ac2 logs, relative alt.
prep for mavlink 1.0
add time to tlog > plain text conversion
2011-09-17 21:22:07 +08:00
rmackay9 c825e76a88 ArduCopter - small changes to fix compile errors when optical flow enabled 2011-09-17 22:09:18 +09:00
Andrew Tridgell 19781d5e4a put output of CPUInfo test in git 2011-09-17 15:06:17 +10:00
Andrew Tridgell d4a068416f fixed bit-logic for simple modes 2011-09-17 14:58:02 +10:00
Andrew Tridgell 8b90ad84f6 fixed ArduCopter HIL build 2011-09-17 14:58:02 +10:00
Andrew Tridgell 3c69404d5b fixed build of OpticalFlow code 2011-09-17 14:58:02 +10:00
Andrew Tridgell a835912d93 ADC: randomise the sampling rate
this is based on suggestions from Kari and Mike, and should reduce the
aliasing effects we get from the simple averaging
2011-09-17 14:58:02 +10:00
Andrew Tridgell ba6c58a33c build: cope with more depths for libraries
this finds the libraries at more levels up from the current directory
2011-09-17 14:58:02 +10:00
Andrew Tridgell d5b19840f0 Tools: added CPUInfo sketch
this shows the approximate cost of a wide range of common operations,
and the sizes of most data types
2011-09-17 14:58:02 +10:00
Andrew Tridgell 840c256fe3 ADC: show timing information in ADC test 2011-09-17 14:58:02 +10:00
Andrew Tridgell 197b1d140a show noise levels in ADC test 2011-09-17 14:58:02 +10:00
Andrew Tridgell 1d68953416 ADC: the bottom 3 bits of ADC output are always zero
its a 12 bit ADC .... silly of me to think the bottom 3 bits are
valid!
2011-09-17 14:58:02 +10:00
Andrew Tridgell bd30840518 updated ADC test for new API 2011-09-17 14:58:02 +10:00
Andrew Tridgell 9af7021a98 change ADC sample rate to 1kHz
this costs us about 9% of our CPU, but should make aliasing much less
of a problem.
2011-09-17 14:58:02 +10:00
Andrew Tridgell acb4538073 RangeFinder: use new ADC interface
the new interface gives values 8 times as large as previously
2011-09-17 14:58:02 +10:00
Andrew Tridgell 58fa51b680 ArduPilot updates for new DCM code
G_Dt is no longer needed, and scale ADC values by 8 to match old
constants
2011-09-17 14:58:02 +10:00
Andrew Tridgell 0425f4be54 updates for new DCM code
G_Dt is no longer needed by the DCM
2011-09-17 14:58:02 +10:00
Andrew Tridgell 9314dcaa89 DCM: re-work the DCM to use the new IMU/ADC features
this gives us higher resolution DCM calculations, with much more
accurate timing of the update delta time.
2011-09-17 14:58:02 +10:00
Andrew Tridgell 8b3d9400e5 IMU: re-work the IMU library to take advantage of the ADC Ch6() call
This changes the IMU code to read 6 synchronised ADC channels at one
time, giving us matching values, and exposing the exact averaging time
to callers
2011-09-17 14:58:02 +10:00