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
Andrew Tridgell
55ba536331
HAL_SITL: fixed a warning
2013-10-12 13:13:00 +11:00
Andrew Tridgell
84336bc74e
AP_TECS: added initial flight_stage handling
2013-10-12 13:12:43 +11:00
Andrew Tridgell
2b80df6319
AP_SpdHgtControl: added FightStage parameter to update_pitch_throttle()
...
will be used for special landing handling
2013-10-12 13:12:16 +11:00
Craig3DRobotics
6ffd84b0bd
Iris: Set FS_BATT_VOLTAGE
2013-10-11 16:13:12 -07:00
Craig3DRobotics
473689d945
Iris: Update flight modes
2013-10-11 15:28:53 -07:00
Andrew Tridgell
5acc372f40
Rover: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
2013-10-11 21:42:13 +11:00
Andrew Tridgell
3b9566bc09
Copter: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
2013-10-11 21:40:57 +11:00
Andrew Tridgell
0ec322ee47
Plane: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
2013-10-11 21:37:27 +11:00
Andrew Tridgell
0f0b040891
AP_Camera: added set_trigger_distance() call
2013-10-11 21:37:27 +11:00
Andrew Tridgell
1c7a44a595
GCS_MAVLink: regenerate mavlink headers
2013-10-11 21:37:27 +11:00
Andrew Tridgell
8198bfe756
MAVLink: added MAV_CMD_DO_SET_CAM_TRIGG_DIST
2013-10-11 21:36:50 +11:00
Andrew Tridgell
6a93e0cae4
Rover: remove some unused functions
2013-10-11 21:36:50 +11:00
Andrew Tridgell
72505cf4e5
Plane: release 2.75beta3
2013-10-11 16:29:08 +11:00
Andrew Tridgell
63bee0b2d8
HAL_PX4: disable checks for in_timerprocess
...
these are not valid in this form for the way the timer thread works on
PX4.
2013-10-11 16:06:35 +11:00
Andrew Tridgell
25d3e5b7e9
AP_GPS: changed fake GPS fix to have a latitude/longitude
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-10-11 16:06:35 +11:00
Andrew Tridgell
dcb01d193d
autotest: fixed ACRO attitude locking in plane
2013-10-10 17:35:17 +11:00