Commit Graph

5143 Commits

Author SHA1 Message Date
Michael Oborne fcdc9b28f6 Mission Planner 1.2.7
add wind from ap
add wp every x m in grid mode
fix hil problem
fix control-s
update mavlink format
2012-08-19 16:38:58 +08:00
rmackay9 93f918f3e0 AutoTest: reduced descend throttle for arducopter's change_alt test. 2012-08-19 12:33:21 +09:00
rmackay9 1d32e03f61 ArduCopter: added ACCEL_ALT_HOLD and INERTIAL_NAV to config.h and commented out of APM_Config.h.
Reduces possibility of difference between arduino ide compiled code and script built code (i.e. autotester, mission planner)
2012-08-19 12:31:02 +09:00
rmackay9 75459b09be ArduCopter: changed reset_throttle_counter to uint8_t to get rid of overflow bug that was preventing target altitude from being locked in after pilot input down throttle. 2012-08-19 11:50:35 +09:00
Andrew Tridgell 7cc9ec4d61 autotest: ArduCopter on a 1280 is not supported any more 2012-08-19 12:30:15 +10:00
Jason Short c81064279a ACM : removed 2-level DCM gain change - .1 will still be the default. 2012-08-18 15:43:34 -07:00
Jason Short 575a9c4fd1 ACM : Fix for reloading the user DCM gains upon arming 2012-08-18 13:17:43 -07:00
Jason Short 0a25a189eb ACM | Attitude.pde - removed next_wp.alt reset. 2012-08-18 12:25:48 -07:00
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