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
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
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
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
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
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
dd4b9275fd
AP_Scheduler: improved the accuracy of the scheduling code
...
prevent accumulated micros() errors in run()
11 years ago
Randy Mackay
1a070e61f0
BattMon: amp-per-volt reduced to 17 (was 18.002)
11 years ago
Andrew Tridgell
eb0176d509
GCS_Console: don't build this example
...
it doesn't build any more
11 years ago
Andrew Tridgell
b3af59cc0c
AP_InertialSensor: don't build L3G4200D example
11 years ago
Andrew Tridgell
fc7f3c8aa6
AP_HAL: fixed example build
11 years ago
Andrew Tridgell
a04c056598
AP_InertialSensor: remove unused get_last_sample_time_micros()
11 years ago
Craig3DRobotics
e5501bf911
AP_BattMonitor: Updated parameter descriptions
11 years ago
Andrew Tridgell
cd65e2109d
AP_BattMonitor: fixed type in docs
11 years ago
Andrew Tridgell
0d682e74c1
HAL_Linux: run threads a bit more slowly
...
this was just wasting cycles
11 years ago
Andrew Tridgell
8f79a03c25
HAL_Linux: use larger UART buffers
...
might as well use the memory
11 years ago
Randy Mackay
13cf7c96cd
GPSGlitch: parameters for accel and always-ok-radius
12 years ago
Andrew Tridgell
5d685385eb
AP_InertialSensor: use gyro sample count on L3G4200D
...
this gives more even timing in ArduCopter
12 years ago
Andrew Tridgell
6444b0bddd
AP_InertialSensor_L3G4200D: a sample is only available if gyro had a sample
12 years ago
Andrew Tridgell
e5e4cdee18
AP_InertialSensor: added wait_for_sample() API call
...
this waits for a new INS sample to arrive, using whatever method is
most efficient on each INS type
12 years ago
Andrew Tridgell
67db1cedaa
HAL_PX4: fixed delay_microseconds() on PX4
...
we could underflow and delay a very long time!
12 years ago
Andrew Tridgell
f59d0099a4
AP_Notify: fixed RGBLED on PX4 with latest PX4Firmware
...
now needs a RGBLED_MODE_ON
12 years ago
Randy Mackay
9aea577eb1
BattMonitor: correct default pins for PX4
12 years ago
Andrew Tridgell
c17a5e5ed1
AP_InertialSensor: added a small delay in accel calibration
...
allows threads to run on Linux
12 years ago
Andrew Tridgell
1ccd6bb7ef
AP_Compass: don't wait more than 1ms for compass sample
...
this prevents 5ms delays in compass accumulate
12 years ago
Andrew Tridgell
28b4ae1c3a
HAL_Linux: improved latency of timed semaphores
12 years ago
Andrew Tridgell
6fa55d101f
AP_Baro: fixed I2C semaphore handling for BMP085 driver
12 years ago
Andrew Tridgell
f286369990
AP_Compass: fixed orientation on Linux
12 years ago
Andrew Tridgell
83c942a512
AP_Compass: prevent NULL deref on enable mag while running
12 years ago
Andrew Tridgell
77e8061170
AP_Common: added product ID for L3G4200D
12 years ago
Andrew Tridgell
a216e1d239
HAL_Linux: don't prevent write while timer is busy
...
the timer can block on I2C writes, which causes the main loop to run
12 years ago
Andrew Tridgell
91511e6503
HAL_Linux: better realtime setup
...
lock all memory and pre-fault the stack in all threads
12 years ago
Andrew Tridgell
2422b94292
DataFlash: prevent valgrind errors from Empty driver
12 years ago
Andrew Tridgell
12af23bb7c
AP_InertialSensor: added L3G4200D example
12 years ago
Andrew Tridgell
1aabd7155e
AP_InertialSensor: added L3G4200D driver
...
this is for a cheap ebay 10DOF sensor
12 years ago
Andrew Tridgell
64c8cb4739
APM_Control: improved auto docs for AP_SteerController
12 years ago
Mike McCauley
84edbb335a
AP_HAL_FLYMAPLE: UARTDriver now uses the new libmaple tx ring buffers
...
This requires the libmaple fork at
https://github.com/mikemccauley/libmaple.git
which includes low level support for buffered usart transmits
12 years ago
Mike McCauley
11317dcec4
AP_HAL_FLYMAPLE: FlymaplePortingNotes.txt improvements to install/build
...
documentation.
12 years ago
Mike McCauley
7f9d4a155f
AP_HAL_FLYMAPLE: UARTDriver begin now honours txS == 0 which means no change
12 years ago