Commit Graph

1805 Commits

Author SHA1 Message Date
Jason Short 59a2d2a256 Converted Millis to Micros
added navigation check to return a failed navigation
2011-09-19 22:24:57 -07:00
Michael Oborne 3c7903bb41 APM Planner 1.0.73
add opengl and gdi+ option to hud.
fix simple mode display
fix throttle hold imax scaling.
fix drawing of bad wps in log playback
2011-09-20 08:04:58 +08:00
Jason Short 13e83aed2f changed PI to float 2011-09-19 14:41:32 -07:00
Jason Short 3b4743ef03 changed PI Library to take Float for DeltaTime
Changed timing to be more accurate in main loop. Still need to switch to micros(). Left that for Tridge. This gets rid of six floating point calcs *250. Nice!
2011-09-19 14:02:42 -07:00
Janne M a502d04e6e Mission planner: Fixed battery capacity validation 2011-09-19 19:23:05 +03:00
Michael Oborne 9e3967d4c4 small .net 4 fix 2011-09-19 13:19:19 +08:00
Michael Oborne 5c83968c7e fix firmware names - heli update 2.0.42 2011-09-19 11:04:02 +10:00
Michael Oborne 3d8451a0d2 firmware build 2011-09-19 11:04:02 +10:00
Andrew Tridgell c5bf8312b8 removed some more unused defines
mavlink is now the only choice for HIL and GCS
2011-09-19 11:04:02 +10:00
Andrew Tridgell 3a81e12866 get rid of the last active uses of the SendDebug macros
please use gcs_send_text*() from now on, to ensure serial queueing
2011-09-19 11:04:02 +10:00
Andrew Tridgell e7bc74a38e remove unused climb_rate code 2011-09-19 11:04:02 +10:00
Andrew Tridgell c2126e127d use gcs_send_text_fmt() and cleanup a few old debug lines 2011-09-19 11:04:02 +10:00
Andrew Tridgell 943c234c62 GCS: added new gcs_send_text_fmt() method
this allows low priorty formatted messages to be sent to the ground
station, without causing a CPU stall on the serial send buffer
2011-09-19 11:04:02 +10:00
Andrew Tridgell f71674ffa4 GCS: don't send low priority messages unless they fit
check the serial transmit buffer, and don't send low priority messages
unless they can go straight out without blocking the CPU
2011-09-19 11:04:02 +10:00
Andrew Tridgell 8f604a1035 added gcs_severity enum
this makes it harder to mixup defines
2011-09-19 11:04:02 +10:00
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