Commit Graph

2728 Commits

Author SHA1 Message Date
Pat Hickey 74530de4bb ArduCopter Logging: DISABLED means DISABLED again; CONFIG_LOGGING added
CONFIG_LOGGING selects LOGGING_SIMPLE and LOGGING_VERBOSE. Verbose
logging is the default, implemented in Log.pde. Simple logging is
optional, but the default for the 1280 build, implemented in
Log_simple.pde
2011-12-19 21:04:51 -08:00
Michael Oborne 8bf6afe3d4 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-12-19 22:41:50 +08:00
Michael Oborne 8e48fc3210 APM Planner 1.1.10
fix log crash
2011-12-19 22:41:23 +08:00
Randy Mackay 73ff5138c6 Arducopter - added "//#define APM2_BETA_HARDWARE" to AP_Config.h for developer's who received early version of the board with the old barometer 2011-12-19 22:57:00 +09:00
Andrew Tridgell b52cd45670 fixed comment 2011-12-19 20:52:59 +11:00
Andrew Tridgell 2aa1210093 CPUInfo: show the speed of 64 bit maths 2011-12-19 18:52:56 +11:00
Andrew Tridgell 73146bae5d APM: show temperature in airpressure test
useful for tracking down baro bugs
2011-12-19 18:52:56 +11:00
Andrew Tridgell 7c9c26e2b7 AP_Math: re-work polygon algorithm for perfect precision
using sign checking and 64 bit integer math only when needed results
in an algorithm that is just as fast as the floating point version,
but has perfect results for any representable lat/lng
2011-12-19 18:52:56 +11:00
Jani Hirvinen 9d7eb9cd1a config settings for jD motors 2011-12-19 09:29:05 +07:00
Jason Short a98a0b636a Hexa stability patch bug fix by borna.segulin 2011-12-18 16:38:07 -08:00
Jason Short 2f5da31a05 change Alpha name 2011-12-18 16:38:07 -08:00
Andrew Tridgell 183773438b autotest: increare tail wheel friction
this keeps the plane moving in a straight line a bit more
2011-12-19 11:36:21 +11:00
Andrew Tridgell 98406e842b geofence: send fence status messages on fence events
this ensures the fence status goes out as soon as possible, which
means the messages arrive in a sane order on the GCS
2011-12-19 11:25:59 +11:00
Andrew Tridgell 271dc32dd7 autotest: bit more throttle on takeoff
needed for increased rolling friction
2011-12-19 11:25:59 +11:00
Andrew Tridgell 159920f47c autotest: add a DO_CHANGE_SPEED to arduplane test
this slows down the Rascal for landing
2011-12-19 11:25:59 +11:00
Andrew Tridgell 96add2d9b8 autotest: improved the Rascal ground reactions
this gets the friction and bounciness of the undercarriage much closer
to a real model
2011-12-19 11:25:59 +11:00
Andrew Tridgell 226470c614 APM: added RST_SWITCH_CH parameter
This is useful for switching back to the mode indicated by the control
switch after a failsafe or fence breach. I was just changing modes
each time, but it is far more elegant to have a spring loaded switch
for "I am ready to take control again", rather than continually
changing modes.
2011-12-19 11:25:59 +11:00
Michael Oborne 28d3582139 fw 2011-12-19 07:47:35 +08:00
Andrew Tridgell 63e77806cf autotest: make the Rascal a tail dragger again
good for testing wheeled takeoff
2011-12-18 18:57:20 +11:00
Andrew Tridgell 938bd8b58d autotest: added automated landing test for ArduPlane 2011-12-18 17:31:46 +11:00
Andrew Tridgell cbe1c583b3 autotest: updates ArduPlane parameters 2011-12-18 17:31:45 +11:00
Andrew Tridgell 54b8aab0ac Log: fixed logging dependence on compiler arg eval order 2011-12-18 17:31:45 +11:00
Randy Mackay a51e868766 AP_RangeFinder - change sonar example sketch to use default Sonar PIN for APM2 (A1) 2011-12-18 14:15:50 +09:00
Andrew Tridgell 7442ba31d8 polygon: improve the speed and precision of the polygon algorithm
now takes 156 usec per test, with a 11 point boundary
2011-12-18 12:59:50 +11:00
Andrew Tridgell 8a7d064842 APM: run mavlink loop while erasing logs 2011-12-18 10:19:52 +11:00
Andrew Tridgell 1807585b98 ACM: run mavlink loop while erasing logs 2011-12-18 10:19:41 +11:00
Andrew Tridgell ce035fc324 geofence: enable return to old control mode via FENCE_CHANNEL
if you disable fencing with the fence channel switch while still in
GUIDED mode to the return point, then reset the control mode back to
the transmitter control mode
2011-12-18 10:00:44 +11:00
Michael Oborne 04150823e2 APM Planner 1.1.9
mavlink update
firmware wait increased. for dataflash clearing
geofence now working
2011-12-18 06:50:40 +08:00
Michael Oborne f243944e01 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-12-17 20:43:04 +08:00
Michael Oborne 3848f2094e make file relax 2011-12-17 20:42:51 +08:00
Michael Oborne 6ea4923a08 firmware build 2011-12-17 19:34:36 +08:00
Michael Oborne e704ab28ee apm planner 1.1.8
fix large firmware issue
change apm2 detect
add tot = time over target
modify firmware screen
override jsbsim ports.
remove crossthread calls
2011-12-17 17:22:40 +08:00
Michael Oborne 3af7c5dbe9 fw file again 2011-12-17 17:01:57 +08:00
Michael Oborne 7f78e821f5 firmware build 2011-12-17 16:57:19 +08:00
Michael Oborne fd35ba5976 add relax 2011-12-17 16:53:14 +08:00
Michael Oborne 5505064812 fix firmware typo 2011-12-17 16:01:58 +08:00
Michael Oborne 06e781dc3c fix firmware no 2011-12-17 15:00:11 +08:00
Michael Oborne 03ea0e27f5 firmware build 2011-12-17 14:16:36 +08:00
Jason Short 35f0d31b9d Sync logging 2011-12-16 22:02:41 -08:00
Jason Short ed818e4ccf Cleanup
removed Iterm experiment - no noticeable effect in actual flight
2011-12-16 20:47:23 -08:00
Andrew Tridgell 0c8c707980 AP_Baro: fixed temperature on MS5611
this caused a 2x scaling of altitude
2011-12-17 14:58:58 +11:00
Michael Oborne 5e0ab4c28b cleanup firmware dir 2011-12-17 06:22:29 +08:00
Andrew Tridgell 3654c714e9 Revert "ADC: only read channels that are actually being used"
This reverts commit 95e6bb26f4772ca8c7faa62215de6f078d3df3c7.

