Jason Short
1e546b54be
ACM : Nav rate limit lowered to prevent bad oscillations due to GPS latency.
2012-08-18 09:04:22 -07:00
Jason Short
21f9b7e531
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
5bbde052ba
ACM: Added a more sane limit to Angle boost
2012-08-18 09:04:21 -07:00
rmackay9
1a2dd5b74b
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
7a31e4e660
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
4371fdda6c
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
b80a3943aa
ArduCopter, ArduPilot: revert mavlink delay callback to be "unsigned long"
2012-08-18 20:34:41 +09:00
rmackay9
9f81d0c601
AP_GPS: revert delay callback to be "unsigned long"
2012-08-18 20:33:45 +09:00
rmackay9
cef3e1d732
DataFlash: revert delay callbacks to use "unsigned long"
2012-08-18 20:28:31 +09:00
rmackay9
ba48bffb46
DataFlash: change "unsigned long" to "uint32_t" in callback functions
2012-08-18 19:22:14 +09:00
rmackay9
221e4ea32a
ArduCopter: changed "unsigned long" to "uint32_t"
2012-08-18 19:05:55 +09:00
rmackay9
b3439f9b95
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
ac240dffd3
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
9973e4ae13
DataFlash: replaced "int" with "int16_t"
2012-08-18 18:31:20 +09:00
rmackay9
e5d8efdb7e
ArduPlane: replaced many "int" with "int16_t", "long" with "int32_t"
2012-08-18 18:26:13 +09:00
rmackay9
995b8a571b
AP_Common: change a few more "int" to "int16_t"
2012-08-18 18:05:18 +09:00
rmackay9
ea860126e0
AP_Compass: replace "long" with "int32_t"
2012-08-18 16:58:16 +09:00
rmackay9
2ad383505c
AP_GPS: replaced "int" with "int16_t" and "long" with "int32_t"
2012-08-18 16:35:38 +09:00
rmackay9
bd84f58f83
ArduCopter: removed unused icount variable from commands_logic.pde to reduce compiler warnings.
2012-08-18 16:04:23 +09:00
rmackay9
310ce05dc2
ArduCopter: commented out get_acro_yaw2 function to reduce compiler warnings
2012-08-18 16:03:49 +09:00
rmackay9
f32c76648d
ArduCopter: removed unused maggy variable from test.pde to reduce compiler warnings.
2012-08-18 16:03:26 +09:00
Andrew Tridgell
c534d6ad08
SITL: updated ArduPlane autotest parms
...
a bit more xtrack and fixed steering parameter names
2012-08-18 16:34:02 +10:00
Andrew Tridgell
7d8903a8bf
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
0dc3b23b59
ArduCopter: fixed small bug re arming_counter for TOY mode
2012-08-18 13:21:41 +09:00
rmackay9
e52e22bcab
ArduPlane: commented out two unused variables to remove compiler warning
2012-08-18 13:20:34 +09:00
Andrew Tridgell
01ae8f8771
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
adda41a2ec
Filter: ensure the derivative filter never returns an invalid number
2012-08-18 13:54:11 +10:00
rmackay9
756d1a3fff
AP_Limits: change order of initialisation of class variables to remove compiler warnings.
2012-08-18 12:51:32 +09:00
rmackay9
2d0bea7f9c
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
eafc13c8d5
ArduCopter: fix compiler error related to printing boarding type in dataflash logs.
2012-08-18 11:47:10 +09:00
Michael Oborne
4be10b4418
AC fix some Parameter units
2012-08-18 08:30:16 +08:00
Michael Oborne
0996782582
Fix Airspeed use use
2012-08-18 08:30:15 +08:00
Jason Short
1a1987b810
ACM : removed old note
2012-08-17 17:03:40 -07:00
Jason Short
47e2837a9e
ACM Logging - added APM version #, stab_I term logging
2012-08-17 17:03:40 -07:00
Pat Hickey
3772571d28
better commit message for uncrustify
2012-08-17 11:36:07 -07:00
Pat Hickey
e34dd62c7d
fixes to preprocessor retab settings
2012-08-17 11:36:07 -07:00
Pat Hickey
b0b43dfacc
real reformat.sh
2012-08-17 11:36:07 -07:00
Pat Hickey
66c59e92d9
add reformatting config files and shell script
2012-08-17 11:36:07 -07:00
Andrew Tridgell
7948b3aee7
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
8853a104f0
APM: fixed SITL build
2012-08-17 16:28:45 +10:00
Andrew Tridgell
84c39774fa
DataFlash: fixed SITL build
2012-08-17 16:27:19 +10:00
Andrew Tridgell
2fb8a13ac6
APM: added parameter FBWB_ELEV_REV
...
this fixes issue 343
2012-08-17 15:04:53 +10:00
Andrew Tridgell
1ccff12b54
SITL: added SIM_ENGINE_MUL
...
this allows for simulated engine failures
2012-08-17 14:22:08 +10:00
Jason Short
ebd399d11f
ACM : APM_Config.h : default removed for toy mixer.
2012-08-16 15:41:35 -07:00
Jason Short
cd2cf2e431
ACM: Config.h - added default for toy mixer
2012-08-16 15:40:28 -07:00
Jason Short
cbf4870b00
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
bd17c23e7e
ACM : Upped Yaw Limit to 2200
2012-08-16 15:38:46 -07:00
Jason Short
7ac4d06d3f
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
ff32718d9b
Dataflash fix for missing card error
2012-08-16 15:37:28 -07:00
Jason Short
0e7794336e
ACM: added nav_yaw to att logging
...
Removed unnecessary casting
2012-08-16 12:43:55 -07:00