Randy Mackay
5965914039
ArduCopter: increase firmware version to 2.9-rc3
2013-01-13 20:00:25 +11:00
Andrew Tridgell
b0c710b67f
Copter: move read_AHRS() before run_rate_controllers()
...
this ensures the rate controllers use the latest data
2013-01-13 20:00:14 +11:00
rmackay9
f25f1cb3bf
ArduCopter: changed alt hold to use the sonar if enabled and healthy
2013-01-13 19:56:19 +11:00
Randy Mackay
109b1069d8
AP_InertialNav: added constraint to how large local accelerometer offset corrections can become
2013-01-13 19:55:09 +11:00
rmackay9
21b6c78d12
ArduCopter: added get_throttle_althold_with_slew to allow slower altitude target changes
...
Improved surface tracking by using slewed althold controller
Reduced sonar mode filter to just 3 elements to reduce lag but at the possible consequence of allowing sonar noise to creep through for people with margin sonar set-ups.
2013-01-13 19:51:47 +11:00
Andrew Tridgell
f683cff9e2
DataFlash: speed up SPI transfers in DataFlash_APM1
2013-01-13 19:26:43 +11:00
Pat Hickey
164246c7d8
ArduCopter: better instructons for setup_motors cli test
...
* i just spent hours confused about this
2013-01-13 00:17:17 -08:00
Andrew Tridgell
4e183f4321
autotest: move hash link to new github repo
2013-01-13 19:03:46 +11:00
Andrew Tridgell
72c8a14e76
Copter: fix trad heli log build
2013-01-13 17:57:47 +11:00
Andrew Tridgell
6bd361b9cd
OpticalFlow: make surface_quality uint8_t
2013-01-13 17:53:54 +11:00
Andrew Tridgell
78fd5bb23f
Copter: get rid of remaining Log.pde warnings
2013-01-13 17:53:39 +11:00
Andrew Tridgell
f644a356c9
AP_AHRS: document more rotation combinations
2013-01-13 17:32:48 +11:00
Andrew Tridgell
38062bbb6d
AP_Math: support some more rotation combinations
2013-01-13 17:32:48 +11:00
Andrew Tridgell
28352b3548
Plane: ensure ahrs.init() is called
2013-01-13 17:32:48 +11:00
Andrew Tridgell
36e38eeef7
Copter: ensure ahrs.init() is called
2013-01-13 17:32:48 +11:00
Andrew Tridgell
c88766850a
Rover: ensure ahrs.init() is called
2013-01-13 17:32:48 +11:00
Andrew Tridgell
848fc3e32d
AP_AHRS: added AHRS_ORIENTATION parameter
2013-01-13 17:32:48 +11:00
Andrew Tridgell
d7996acdf7
AP_InertialSensor: added set_board_orientation() method
2013-01-13 17:32:48 +11:00
Andrew Tridgell
60a4447a86
AP_Compass: added set_board_orientation() method
2013-01-13 17:32:48 +11:00
Andrew Tridgell
8015f0f626
DataFlash: update SITL implementaion for new API
2013-01-13 17:31:43 +11:00
Andrew Tridgell
3039c37f95
Copter: use macros from common header
2013-01-13 17:31:42 +11:00
Andrew Tridgell
92c9a4c1ce
Plane: start update logging for new API
2013-01-13 17:31:42 +11:00
Andrew Tridgell
bfaf91affe
Plane: use an enum for flash log message types
2013-01-13 17:31:42 +11:00
Andrew Tridgell
9ef1f8509b
DataFlash: update test code for new macros
2013-01-13 17:31:42 +11:00
Andrew Tridgell
83b074dd87
DataFlash: moved macros into common header
2013-01-13 17:31:42 +11:00
Andrew Tridgell
f3005c4267
DataFlash: use bulk SPI transfer() method
...
this reduces the per-byte overhead of flash logging to about 3.9 usec
2013-01-13 17:31:42 +11:00
Andrew Tridgell
a06202e750
HAL_SMACCM: added bulk SPI transfer() method
2013-01-13 17:31:42 +11:00
Andrew Tridgell
3dc0a990a1
HAL_Empty: added bulk SPI transfer() method
2013-01-13 17:31:42 +11:00
Andrew Tridgell
b5b7fd2f9a
HAL_AVR: added bulk transfer() method
...
this is quite a lot faster than the byte at a time method
2013-01-13 17:31:42 +11:00
Andrew Tridgell
6415f00ce3
AP_HAL: added a bulk transfer() method
...
very useful for dataflash
2013-01-13 17:31:42 +11:00
Pat Hickey
d7eeeab79e
ArduCopter: fix new style Log.pde build for PX4.
...
randy - you should please review these changes to make sure you wanted
to have the int16_t type in all of these structs, or how you want to
convert all these other integer types to int16_t if you do need it that
way.
2013-01-12 13:11:25 -08:00
Andrew Tridgell
86f667f6cc
Plane: added new SERIAL0_BAUD parameter
...
this is useful on PX4
2013-01-13 07:39:40 +11:00
Pat Hickey
af8f576c67
AP_HAL_SMACCM: add LICENSE file
2013-01-12 11:54:19 -08:00
Pat Hickey
3d0a4394b6
DataFlash Empty: conform to blockread/write virtual if
2013-01-12 10:44:05 -08:00
Randy Mackay
87627d883b
ArduCopter: use new logging method for remaining packet types
...
Additional changes include renaming RAW dataflash type to IMU
2013-01-13 00:17:44 +09:00
Randy Mackay
177da0ca74
ArduCopter: fixed minor bug in logging of parameter changes to dataflash
...
It is questionable whether we should even bother writing these to the
dataflash as there is no way to recognise which parameter has been
affectded
2013-01-13 00:15:34 +09:00
Randy Mackay
b4bbae56c6
ArduCopter: reduce redundant event logging
...
We now only write state changes to the dataflash log when they have
changed.
Also replaced <tab> with <space> in AP_State.pde
2013-01-13 00:13:10 +09:00
Andrew Tridgell
af478d52bc
Copter: use the new logging methods for 2 packet types
...
the rest still need to be converted
2013-01-12 18:15:23 +11:00
Andrew Tridgell
7274d847f8
DataFlash: update for new block API
2013-01-12 17:21:21 +11:00
Andrew Tridgell
28a0ba6c4a
DataFlash: added block based dataflash writes
...
these are about 10x faster than the old writes
2013-01-12 17:21:04 +11:00
Andrew Tridgell
252d11ccfa
AP_GPS: initialise _step to zero in all drivers
...
new() does not zero-fill memory
2013-01-12 16:04:23 +11:00
Andrew Tridgell
64734dc51c
AP_Scheduler: show scheduler task slips
...
this is when a task doesn't run at the desired rate
2013-01-12 13:04:52 +11:00
Andrew Tridgell
1cb64dacf9
AP_Scheduler: expose debug variable
2013-01-12 12:06:55 +11:00
Andrew Tridgell
0fe7901422
Copter: only print perf data when SCHED_DEBUG is non-zero
2013-01-12 12:06:40 +11:00
Andrew Tridgell
dcb181d2d8
Copter: use new AP_Scheduler library
2013-01-12 12:02:57 +11:00
Andrew Tridgell
7ddadcf34e
AP_Scheduler: added new scheduler library
...
this will be used for main loop control
2013-01-12 12:02:57 +11:00
Craig Elder
3e5330efc9
Merge pull request #6 from julianoes/ppm_encoder_fixes
...
ArduPPM
Two new defines added:
_THROTTLE_LOW_FAILSAFE_INDICATION: Throttle low indication and thus APM fail-safe triggering when a single channel error is detected.
_THROTTLE_LOW_RECOVERY_POSSIBLE: Throttle low is reset when a disconnected channel comes back and full control regained.
2013-01-11 16:02:25 -08:00
Julian Oes
5f84b5a5dd
ArduPPM: latest changes are now disabled by default, throttle low triggering by single channel errors and also recovering from a throttle low event can be enabled with defines
2013-01-11 15:37:03 -08:00
Julian Oes
ef6268f62a
ArduPPM: changes for throttle low indication and also recovery after a throttle low indication are now set with defines
2013-01-11 15:08:13 -08:00
Julian Oes
70ce94ee88
ArduPPM: added a define for throttle low fail-safe indication
2013-01-11 13:20:50 -08:00