Commit Graph

5041 Commits

Author SHA1 Message Date
Jason Short 2cc27b9804 ACM: Switched to filtered loc 2012-08-14 14:11:52 -07:00
Jason Short 5d64942f01 ACM: Switched to filtered_loc for distance calcs 2012-08-14 14:11:52 -07:00
Jason Short cbd4661b96 ACM: Added a filtered version of Location for GPS lag.
I did this because when you are close to a WP the Yaw angle can go a bit wacky as the location jumps around. The filtered loc is only used in the wp_distance calculation now.
2012-08-14 14:11:51 -07:00
Jason Short ba6ec9ae45 ACM: Revved the version 2012-08-14 14:11:51 -07:00
rmackay9 95c59fd4a4 ArduCopter: remove RTL_LAND parameter as it's been deprecated in favour of APPROACH_ALT.
Updated comments on ALT_HOLD_RTL and APPROACH_ALT to make it a little easier to understand.
2012-08-14 12:14:35 +09:00
rmackay9 71710b4514 AutoTest: set RTL's APPROACH_ALT to zero to force the copter to land instead of hanging out at 2m and causing the auto test to time out 2012-08-14 12:03:32 +09:00
rmackay9 34517349db AutoTest: update failsafe timeout to 180 to give it more time to pass. 2012-08-14 11:25:10 +09:00
Pat Hickey 394a3059b7 APM_RC_APM2: updated comments for clarity 2012-08-13 15:34:17 -07:00
rmackay9 b5480daa69 ArduRover: deleting this. Please see APMRover2 for latest Rover code. 2012-08-14 00:31:50 +09:00
rmackay9 9edda1407a ArduRover: latest rover code is in APMRover2 directory 2012-08-14 00:31:12 +09:00
rmackay9 4e7e78d091 AP_RC_Channel: deleted this library as nobody seems to be using it.
Everyone is using RC_Channel instead which includes parameters.
2012-08-13 16:36:10 +09:00
rmackay9 c22f3ae563 GPS_IMU: deleted this empty library as nobody seems to be using it. 2012-08-13 16:35:29 +09:00
rmackay9 cb71edb427 Waypoints: deleted this library as nobody seems to be using it. 2012-08-13 16:35:08 +09:00
rmackay9 8f475f9d38 Trig_LUT: deleted this library as nobody seems to be using it 2012-08-13 16:34:50 +09:00
rmackay9 1115dde0d4 AP_EEPROMB: deleted this library as nobody seems to be using it. 2012-08-13 16:34:33 +09:00
rmackay9 a3a56c488a APM_RC: rename example sketch directories for APM2 so they can be opened easily from arduino ide 2012-08-13 11:50:53 +09:00
Andrew Tridgell 562069cbd7 AHRS: avoid a compiler bug in quaternion code
Having _wind in the AP_AHRS class causes a register allocation error
when building the Quaternion code with some versions of avr-gcc. Quite
bizarre.
2012-08-13 11:08:10 +10:00
Jason Short 455cfa4caa ACM: Toy mode updates - added second toy mode 2012-08-11 22:37:27 -07:00
Jason Short 4eb66699e1 ACM : Toy mode updates 2012-08-11 22:37:27 -07:00
Jason Short 4f14baf5e5 ACM: Toy mode updates 2012-08-11 22:37:26 -07:00
Jason Short abe7a12fba ACM : Added check for second Toy mode 2012-08-11 22:37:26 -07:00
Jason Short 0eed8853b4 ACM : Added CH7 multimode triggers, split Toy mode into two 2012-08-11 22:37:26 -07:00
Jason Short 9134271073 ACM : CH_7 multimode option added 2012-08-11 22:37:26 -07:00
Jason Short 609d5cd1d4 ACM : Added CH_7 Multimode 2012-08-11 22:37:26 -07:00
Michael Oborne b04d76049c Mission Planner 1.2.5
add experimental antenna tracker find
add new apparam eeprom reader
add ground alt display to hud
mod stats
modify guided mode alt selection.
test flight planner tab on flight data tab
move some functions to the right click menu
add xplanes data in/out setup to be automatic.
add better mission upload handeling.
2012-08-12 12:25:22 +08:00
Andrew Tridgell fa1b72adc5 AHRS: use airspeed for wind in forward flight
when not turning we can use the airspeed sensor directly to calculate
the wind speed.
2012-08-12 10:54:25 +10:00
Andrew Tridgell 35c88dd418 INS: disable INS AP_Param table when not on APM1 hardware
this could cause overwriting of memory with default values
2012-08-11 22:06:03 +10:00
Andrew Tridgell 3a92509b18 AHRS: added AHRS_GPS_USE parameter
this allows for the GPS to be disables for position updates, which
allows for testing dead-reckoning
2012-08-11 22:06:03 +10:00
Andrew Tridgell 3b9623a44c Mavlink: log wind estimation result 2012-08-11 22:06:03 +10:00
Andrew Tridgell 8ddf864431 Mavlink: re-generate with WIND message 2012-08-11 22:06:03 +10:00
Andrew Tridgell f8a17ba1e9 Mavlink: added WIND message
this allows us to log the wind estimation result
2012-08-11 22:06:03 +10:00
Andrew Tridgell 2c7ab7c659 AHRS: added wind estimation code
this allows us to estimate the wind while we have GPS lock, then use
that estimate in the long term dead reckoning
2012-08-11 22:06:03 +10:00
Andrew Tridgell 20a30e3a6b AP_Math: added matrix column extraction functions 2012-08-11 22:06:02 +10:00
Amilcar Lucas f103d375c9 RC_Channel_aux: cycle thru all functions except k_none and k_nr_aux_servo_functions
Probably makes no difference because g_rc_function[k_none] == NULL
2012-08-11 13:43:21 +02:00
Amilcar Lucas 049e232ef0 ArduCopter: Enable the aux servos later, only in the slow periodic loop
This might solve some of the boot issues some users are having
2012-08-11 12:58:13 +02:00
Andrew Tridgell d0709443b4 AHRS: fixed build
AP_Airspeed.h is now needed to build AHRS
2012-08-11 12:22:55 +10:00
Andrew Tridgell 9d9c7b0455 APM: allow for navigation by dead-reckoning
we now ask AHRS if we have a position estimate, and use that if
available
2012-08-11 12:01:08 +10:00
Andrew Tridgell 708280511c AHRS: added long-term dead-reckoning
this uses airspeed (if available) or last GPS ground speed to update
our position estimate in AHRS
2012-08-11 12:00:31 +10:00
Andrew Tridgell 06070dbf23 AP_GPS: added last_ground_speed() method
used for dead-reckoning in AHRS
2012-08-11 11:59:47 +10:00
Andrew Tridgell f68211a011 AP_GPS: fixed types to be stdint types 2012-08-11 11:59:03 +10:00
Andrew Tridgell 96d1249dad SITL: fill in SIMSTATE.lat and SIMSTATE.lng 2012-08-11 11:58:25 +10:00
Andrew Tridgell 90f00ebd01 MAVLink: re-generate MAVLink C code 2012-08-11 11:58:06 +10:00
Andrew Tridgell b47cceb442 MAVLink: added SIMSTATE.lat and SIMSTATE.lng
this allows us to display both true and estimated position on the
groundstation
2012-08-11 11:57:45 +10:00
Andrew Tridgell e1ffd37411 AP_Math: added location_update() and location_offset() functions
these will be used by AHRS dead reckoning
2012-08-11 11:56:54 +10:00
Andrew Tridgell aa839c3f46 APM: pass airspeed sensor to AHRS 2012-08-11 08:57:44 +10:00
Andrew Tridgell e48b0f8558 AHRS: make airspeed sensor available to AHRS
this will be used for long term dead-reckoning
2012-08-11 08:57:32 +10:00
Andrew Tridgell 8c0eeee3dc ACM: allow users to set the AHRS_YAW_P and AHRS_RP_P
the forced set left users with parameters they couldn't use
2012-08-11 08:35:10 +10:00
Andrew Tridgell d3cc6e5fab ACM: fixed HIL build 2012-08-11 08:34:16 +10:00
Jason Short 0688eee9bc ACM : Added larger WP radius for fast waypoints so we don't loose speed angling in on the WP at the last second. 2012-08-10 10:02:32 -07:00
Jason Short 31fdeab873 ACM increase the minimum speed at WP 2012-08-10 10:01:40 -07:00