Commit Graph

1557 Commits

Author SHA1 Message Date
Jason Short c143e08d2e Logic fix for RTL option 2011-09-20 10:39:39 -07:00
Jason Short 020062498b Edited CH7 options to include Do Nothing and RTL. 2011-09-20 10:37:50 -07:00
Jason Short b2b28cc90c Converted Millis to Micros
added navigation check to return a failed navigation
2011-09-19 22:24:57 -07:00
Michael Oborne 0b39920871 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 231e7e961c changed PI to float 2011-09-19 14:41:32 -07:00
Jason Short bf94ba551e 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 0807346384 Mission planner: Fixed battery capacity validation 2011-09-19 19:23:05 +03:00
Michael Oborne d6a502c959 small .net 4 fix 2011-09-19 13:19:19 +08:00
Michael Oborne 2b87f83b16 fix firmware names - heli update 2.0.42 2011-09-19 11:04:02 +10:00
Michael Oborne 4c6e626de2 firmware build 2011-09-19 11:04:02 +10:00
Andrew Tridgell e2ed1f1c56 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 4437ff1046 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 6a9a85f184 remove unused climb_rate code 2011-09-19 11:04:02 +10:00
Andrew Tridgell 20bfe6b01d use gcs_send_text_fmt() and cleanup a few old debug lines 2011-09-19 11:04:02 +10:00
Andrew Tridgell 0f09bf6654 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 9351ef17a9 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 55cd7bcf1d added gcs_severity enum
this makes it harder to mixup defines
2011-09-19 11:04:02 +10:00
Andrew Tridgell 66e4ae50bb remove some more old cruft 2011-09-19 11:04:02 +10:00
Andrew Tridgell 73223ee458 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 de12ea429e remove some more unused code in the GCS interface 2011-09-19 11:04:02 +10:00
Andrew Tridgell e61d742345 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 f375258699 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 2ca8e58bc2 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 17ebb311a7 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 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