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
Andrew Tridgell
4dc2f4bd58
HAL_AVR: spi3 at 8mhz for mpu6k and ms5611
2013-10-13 11:03:02 +09:00
John Arne Birkeland
f6038f36bf
HAL_AVR: Improved AVRTimer micros() and millis()
...
- More efficient code by using 16-bit timer
- micros() now has proper 1 us resolution and less overhead
- millis() has less overhead
- removed unneeded/unwanted initializatin of timers in AVRTimer::init()
2013-10-13 11:03:00 +09:00
Andrew Tridgell
5ba34b38c1
HAL_AVR: added specialised transfer functions for MPU6k and APM1 ADC
...
this saves quite a lot of time in interrupts
2013-10-13 11:02:57 +09:00
Andrew Tridgell
64d34dc125
Copter: give UARTA 512 bytes
...
this reduces load by allowing more contiguous writes to the serial
buffers
2013-10-13 11:02:55 +09:00
Andrew Tridgell
d60a68fd9c
AP_Baro: check baro at exactly 100Hz
...
prevent waits for samples
2013-10-13 11:02:53 +09:00
Randy Mackay
499bc52c5b
Perfmon: fixes to work with HAL
2013-10-13 11:02:49 +09:00
Andrew Tridgell
e34cc6dd9a
HAL_PX4: added some UART debugging
...
this may help to track down USB issues
2013-10-13 12:43:25 +11:00
Andrew Tridgell
035ac3800a
Plane: use G_Dt for acro angle integration
...
also cleanup some other uses of performance timing
2013-10-12 13:30:27 +11:00
Andrew Tridgell
05115684c1
Plane: pass FlightStage to TECS
...
this will allow for better throttle and pitch control on landing
2013-10-12 13:14:30 +11:00