Commit Graph

1790 Commits

Author SHA1 Message Date
Andrew Tridgell 4e346a0cc5 remove some more old cruft 2011-09-19 11:04:02 +10:00
Andrew Tridgell 225e6d760f remove Mavlink_Common.h and used deferred logic for params/waypoints
this moves the mavlink send logic into GCS_Mavlink.pde, and also
ensures we only ever send parameters and waypoints when there is
sufficient space in the serial send buffer
2011-09-19 11:04:02 +10:00
Andrew Tridgell ef6e2c2adf remove some more unused code in the GCS interface 2011-09-19 11:04:02 +10:00
Andrew Tridgell de18df06b5 GCS: make the two GCS links gcs0 and gcs3
the artifical separation between 'gcs' and 'hil' just leads to
confusion. This also simplifies the code a bit more, and saves us a
bit more text
2011-09-19 11:04:02 +10:00
Andrew Tridgell cc4bae4b42 fixed inconsistent linefeeds in ADC code
the linefeeds had bacome inconsistent in this library, making some
editors fail to load the code
2011-09-19 11:04:02 +10:00
Andrew Tridgell 35fcd6dae7 GCS: simplify the API for sending messages
this makes the code clearer, and saves us another 100 bytes of text
2011-09-19 11:04:02 +10:00
Andrew Tridgell 83492f92f2 MAVLink: use enum ap_message and remove unused param argument
saves us another 200 bytes of text
2011-09-19 11:04:02 +10:00
Andrew Tridgell 9fed709be2 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 7d6301976e remove unused MESSAGE_COMMAND_LIST 2011-09-19 11:04:02 +10:00
Andrew Tridgell bc1bfed22d 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 6962cf93b1 removed outdated reference file. 2011-09-18 17:18:35 -07:00
Jason Short 607dce7bb4 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-18 17:13:10 -07:00
Jason Short aeb70eb8e0 added contributor 2011-09-18 17:12:59 -07:00
Jason Short 4425e72034 Added Piezo Support, code from Oliver. 2011-09-18 17:12:28 -07:00
Michael Oborne 83656b9ef2 APM Planner - 1.0.72
fix hud issues
2011-09-19 07:42:22 +08:00
Jason Short 5bf7898438 removed saving - not needed for copters 2011-09-18 16:28:53 -07:00
Jason Short 7e672a602b Jump command was reported to have issues, updated to match APM branch. 2011-09-18 16:27:43 -07:00
Amilcar Lucas e4d0646088 Added comment, spellcheck
This reduces the diff to the APM_Camera branch
2011-09-18 14:57:55 +02:00
Amilcar Lucas 0cb646f18e Ignore generated file 2011-09-18 14:56:50 +02:00
Michael Oborne 03f342ce11 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 d742bf77e3 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 b2d8fc9dc5 fix firmware names - heli update 2.0.42 2011-09-18 17:54:34 +08:00
Michael Oborne a52eff740e Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-18 17:43:13 +08:00
Michael Oborne 28ff901536 firmware build 2011-09-18 17:38:36 +08:00
Andrew Tridgell f74c1f9c7e MAVLink: merged in the stack saving changes from ArduPlane 2011-09-18 11:37:24 +10:00
Andrew Tridgell 46d6974da2 remove unsued MSG_LOCAL_LOCATION
this saves us a bit of code
2011-09-18 11:07:24 +10:00
Andrew Tridgell ee1541cda7 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 e40fe2293b 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 e433f727d8 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 326f913e64 Merge branch 'divider' 2011-09-17 23:56:41 +03:00
Janne M 95dd8cc35b Added voltage divider, input voltage and amps per volt to parameters. 2011-09-17 22:32:19 +03:00
Jason Short da65096ee2 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-17 12:23:22 -07:00
Jason Short e81a666478 Added a GPS watchdog to stop navigating if we loose signal. 2011-09-17 12:23:16 -07:00
Amilcar Lucas dd06263941 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-17 20:25:49 +02:00
Amilcar Lucas c9d9ee0d3b Merge some small misc improvements from APM_Camera branch 2011-09-17 20:25:31 +02:00
Jason Short b10493e205 Reverted to current_loc.alt in MSG_VFR_HUD and MSG_Location 2011-09-17 11:16:13 -07:00
Michael Oborne 9d79e68e88 APM Planner 1.0.70
fix's
2011-09-17 23:49:32 +08:00
Michael Oborne 9a06c9569a Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-09-17 21:23:14 +08:00
Michael Oborne acdd6b8a83 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 6fda1e3f14 ArduCopter - small changes to fix compile errors when optical flow enabled 2011-09-17 22:09:18 +09:00
Andrew Tridgell 3d28ac834b put output of CPUInfo test in git 2011-09-17 15:06:17 +10:00
Andrew Tridgell fc030db54e fixed bit-logic for simple modes 2011-09-17 14:58:02 +10:00
Andrew Tridgell f1974cac21 fixed ArduCopter HIL build 2011-09-17 14:58:02 +10:00
Andrew Tridgell a13c68a404 fixed build of OpticalFlow code 2011-09-17 14:58:02 +10:00
Andrew Tridgell a828d00125 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 465c10a31f 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 1f59890cde 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 1b5c7e8a90 ADC: show timing information in ADC test 2011-09-17 14:58:02 +10:00
Andrew Tridgell 4a7c9c406f show noise levels in ADC test 2011-09-17 14:58:02 +10:00
Andrew Tridgell 2ae78e197e 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