Commit Graph

4907 Commits

Author SHA1 Message Date
Andrew Tridgell 52064772ee APM: report speed changes via MAVLink 2012-08-15 12:39:35 +10:00
Andrew Tridgell 817017658d APM: implement FENCE_ACTION_REPORT
when FENCE_ACTION is set to FENCE_ACTION_REPORT a fence breach is
reported, but the flight mode is not changed
2012-08-15 12:39:35 +10:00
Andrew Tridgell 299711f4a9 MAVLink: added FENCE_ACTION_REPORT 2012-08-15 12:39:35 +10:00
Andrew Tridgell 9b4b7997b6 AHRS: added ahrs.yaw_initialised()
this allows the high level code to know if the AHRS driver has a
reliable yaw estimate
2012-08-15 12:39:34 +10:00
Andrew Tridgell 533aab4f66 SITL: added a test script for starting in Kingaroy
we use this for OBC testing
2012-08-15 12:39:34 +10:00
Andrew Tridgell 8cb55eb75a APM: keep the time of the last heartbeat message
this will be used for failsafe processing
2012-08-15 12:39:34 +10:00
Andrew Tridgell 0584017aff APM: expose change_command() and geofence_breached() to libraries
this makes a failsafe library easier
2012-08-15 12:39:34 +10:00
Andrew Tridgell ff6301fb46 APM: show waypoint number in jump message 2012-08-15 12:39:34 +10:00
Andrew Tridgell 92bdc23ab6 APM: minor formatting fix 2012-08-15 12:39:34 +10:00
Andrew Tridgell b6b12532da SITL: make it easier to start ArduPlane SITL at any location
this generates a jsbsim startup XML file from a template
2012-08-15 12:39:34 +10:00
Andrew Tridgell 2865434d02 APM: added 'OBC' failsafe module for ArduPlane
this adds FS_* parameters for setting up APM to follow the outback
challenge failsafe rules.

This includes:

 - manual pin
 - heartbeat pin
 - waypoint for heartbeat failure
 - waypoint for GPS failure
2012-08-15 12:39:34 +10:00
Andrew Tridgell 5631b90222 APM: interpret zero lat/lng as being current location
this makes it easy to have a "loiter in current position" mission
element
2012-08-15 12:39:34 +10:00
Andrew Tridgell 93f1d5645b APM: fixed LOITER_TIME and LOITER_TURNS
These now follow the mavlink spec. Loiter time is in seconds, and
loiter turns is now 32 bit angle, so can handle larger numbers of
turns.
2012-08-15 12:39:34 +10:00
Andrew Tridgell 57cc89b730 Failsafe: only read RC on new data 2012-08-15 12:39:33 +10:00
Andrew Tridgell 09da478456 Failsafe: added COMPETITION_MODE 2012-08-15 12:39:33 +10:00
Andrew Tridgell ecd3c58529 Failsafe: prototype of APM2 based failsafe system 2012-08-15 12:39:33 +10:00
Jason Short f1af837543 ACM: Switched to filtered loc 2012-08-14 14:11:52 -07:00
Jason Short cdd2093a4c ACM: Switched to filtered_loc for distance calcs 2012-08-14 14:11:52 -07:00
Jason Short a4bc5950cf 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 993c89c4f8 ACM: Revved the version 2012-08-14 14:11:51 -07:00
rmackay9 2a83f1eef2 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 6603e7724d 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 c574393995 AutoTest: update failsafe timeout to 180 to give it more time to pass. 2012-08-14 11:25:10 +09:00
Pat Hickey 99e96031f2 APM_RC_APM2: updated comments for clarity 2012-08-13 15:34:17 -07:00
rmackay9 26d83791db ArduRover: deleting this. Please see APMRover2 for latest Rover code. 2012-08-14 00:31:50 +09:00
rmackay9 db59065d26 ArduRover: latest rover code is in APMRover2 directory 2012-08-14 00:31:12 +09:00
rmackay9 cf943255a5 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 35e7a6e018 GPS_IMU: deleted this empty library as nobody seems to be using it. 2012-08-13 16:35:29 +09:00
rmackay9 59cb6e5dba Waypoints: deleted this library as nobody seems to be using it. 2012-08-13 16:35:08 +09:00
rmackay9 62c3ea9ea1 Trig_LUT: deleted this library as nobody seems to be using it 2012-08-13 16:34:50 +09:00
rmackay9 004c8bd5ed AP_EEPROMB: deleted this library as nobody seems to be using it. 2012-08-13 16:34:33 +09:00
rmackay9 3482f05b48 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 48e275e22d 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 b01a71c4b9 ACM: Toy mode updates - added second toy mode 2012-08-11 22:37:27 -07:00
Jason Short 8160aa6103 ACM : Toy mode updates 2012-08-11 22:37:27 -07:00
Jason Short 1e0ab8768e ACM: Toy mode updates 2012-08-11 22:37:26 -07:00
Jason Short b27c1ce396 ACM : Added check for second Toy mode 2012-08-11 22:37:26 -07:00
Jason Short 11b7475ff9 ACM : Added CH7 multimode triggers, split Toy mode into two 2012-08-11 22:37:26 -07:00
Jason Short 45574c0b1a ACM : CH_7 multimode option added 2012-08-11 22:37:26 -07:00
Jason Short c305237e3a ACM : Added CH_7 Multimode 2012-08-11 22:37:26 -07:00
Michael Oborne 32832dd296 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 19a5d11669 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 3bdc7d41be 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 f5b7ae213c 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 c31eef59ae Mavlink: log wind estimation result 2012-08-11 22:06:03 +10:00
Andrew Tridgell 4951d686f6 Mavlink: re-generate with WIND message 2012-08-11 22:06:03 +10:00
Andrew Tridgell 8d914b14e4 Mavlink: added WIND message
this allows us to log the wind estimation result
2012-08-11 22:06:03 +10:00
Andrew Tridgell 779dacfd24 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 0ba57d05eb AP_Math: added matrix column extraction functions 2012-08-11 22:06:02 +10:00
Amilcar Lucas c7d1974741 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