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
Michael Oborne
90ccb6f3ef
Mission Planner 1.2.6
...
add tracker location option.
fix current sensor screen
add more right click flight planner options.
make some connecting error messages more detailed.
add partial microdrones protocol output
2012-08-16 21:07:29 +08:00
rmackay9
48b7d26c5d
ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
...
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
2012-08-16 20:04:46 +09:00
rmackay9
5f2c662fc9
ArduCopter: replaced abs with labs as required in a few places.
...
Also fixed a small bug in the get_stabilize_pitch function in which it was using the roll (instead of pitch) to decide whether it should let the i term build-up or not.
2012-08-16 17:51:09 +09:00
Andrew Tridgell
faeb206239
SITL: make abs() 16 bit in SITL
...
this will help us find abs() bugs in autotest
2012-08-16 15:18:17 +10:00
Andrew Tridgell
50e2458df0
math: more abs() fixes
...
abs() is 16 bit
2012-08-16 15:17:42 +10:00
Jason Short
e2c3149b2f
Location Lib : Abs was overflowing causing bad comparison
2012-08-15 22:01:51 -07:00
Jason Short
67de828bcc
ACM Test: Added a return statement
2012-08-15 21:37:23 -07:00