Jason Short
988d0c98fc
ACM : Alt hold adjustment - made angle boost work during alt hold changes.
...
increased length of delay when reverting to automatic hold to deal with latency of baro sensor
2012-08-18 09:30:46 -07:00
Jason Short
77f47a45d0
ACM : Nav rate limit lowered to prevent bad oscillations due to GPS latency.
2012-08-18 09:04:22 -07:00
Jason Short
522fa58ea5
ACM : temp fix for throttle output limit
...
I had a bad crash when I lost authority. The logs showed the throttle pegged at 1000 which killed my control. We went round and round on this and somehow settled on no limit. That wasn't a good idea. This should really be hard coded into the Motors Library, but for now I'm just sticking it here.
2012-08-18 09:04:22 -07:00
Jason Short
bc631b656e
ACM: Added a more sane limit to Angle boost
2012-08-18 09:04:21 -07:00
rmackay9
64cfaf74b7
ArduCopter: renamed "_new_alt" parameter to just "new_alt" in force_new_altitude and set_new_altitude functions
2012-08-18 21:46:48 +09:00
rmackay9
5b6f7f0012
ArduCopter: modified altitude hold so that 1 second slow down period is executed after pilot moves throttle back into deadzone
2012-08-18 21:45:49 +09:00
rmackay9
9b3ced93ee
AP_Compass: fix for mismatching set_initial_location parameters (forgot to change long to int32_t in .cpp file)
2012-08-18 20:41:38 +09:00
rmackay9
11e946eb54
ArduCopter, ArduPilot: revert mavlink delay callback to be "unsigned long"
2012-08-18 20:34:41 +09:00
rmackay9
c10d01f24b
AP_GPS: revert delay callback to be "unsigned long"
2012-08-18 20:33:45 +09:00
rmackay9
2b24e422de
DataFlash: revert delay callbacks to use "unsigned long"
2012-08-18 20:28:31 +09:00
rmackay9
20cb2e56a0
DataFlash: change "unsigned long" to "uint32_t" in callback functions
2012-08-18 19:22:14 +09:00
rmackay9
2e4e8bbf1a
ArduCopter: changed "unsigned long" to "uint32_t"
2012-08-18 19:05:55 +09:00
rmackay9
99859ae42f
ArduCopter: added cast to (int) in printf statments.
...
Also modified dump_log function's last_log_num to be int16_t to match return type from DataFlash's find_last_log method.
2012-08-18 18:58:15 +09:00
rmackay9
360c1198a6
ArduPlane: more "int" to "int16_t" and added cast to (int) in printf statements.
...
Also modified dump_log function's last_log_num to be int16_t which matches return type from DataFlash's find_last_log method.
2012-08-18 18:55:14 +09:00
rmackay9
94552b57a7
DataFlash: replaced "int" with "int16_t"
2012-08-18 18:31:20 +09:00
rmackay9
6d489947cf
ArduPlane: replaced many "int" with "int16_t", "long" with "int32_t"
2012-08-18 18:26:13 +09:00
rmackay9
976679208c
AP_Common: change a few more "int" to "int16_t"
2012-08-18 18:05:18 +09:00
rmackay9
71f12fbc9b
AP_Compass: replace "long" with "int32_t"
2012-08-18 16:58:16 +09:00
rmackay9
8a29f47ce0
AP_GPS: replaced "int" with "int16_t" and "long" with "int32_t"
2012-08-18 16:35:38 +09:00
rmackay9
7a6732fb4b
ArduCopter: removed unused icount variable from commands_logic.pde to reduce compiler warnings.
2012-08-18 16:04:23 +09:00
rmackay9
87d5b5944d
ArduCopter: commented out get_acro_yaw2 function to reduce compiler warnings
2012-08-18 16:03:49 +09:00
rmackay9
8a6085a3ba
ArduCopter: removed unused maggy variable from test.pde to reduce compiler warnings.
2012-08-18 16:03:26 +09:00
Andrew Tridgell
00f0092ae4
SITL: updated ArduPlane autotest parms
...
a bit more xtrack and fixed steering parameter names
2012-08-18 16:34:02 +10:00
Andrew Tridgell
c9ba693e1f
AP_Baro: the HIL baro needs to inherit calibrate() from the parent class
...
this was what caused the renorm errors
2012-08-18 16:32:23 +10:00
rmackay9
07c7c3945d
ArduCopter: fixed small bug re arming_counter for TOY mode
2012-08-18 13:21:41 +09:00
rmackay9
9773c8ce93
ArduPlane: commented out two unused variables to remove compiler warning
2012-08-18 13:20:34 +09:00
Andrew Tridgell
14cdbd36cb
AHRS: check for bad values in the error before they can affect DCM
...
this should fix the DCM renorm errors in autotest, probably caused by
bad climb rates
2012-08-18 13:54:11 +10:00
Andrew Tridgell
81cd4b6c13
Filter: ensure the derivative filter never returns an invalid number
2012-08-18 13:54:11 +10:00
rmackay9
2e77691ca1
AP_Limits: change order of initialisation of class variables to remove compiler warnings.
2012-08-18 12:51:32 +09:00
rmackay9
92688a793a
ArduCopter: fixed compiler warning related to shadowing of control_roll and control_pitch in get_of_roll and get_of_pitch.
2012-08-18 11:48:12 +09:00
rmackay9
8c636ca263
ArduCopter: fix compiler error related to printing boarding type in dataflash logs.
2012-08-18 11:47:10 +09:00
Michael Oborne
b2b73cc6cb
AC fix some Parameter units
2012-08-18 08:30:16 +08:00
Michael Oborne
bcceedffab
Fix Airspeed use use
2012-08-18 08:30:15 +08:00
Jason Short
1b7e27658b
ACM : removed old note
2012-08-17 17:03:40 -07:00
Jason Short
0ac1373591
ACM Logging - added APM version #, stab_I term logging
2012-08-17 17:03:40 -07:00
Pat Hickey
5b03dca71a
better commit message for uncrustify
2012-08-17 11:36:07 -07:00
Pat Hickey
ae6e6a6b51
fixes to preprocessor retab settings
2012-08-17 11:36:07 -07:00
Pat Hickey
5fcd35fd66
real reformat.sh
2012-08-17 11:36:07 -07:00
Pat Hickey
52a1739e7c
add reformatting config files and shell script
2012-08-17 11:36:07 -07:00
Andrew Tridgell
d9cc967508
AHRS: force an extra read of the compass on startup
...
the first read from the compass can be bad. This ensures we have a
good value when getting the initial AHRS yaw.
Thanks to Randy and Jason for the bug report!
2012-08-17 17:57:39 +10:00
Andrew Tridgell
0868bb76e5
APM: fixed SITL build
2012-08-17 16:28:45 +10:00
Andrew Tridgell
e171720608
DataFlash: fixed SITL build
2012-08-17 16:27:19 +10:00
Andrew Tridgell
5e690d5680
APM: added parameter FBWB_ELEV_REV
...
this fixes issue 343
2012-08-17 15:04:53 +10:00
Andrew Tridgell
34a1297842
SITL: added SIM_ENGINE_MUL
...
this allows for simulated engine failures
2012-08-17 14:22:08 +10:00
Jason Short
387a021c30
ACM : APM_Config.h : default removed for toy mixer.
2012-08-16 15:41:35 -07:00
Jason Short
3ee2fd3fb6
ACM: Config.h - added default for toy mixer
2012-08-16 15:40:28 -07:00
Jason Short
770956a3fd
ACM : Made control_roll and pitch global for logging; made yaw towards waypoint use initial angle and not a recalculated angle to deal with wiggles as we approach WP
2012-08-16 15:39:50 -07:00
Jason Short
9cee1b2fa0
ACM : Upped Yaw Limit to 2200
2012-08-16 15:38:46 -07:00
Jason Short
bdc1c41e62
ACM: made target bearing the lead filtered location
...
Had some major nav trouble from crosstrack if I used the laggy position.
2012-08-16 15:38:25 -07:00
Jason Short
bd91215770
Dataflash fix for missing card error
2012-08-16 15:37:28 -07:00