Andrew Tridgell
26d5d3c385
fixed HIL build
2011-12-21 23:31:39 +11:00
Andrew Tridgell
29fa78214b
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
e687ce9b3d
mainloop_count should be uint16_t
2011-12-21 23:31:38 +11:00
Andrew Tridgell
89561d49d0
always declare a timer_scheduler
...
we should always run this code
2011-12-21 23:31:38 +11:00
Andrew Tridgell
8780a60234
ADC: update for new ap_proceduce prototype
2011-12-21 23:31:38 +11:00
Andrew Tridgell
e7720254dd
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
f97b405b56
MPU6k: update driver for new ap_proceduce prototype
2011-12-21 23:31:38 +11:00
Andrew Tridgell
79d6c21dde
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
11b8d56434
added comment in polygon code
2011-12-21 23:31:38 +11:00
Andrew Tridgell
bc9e943969
rollover is not a bug
...
subtracting unsigned numbers does the right thing
2011-12-21 23:31:38 +11:00
Andrew Tridgell
97f8d21c1b
added code format markers to AP_InertialSensor library
2011-12-21 23:31:38 +11:00
Andrew Tridgell
59d2d2d783
fixed build of IMU_MPU6000_test
2011-12-21 23:31:38 +11:00
Michael Oborne
2176736e8b
APM Planner 1.1.12
...
touch up geofence.
remove reset tab
2011-12-21 08:22:28 +08:00
Michael Oborne
b4ab14d9dc
fw fix
2011-12-21 07:18:24 +08:00
Michael Oborne
cb61e8ebb4
firmware build
2011-12-21 07:11:31 +08:00
Michael Oborne
927a801ed8
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
f1624621b3
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
40eb749a3e
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-12-19 22:41:50 +08:00
Michael Oborne
1ed7c48de4
APM Planner 1.1.10
...
fix log crash
2011-12-19 22:41:23 +08:00
Randy Mackay
310f072d50
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
e7568db237
fixed comment
2011-12-19 20:52:59 +11:00
Andrew Tridgell
11ff665ca0
CPUInfo: show the speed of 64 bit maths
2011-12-19 18:52:56 +11:00
Andrew Tridgell
4bdc872595
APM: show temperature in airpressure test
...
useful for tracking down baro bugs
2011-12-19 18:52:56 +11:00
Andrew Tridgell
6efa2e53cb
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
106801a59c
config settings for jD motors
2011-12-19 09:29:05 +07:00
Jason Short
b53a6bd4b4
Hexa stability patch bug fix by borna.segulin
2011-12-18 16:38:07 -08:00
Jason Short
239eb53983
change Alpha name
2011-12-18 16:38:07 -08:00
Andrew Tridgell
ab40539a76
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
c14d702912
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
86b86c1bdf
autotest: bit more throttle on takeoff
...
needed for increased rolling friction
2011-12-19 11:25:59 +11:00
Andrew Tridgell
991ce9077c
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
5dd453e535
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
e99db6526f
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
d832d49f27
fw
2011-12-19 07:47:35 +08:00
Andrew Tridgell
345093e982
autotest: make the Rascal a tail dragger again
...
good for testing wheeled takeoff
2011-12-18 18:57:20 +11:00
Andrew Tridgell
42d7bf7fce
autotest: added automated landing test for ArduPlane
2011-12-18 17:31:46 +11:00
Andrew Tridgell
ac5a76715b
autotest: updates ArduPlane parameters
2011-12-18 17:31:45 +11:00
Andrew Tridgell
71c911f65d
Log: fixed logging dependence on compiler arg eval order
2011-12-18 17:31:45 +11:00
Randy Mackay
e070109e21
AP_RangeFinder - change sonar example sketch to use default Sonar PIN for APM2 (A1)
2011-12-18 14:15:50 +09:00
Andrew Tridgell
a3a0e5646f
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
f25ee899f3
APM: run mavlink loop while erasing logs
2011-12-18 10:19:52 +11:00
Andrew Tridgell
ad9c0533d8
ACM: run mavlink loop while erasing logs
2011-12-18 10:19:41 +11:00
Andrew Tridgell
fc20aa9602
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
a48b7a26aa
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
077bfd4f0a
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-12-17 20:43:04 +08:00
Michael Oborne
92886cfa10
make file relax
2011-12-17 20:42:51 +08:00
Michael Oborne
0104d30f53
firmware build
2011-12-17 19:34:36 +08:00
Michael Oborne
c91cc66af5
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
89e0d494d0
fw file again
2011-12-17 17:01:57 +08:00
Michael Oborne
06532b0638
firmware build
2011-12-17 16:57:19 +08:00