Randy Mackay
0e740bd4e1
Copter: enable AUTOTUNE for mission planner build
11 years ago
Randy Mackay
6876107a15
Copter: autotune disables rate output from stab controller
11 years ago
Andrew Tridgell
b69f08c03e
Copter: reduce timer speed to 500 on APM2
...
this reduces the cost of timer interrupts
11 years ago
Andrew Tridgell
a5788dde8f
HAL_AVR: added Scheduler.set_timer_speed() support
11 years ago
Andrew Tridgell
7ef187fcfd
AP_HAL: added optional set_timer_speed() scheduler API
...
will be used by copter to reduce interrupt load on APM2
11 years ago
Andrew Tridgell
09a1d35e62
Copter: fixed build for no COPTER_LEDS
11 years ago
Andrew Tridgell
a3168bcbaa
Plane: fixes for AP_Mount API
11 years ago
Andrew Tridgell
f62c53502d
Rover: fixes for AP_Mount API
11 years ago
Andrew Tridgell
d38d9ea88f
Copter: changes for AP_Mount API
11 years ago
Andrew Tridgell
4de2a654ab
AP_Mount: changed ahrs to be a const reference
...
saves a bit of code
11 years ago
Randy Mackay
8706810d55
Copter: scheduler times corrections
11 years ago
Randy Mackay
6be6bd5aed
Copter: remove unused battery analog sources
11 years ago
Andrew Tridgell
34770fe6bf
HAL_AVR: fixed SPI bus speed switching
...
this fixes a bug in changing the bus speed between devices
11 years ago
Randy Mackay
d2bda8c235
Copter: split up medium loop
11 years ago
Randy Mackay
f2f61af125
HAL_AVR: scheduler interrupt 500hz for APM2
11 years ago
Randy Mackay
e9cefbafd1
Copter: higher priority for throttle loop, lower telemetry
11 years ago
Andrew Tridgell
9833900f91
AP_InertialSensor: run MPU6000 sensor register reads at 8MHz
...
run other register IO at 500kHz
11 years ago
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
11 years ago
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
11 years ago
Andrew Tridgell
4dc2f4bd58
HAL_AVR: spi3 at 8mhz for mpu6k and ms5611
11 years ago
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()
11 years ago
Andrew Tridgell
5ba34b38c1
HAL_AVR: added specialised transfer functions for MPU6k and APM1 ADC
...
this saves quite a lot of time in interrupts
11 years ago
Andrew Tridgell
64d34dc125
Copter: give UARTA 512 bytes
...
this reduces load by allowing more contiguous writes to the serial
buffers
11 years ago
Andrew Tridgell
d60a68fd9c
AP_Baro: check baro at exactly 100Hz
...
prevent waits for samples
11 years ago
Randy Mackay
499bc52c5b
Perfmon: fixes to work with HAL
11 years ago
Andrew Tridgell
e34cc6dd9a
HAL_PX4: added some UART debugging
...
this may help to track down USB issues
11 years ago
Andrew Tridgell
035ac3800a
Plane: use G_Dt for acro angle integration
...
also cleanup some other uses of performance timing
11 years ago
Andrew Tridgell
05115684c1
Plane: pass FlightStage to TECS
...
this will allow for better throttle and pitch control on landing
11 years ago
Andrew Tridgell
55ba536331
HAL_SITL: fixed a warning
11 years ago
Andrew Tridgell
84336bc74e
AP_TECS: added initial flight_stage handling
11 years ago
Andrew Tridgell
2b80df6319
AP_SpdHgtControl: added FightStage parameter to update_pitch_throttle()
...
will be used for special landing handling
11 years ago
Craig3DRobotics
6ffd84b0bd
Iris: Set FS_BATT_VOLTAGE
11 years ago
Craig3DRobotics
473689d945
Iris: Update flight modes
11 years ago
Andrew Tridgell
5acc372f40
Rover: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 years ago
Andrew Tridgell
3b9566bc09
Copter: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 years ago
Andrew Tridgell
0ec322ee47
Plane: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 years ago
Andrew Tridgell
0f0b040891
AP_Camera: added set_trigger_distance() call
11 years ago
Andrew Tridgell
1c7a44a595
GCS_MAVLink: regenerate mavlink headers
11 years ago
Andrew Tridgell
8198bfe756
MAVLink: added MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 years ago
Andrew Tridgell
6a93e0cae4
Rover: remove some unused functions
11 years ago
Andrew Tridgell
72505cf4e5
Plane: release 2.75beta3
11 years ago
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.
11 years ago
Andrew Tridgell
25d3e5b7e9
AP_GPS: changed fake GPS fix to have a latitude/longitude
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Andrew Tridgell
dcb01d193d
autotest: fixed ACRO attitude locking in plane
11 years ago
Andrew Tridgell
2a4e11a572
Rover: prepare for 2.43 release
11 years ago
Andrew Tridgell
ae1fd4baa4
HAL_AVR: reduce the latency of semaphore waits
...
this reduces the average cost of waiting for the MPU6000 semaphore
from the main loop
11 years ago
Andrew Tridgell
cfa1b5353f
AP_Scheduler: show slips only for SCHED_DEBUG>1
...
this allows us to see PERF reports in copter without console writes
slowing things down
11 years ago
Andrew Tridgell
cdf813697a
autotest: speed up build_all_px4.sh
...
only build archives once
11 years ago
Andrew Tridgell
dd4b9275fd
AP_Scheduler: improved the accuracy of the scheduling code
...
prevent accumulated micros() errors in run()
11 years ago
Randy Mackay
dd53677a3c
Iris: enable Altitude fence by default
11 years ago