Commit Graph

9711 Commits

Author SHA1 Message Date
Andrew Tridgell
4239498b62 Plane: moved fast_loop() into main scheduler table 2013-10-15 09:52:23 +11:00
Andrew Tridgell
cb7303780f autotest: tweak plane parameters 2013-10-15 09:51:54 +11:00
Andrew Tridgell
294b669948 Plane: fixed rally altitude to be in meters
this matches the docs
2013-10-14 16:38:40 +11:00
Andrew Tridgell
ede927f68a HAL_SITL: added airspeed noise control 2013-10-14 15:40:45 +11:00
Andrew Tridgell
5adf4e1706 Plane: improve THROTTLE_NUDGE docs 2013-10-14 15:40:26 +11:00
Andrew Tridgell
5e1f5ffb7f Plane: removed some old defines 2013-10-14 14:40:30 +11:00
Mike McCauley
c524a7c717 AP_HAL_FLYMAPLE: remove obsolete debugging code from RCInput 2013-10-14 11:34:47 +10:00
Mike McCauley
6f04e5f2e7 AP_HAL_FLYMAPLE: RCInput now more robust in the face of connect/disconnect of
a PPM-SUM source

Also remove some left over debug code.
2013-10-14 11:34:47 +10:00
Mike McCauley
ce1a8fb831 AP_HAL_FLYMAPLE: Added new example test sketch RCInput.pde 2013-10-14 11:34:47 +10:00
Mike McCauley
3226a81611 AP_HAL_FLYMAPLE: Improvements to RCInput
More reasonable sync pulse times, add input filter to prevent false triggering
2013-10-14 11:34:47 +10:00
Mike McCauley
fe6cacf081 AP_InertialSensor: Minor correction to comments in AP_InertialSensor_Flymaple.cpp 2013-10-14 11:34:47 +10:00
Mike McCauley
0920d9ac49 AP_HAL_FLYMAPLE: UARTDriver Use new libmaple TX buffers.
Caution: requires latest libmaple from
git@github.com:mikemccauley/libmaple.git
2013-10-14 11:34:47 +10:00
Mike McCauley
38512e3756 AP_HAL_FLYMAPLE: I2CDriver improvements to interrupt hygiene 2013-10-14 11:34:47 +10:00
Mike McCauley
8e5a9b06fb AP_HAL_FLYMAPLE: Fix example Scheduler.pde fo recent changes to API 2013-10-14 11:34:47 +10:00
Mike McCauley
bc55a2844c AP_HAL_FLYMAPLE: Fix example Scheduler.pde to compile with recent changes to
scheduler API
2013-10-14 11:34:47 +10:00
Andrew Tridgell
36cc266626 autotest: fixed wait_pitch() 2013-10-14 10:18:40 +11:00
Andrew Tridgell
be253c6cd9 build: fixed build_all.sh 2013-10-14 10:14:13 +11:00
Andrew Tridgell
72b97168c9 AP_RangeFinder: improved SONAR_PIN docs 2013-10-14 10:03:52 +11:00
Andrew Tridgell
7831113f84 AP_InertialSensor: yield the CPU for the right time in wait_for_sample()
this improves timing performance
2013-10-14 08:45:58 +11:00
Andrew Tridgell
d973730b88 HAL_PX4: use hrt timer and semaphores to improve timing
this gives much more accurate microsecond delays, while also ensuring
we yield the CPU when possible
2013-10-14 08:29:30 +11:00
Randy Mackay
aa7a1a5af3 Copter: correct GCS send times task estimates 2013-10-13 20:53:51 +09:00
Randy Mackay
d2bbc06502 Copter: allow throttle deadband to be redefined in APM_Config.h 2013-10-13 20:41:11 +09:00
Andrew Tridgell
8532e2bff8 AP_InertialSensor: fixed timing of PX4 sensor samples 2013-10-13 22:15:50 +11:00
Andrew Tridgell
c4d62f6b92 AP_Scheduler: fixed SCHED_DEBUG docs 2013-10-13 21:41:01 +11:00
Andrew Tridgell
0f4da25e68 AP_Scheduler: make sure we run remaining tasks on overrun
when a task overruns its time, we can still run the rest of the tasks
in the task list
2013-10-13 21:41:01 +11:00
Andrew Tridgell
7f6eecd9d5 Plane: cleanup cruft in Makefile 2013-10-13 21:41:01 +11:00
Randy Mackay
959f59f623 Copter: correct mount tasks scheduler time
Having the estimate too high would mean it would likely never run
2013-10-13 14:13:59 +09:00
Randy Mackay
f344c77cca Copter: AC3.1-rc4 version and release notes 2013-10-13 14:12:18 +09:00
Randy Mackay
bf74a64fec Copter: add GPS glitch to arming checks 2013-10-13 14:04:54 +09:00
Randy Mackay
8de6c34252 Copter: comments update for GPS_HDOP_GOOD parameter 2013-10-13 13:53:26 +09:00
Randy Mackay
32f53624d6 Copter: rename low_battery to failsafe.battery 2013-10-13 13:52:52 +09:00
Randy Mackay
0e740bd4e1 Copter: enable AUTOTUNE for mission planner build 2013-10-13 11:57:50 +09:00
Randy Mackay
6876107a15 Copter: autotune disables rate output from stab controller 2013-10-13 11:56:01 +09:00
Andrew Tridgell
b69f08c03e Copter: reduce timer speed to 500 on APM2
this reduces the cost of timer interrupts
2013-10-13 11:03:41 +09:00
Andrew Tridgell
a5788dde8f HAL_AVR: added Scheduler.set_timer_speed() support 2013-10-13 11:03:37 +09:00
Andrew Tridgell
7ef187fcfd AP_HAL: added optional set_timer_speed() scheduler API
will be used by copter to reduce interrupt load on APM2
2013-10-13 11:03:35 +09:00
Andrew Tridgell
09a1d35e62 Copter: fixed build for no COPTER_LEDS 2013-10-13 11:03:33 +09:00
Andrew Tridgell
a3168bcbaa Plane: fixes for AP_Mount API 2013-10-13 11:03:31 +09:00
Andrew Tridgell
f62c53502d Rover: fixes for AP_Mount API 2013-10-13 11:03:28 +09:00
Andrew Tridgell
d38d9ea88f Copter: changes for AP_Mount API 2013-10-13 11:03:26 +09:00
Andrew Tridgell
4de2a654ab AP_Mount: changed ahrs to be a const reference
saves a bit of code
2013-10-13 11:03:24 +09:00
Randy Mackay
8706810d55 Copter: scheduler times corrections 2013-10-13 11:03:22 +09:00
Randy Mackay
6be6bd5aed Copter: remove unused battery analog sources 2013-10-13 11:03:20 +09:00
Andrew Tridgell
34770fe6bf HAL_AVR: fixed SPI bus speed switching
this fixes a bug in changing the bus speed between devices
2013-10-13 11:03:17 +09:00
Randy Mackay
d2bda8c235 Copter: split up medium loop 2013-10-13 11:03:15 +09:00
Randy Mackay
f2f61af125 HAL_AVR: scheduler interrupt 500hz for APM2 2013-10-13 11:03:13 +09:00
Randy Mackay
e9cefbafd1 Copter: higher priority for throttle loop, lower telemetry 2013-10-13 11:03:10 +09:00
Andrew Tridgell
9833900f91 AP_InertialSensor: run MPU6000 sensor register reads at 8MHz
run other register IO at 500kHz
2013-10-13 11:03:08 +09:00
Andrew Tridgell
04836ea763 HAL_AVR: set initial bus speed on MPU6k to 500kHz, then change to 8MHz
this should allow us to work even with older chips. See the MPU6000
product specification, which says max 20MHz for sensor and interrupt
regs, and max 1MHz for all other regs
2013-10-13 11:03:06 +09:00
Andrew Tridgell
5ccf8409b4 AP_HAL: added an optional spi.set_bus_speed() API
this will be used by MPU6000 on APM2 to change speed after init
2013-10-13 11:03:04 +09:00