Commit Graph

3404 Commits

Author SHA1 Message Date
Andrew Tridgell
66029af574 setup the main loop failsafe after RC library is setup 2011-12-23 11:13:01 +11:00
Andrew Tridgell
f7dda9f413 added comment on using GPS ground course 2011-12-23 11:13:01 +11:00
Pat Hickey
343228c8cc Log_simple uses identical implementation of do_erase_logs.
* fix build1280.ArduCopter
2011-12-22 13:31:28 -08:00
Pat Hickey
4a53c4e795 APM_radio_test: build fixes 2011-12-22 13:17:04 -08:00
Michael Oborne
de0c58d084 APM Planner 1.1.13
hazy's capm change - modded
fix wp radius at odd rotations
small geofence map update changes
fix terminal focus
2011-12-22 22:33:05 +08:00
Andrew Tridgell
968ad78df0 APM2: default magnetometer to enabled
all APM2s have a MAG at the moment

thanks to Chris for the suggestion
2011-12-22 17:51:14 +11:00
Andrew Tridgell
ef3c5c071a failsafe: make sure we clear any RC override in manual failsafe 2011-12-22 10:55:43 +11:00
Andrew Tridgell
9892886994 fixed typo in fly_simple() 2011-12-22 10:25:31 +11:00
Hazy
b4bfd6e438 APM Planner
a little bit Chinese translation
temporarily fix CAPM board detection based on locale
2011-12-21 22:26:26 +08:00
Janne Mantyharju
3726691a4e Mission planner: Fixed UDP receive 2011-12-21 15:32:45 +02:00
Andrew Tridgell
c6633d7bc9 fixed HIL build 2011-12-21 23:31:39 +11:00
Andrew Tridgell
ad63c10ab7 APM: added failsafe support
we now pass all channels through at 50Hz if the main loop stops
running, regardless of why. This gives us a reasonable failsafe, as
long as the low level RC library is still working, and interrupts
don't get completely disabled.
2011-12-21 23:31:39 +11:00
Andrew Tridgell
0aab4da1a1 mainloop_count should be uint16_t 2011-12-21 23:31:38 +11:00
Andrew Tridgell
61b2b2e32a always declare a timer_scheduler
we should always run this code
2011-12-21 23:31:38 +11:00
Andrew Tridgell
f587a01165 ADC: update for new ap_proceduce prototype 2011-12-21 23:31:38 +11:00
Andrew Tridgell
5b75458502 AP_Baro: update MS5611 driver for new ap_proceduce prototype
this saves calling millis() quite so often
2011-12-21 23:31:38 +11:00
Andrew Tridgell
cef1c4c558 MPU6k: update driver for new ap_proceduce prototype 2011-12-21 23:31:38 +11:00
Andrew Tridgell
8cc2b7669b PeriodicProcess: added set_failsafe() call
this adds an optional failsafe function that will be called in the
timer loop
2011-12-21 23:31:38 +11:00
Andrew Tridgell
845683a56c added comment in polygon code 2011-12-21 23:31:38 +11:00
Andrew Tridgell
eac625ba8f rollover is not a bug
subtracting unsigned numbers does the right thing
2011-12-21 23:31:38 +11:00
Andrew Tridgell
eec5f000b5 added code format markers to AP_InertialSensor library 2011-12-21 23:31:38 +11:00
Andrew Tridgell
614aeb274c fixed build of IMU_MPU6000_test 2011-12-21 23:31:38 +11:00
Michael Oborne
ace823fccf APM Planner 1.1.12
touch up geofence.
remove reset tab
2011-12-21 08:22:28 +08:00
Michael Oborne
e372dcc7a7 fw fix 2011-12-21 07:18:24 +08:00
Michael Oborne
4d7025f191 firmware build 2011-12-21 07:11:31 +08:00
Michael Oborne
4fd8a4c386 APM Planner 1.1.11
change wait to 75 seconds
fixup geo-fence
add kml to geo ref image
2011-12-20 21:03:29 +08:00
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