Commit Graph

6102 Commits

Author SHA1 Message Date
rmackay9
b9dbdadc80 ArduCopter: first implementation of surface tracking using sonar
Note: not yet enabled as part of any flight mode
2012-12-29 13:51:14 +09:00
rmackay9
07a3a7d4bb AP_InertialNav: increase baro delay to 0.5 sec (was 0.2sec) to allow slower baro updates on APM1 2012-12-28 16:21:13 +09:00
rmackay9
57702b7c31 ArduCopter: turn on INERTIAL_NAV_Z in the config.h file so that it takes effect when built for the mission planner 2012-12-27 19:33:12 +09:00
rmackay9
71f6a116be ArduCopter: get_throttle_althold - add check to avoid divide by zero 2012-12-26 21:18:16 +09:00
rmackay9
1e50875dd1 AP_InertialNav: correct lat/lon to cm 2012-12-26 20:49:04 +09:00
rmackay9
ebe33f1bdb AP_InertialSensor: remove "USER:" from beginning of instructions to user 2012-12-26 19:50:54 +09:00
rmackay9
3ff091efb6 ArduCopter: inertial nav - only initialise horizontal position when home is initialised 2012-12-25 12:39:25 +09:00
rmackay9
e859549814 ArduCopter: update release notes for 2.9-rc1 2012-12-23 12:24:14 +09:00
rmackay9
c10af02c4a ArduCopter: bug fix to althold desired rate calculation. Fix from Jonathan. 2012-12-23 11:17:26 +09:00
rmackay9
a80f065188 ArduCopter: Battery failsafe triggers RTL only if we are more than 15m from home, otherwise it performs a LAND 2012-12-22 18:16:50 +09:00
rmackay9
dad2d2b800 ArduCopter: alt hold bug fix - should use 2x linear distance when calculating the desired rate
Bug fix from Leonard.
2012-12-22 17:57:11 +09:00
rmackay9
d9873dcd7b ArduCopter with the new Camera and Relay classes for APM1 and APM2.
All changes by Sandro Benigno
2012-12-22 17:26:27 +09:00
Sandro Benigno
7302155727 AP Camera changes required to work with modified AP_Relay lib. 2012-12-22 17:24:39 +09:00
Sandro Benigno
345e517272 New Relay class and the subclasses for APM1 and APM2.
Updated AP_Camera class.
2012-12-22 17:24:35 +09:00
rmackay9
4749789bc2 ArduCopter: bug fix (attempt #2) for accel based throttle controller
Thanks to Jonathan for this.
2012-12-22 14:56:22 +09:00
rmackay9
53fc4a9287 ArduCopter: remove unused g_gps_null pointer to save 2 bytes 2012-12-22 14:22:13 +09:00
rmackay9
085425fdbf ArduCopter: bug fix to accel based throttle controller (was using m/s instead of cm/s) 2012-12-22 14:21:25 +09:00
rmackay9
c2b01e0d63 ArduCopter: bug fix to GUIDED mode. Now checks that desired altitude was reached before deciding the waypoint is complete. 2012-12-22 14:04:47 +09:00
rmackay9
ecb388059e ArduCopter: add AUTO_VELZ_MIN, AUTO_VELZ_MAX and PILOT_VELZ_MAX to allow better control of climb/descent rate in auto and manual throttle modes 2012-12-22 12:52:49 +09:00
Craig@3DR
761a435f1c Improved parsing in auto detect 2012-12-21 16:04:02 -08:00
Craig@3DR
e882a19bb7 Global change all references from
GPS_PROTOCOL_MTK16
to
GPS_PROTOCOL_MTK19
2012-12-21 11:19:32 -08:00
rmackay9
ac66d7cac2 ArduCopter: on throttle failsafe, only initiate RTL if we are at least 15m from home 2012-12-21 14:39:48 +09:00
rmackay9
c7a0a64eae ArduCopter: use inertial nav for current altitude and climb rate 2012-12-21 14:07:18 +09:00
Craig@3DR
d5b4d43625 Updated rev number in driver 2012-12-20 15:47:09 -08:00
rmackay9
1c546f7fda FastSerial: add accessor function for blocking writes 2012-12-20 16:00:54 +09:00
rmackay9
93063a812a ArduCopter: move gcs_check function (which sends to ground station) to run when 50hz loop is not running
Also removed redundant heartbeat message
2012-12-20 15:54:19 +09:00
rmackay9
6fceb278b0 ArduCopter: added AP_PerfMon library 2012-12-20 13:45:04 +09:00
rmackay9
d430903fcd ArduCopter: remove duplicate (?) send of MSG_EXTENDED_STATUS1 2012-12-20 12:57:07 +09:00
rmackay9
9706193463 ArduCopter: remove unused variable last_5hz 2012-12-20 11:37:06 +09:00
rmackay9
415029fdf5 ArduCopter: remove unnecessary "Initialising APM message..." 2012-12-20 11:35:04 +09:00
Jason Short
53acb324db ACM: Restore Multi-mode support 2012-12-19 08:08:59 -08:00
rmackay9
e13cea03ea ArduCopter: restore auto-trim method but now use AHRS.add_trim 2012-12-20 00:06:20 +09:00
Craig@3DR
ae72238beb Removed 2 more degree symbols from comments 2012-12-18 13:42:42 -08:00
rmackay9
465d54e541 ArduCopter: change GPS dataflash message to output unfiltered gps lat and lon 2012-12-18 23:44:51 +09:00
rmackay9
a193cbb812 AP_InertialNav: Jason's bug fix to inertial nav velocity and position calculations 2012-12-18 16:38:56 +09:00
rmackay9
ee50e63705 AP_AHRS: remove debug messages 2012-12-17 23:51:47 +09:00
rmackay9
200389dcc2 ArduCopter: ensure RTL performs a land if a failsafe has been triggered 2012-12-17 22:12:24 +09:00
Robert Lefebvre
f48ec39cfa ACM: Precision Loiter RePositioning code.
Protected behind a #define
2012-12-17 07:42:28 -05:00
rmackay9
323d7fac43 Filter: #include AP_Buffer.h no longer needed now that completementary filter has been moved to InertialNav library 2012-12-17 20:52:53 +09:00
rmackay9
7bf3296425 ArduCopter: remove unused wait_for_yes function 2012-12-17 17:52:04 +09:00
rmackay9
3be100469b ArduCopter: remove unused rc_override variables to save 21 bytes 2012-12-17 17:04:51 +09:00
rmackay9
889a19f790 ArduCopter: move scaleLongUp and scaleLongDown initialisation to init_home 2012-12-17 16:54:03 +09:00
rmackay9
c8c13046e3 ArduCopter: stop unnecessary updates of target altitude and knock-on effect of too many EV message in dataflash log 2012-12-17 16:34:20 +09:00
rmackay9
1332ed3b5c ArduCopter: restore initial climb to RTL 2012-12-17 16:17:49 +09:00
rmackay9
c1abd96ef2 ArduCopter: limit output throttle to 800 only for TRI which does not have the new stability patch 2012-12-17 15:29:11 +09:00
rmackay9
b10d61b2c2 AP_Motors: remove unnecessary opposite_motor array (no longer needed with new stability patch) 2012-12-17 15:28:42 +09:00
rmackay9
68d6eee1e7 ArduCopter: increase accel based throttle PIDs and add D term to rate based throttle 2012-12-17 14:46:30 +09:00
rmackay9
d4b73e7b07 AP_InertialNav: increase time constant for Z axis to 7 seconds 2012-12-17 14:46:02 +09:00
rmackay9
e3ee865dc0 ArduCopter: Leonard Hall's changes to alt hold including adding low pass filter to climb rate
get_throttle_rate_stabilized changed to simply update the target altitude instead of talking directly to the rate controller.
get_throttle_althold changed to use sqrt of distance when calculating the desired rate towards the target altitude.
added reset of accel based throttle PID's I term.
unrelated small bug fix from Randy to allow CH6 tuning of throttle rate D term.
2012-12-17 14:36:05 +09:00
rmackay9
1726744b5d AP_InertialSensor: resolved compile warning re uninitialised variable 2012-12-16 16:23:17 +09:00