ADC will be disabled on APM2
2011-12-17 07:29:09 +11:00
Andrew Tridgell c18ad75504 Revert "ADC: added an enable_channel() API"
This reverts commit dafeac01d8f14162600cf821404ba4072dcae14d.

ADC will be disabled on APM2
2011-12-17 07:29:09 +11:00
Andrew Tridgell f6a7ad9fa6 Revert "ADC: fixed HIL build"
This reverts commit 86c1a6a5fdd929516cf0f64f4d610cfcd4b4f774.

ADC will now be disabled on APM2
2011-12-17 07:29:09 +11:00
Andrew Tridgell 5d2301ef47 fixed airspeed sensor for ArduPlane on APM2
we were trying to use a non-existant ADC chip!
2011-12-17 07:29:09 +11:00
Andrew Tridgell 7c939e83e0 AnalogSource: return a float from read() method
this gives the full resolution when using the ADC backend. It also
adds scaling for the Arduino backend
2011-12-17 07:29:09 +11:00
Andrew Tridgell 4bbd5392ef removed AperiodicProcess code
this code was never being used, and was more complex than it was
worth.
2011-12-17 07:29:09 +11:00
Andrew Tridgell ed17f64459 geofence: added FENCE_TRIGGERED_PIN
this allows for a digital pin to be set high when the geofence
triggers. This pin can be connected to an external failsafe device
2011-12-17 07:29:08 +11:00
Michael Oborne eed0eea13b apm 1280 disables 2011-12-16 22:26:39 +08:00