Commit Graph

5642 Commits

Author SHA1 Message Date
Andrew Tridgell bf9e2149df APM: prepare for 2.64 release 2012-09-23 19:32:56 +10:00
Andrew Tridgell 1f827d848b APM: fixed stick mixing in CIRCLE mode on throttle failsafe
Many thanks to Andke for finding this bug!
2012-09-23 19:27:42 +10:00
rmackay9 c28d4e9ad6 AP_Motors: remove stray debug message re set-up of throttle curve 2012-09-23 12:25:31 +09:00
rmackay9 4825d16cd8 AP_Airspeed: fixed constructor compile error in example sketch 2012-09-23 11:44:28 +09:00
rmackay9 12a1f3244b ArduCopter: alt hold bug fix - removed reset next_WP in init_home 2012-09-23 01:00:06 +09:00
Andrew Tridgell 26e526c3ab APM: removed unnecessary waypoint_sending flag 2012-09-22 20:17:19 +10:00
Andrew Tridgell 0a1f428669 APM: send right parameter index when possible 2012-09-22 20:17:17 +10:00
Andrew Tridgell e6c6161e1a APM: fixed mission reset by setting waypoint to zero
this does a full mission reset (equivalent to rebooting)
2012-09-22 20:17:13 +10:00
Andrew Tridgell 8c1766f5df APM: added THR_SUPP_MAN option
this allows for manual throttle control during auto throttle
suppression. This is useful for keeping a petrol engine idling before
takeoff
2012-09-22 20:17:06 +10:00
Andrew Tridgell 060b7dd5d4 APM: allow RawSensors stream rate to be saved if <= 5
this makes it possible to configure all stream rates via a parameter
file
2012-09-22 20:17:02 +10:00
Andrew Tridgell 04111ebcdf APM: don't send GPS_STATUS MAVLink message
it now provides no useful information as satellites_visible is in
GPS_RAW_INT in MAVLink 1.0
2012-09-22 20:12:43 +10:00
Craig Elder 96dc207d1d Housekeeping: Removed copies of Libraries from Tools/ArduPPM/Workbasket. 2012-09-21 16:51:37 -07:00
Andrew Tridgell f2e160a5e7 AP_Baro: removed _sync_access check
this isn't needed as the common variables are already protected by
cli()/sei()
2012-09-20 17:34:33 +10:00
Andrew Tridgell 1b793bf3f4 RC_Channel: don't force radio_out in enable_aux_servos()
this is called regularly, and causes the servo to twitch
2012-09-20 17:34:32 +10:00
Andrew Tridgell 4cfea44f9f DCM: limit the contribution of the baro to vertical acceleration
limit to a max of 0.5g
2012-09-20 17:34:32 +10:00
Andrew Tridgell a84d7b6f4f DCM: disable use of baro for vertical accel by default
this has caused problems with too many users
2012-09-20 17:34:32 +10:00
rmackay9 5e6951d3f4 ArduCopter: position lead filters modified to use lag which varies by gps 2012-09-20 15:49:09 +09:00
rmackay9 c6ee948d60 AP_GPS: added get_lag method to return expected lag from the GPS. 2012-09-20 15:48:22 +09:00
rmackay9 53aced1def AP_LeadFilter: moved lag to be a parameter passed into the get_position function.
This saves 4 bytes of memory and will work better with the way we initialise the gps.
2012-09-20 15:27:27 +09:00
rmackay9 d97ab4f490 AP_LeadFilter: bug fix so velocity * _lag is used (otherwise we are assuming a 1sec lag) 2012-09-20 13:17:42 +09:00
rmackay9 f002d6e9a6 AP_LeadFilter: added set_lag feature to allow us to adjust it for different GPSs 2012-09-20 13:10:24 +09:00
Robert Lefebvre 739d31f06e Change to the "Stability Patch" in Motors_Matrix in order to make it cover both the upper throttle range and lower, and also to cause it to raise/lower all motors when a single motor goes out of ranges. 2012-09-19 20:43:58 -04:00
Michael Oborne 25bcfdd1e7 Mission Planner 1.2.12
add arduino chip detect
fix apm2,2.5 dialog test
add write timeout. this will stop planner hangs on bad serial devices.
change quickview decimal places to 0.00
fix map clicking issue.
fix wind direction wrapping
add airspeed use
modify firmware screen from Marooned
major flightdata tab change.
add save/load polygon from file
add some error handling dialogs
2012-09-20 07:37:36 +08:00
Andrew Tridgell 3f9bd65d2f APM: send airspeed sensor value, not estimate, when enabled
this solves the problem of people reporting that airspeed is not shown
when ARSPD_USE is zero.
2012-09-20 08:00:54 +10:00
Andrew Tridgell a84a08d2a4 APM: make it possible to fetch parameters by index 2012-09-20 07:42:46 +10:00
Andrew Tridgell 0922b82d42 AP_Param: added find_by_index() 2012-09-20 07:42:35 +10:00
Andrew Tridgell e28ddb0f3d APM: much faster parameter fetching
allow up to 30% of bandwidth to be used for parameter send
2012-09-20 07:29:23 +10:00
Andrew Tridgell 8a33e2ba37 GPS: disable auto detection of NMEA and SiRF on a 1280 board
saves a bit more flash space
2012-09-19 19:36:48 +10:00
Andrew Tridgell 41a4490c5a APM: tweak the default options for an APM1 1280 board
this allows a few more things to fit in
2012-09-19 19:36:19 +10:00
Andrew Tridgell 7d84666b9d APM: removed the unused sonar code
when we start supporting a sonar we'll add a AP_Sonar library, like
AP_Airspeed
2012-09-19 19:35:22 +10:00
Andrew Tridgell 1cdb3a8dba APM: added ALT_OFFSET parameter
useful to adjust for barometric pressure changes during a long flight
2012-09-19 16:23:25 +10:00
Andrew Tridgell f3f9d644d9 AP_Airspeed: a bit more filtering
this helps reduce noise at low speed
2012-09-19 16:23:25 +10:00
rmackay9 69c29f5196 ArduCopter: allow PID logging of throttle. Make get_angle_boost actually use parameter passed in. 2012-09-18 23:19:23 +09:00
rmackay9 aaab3c08aa ArduCopter: added throttle curve (although disabled by default) for all multicopters 2012-09-18 23:05:08 +09:00
Andrew Tridgell 3306ba95a7 MPU6k: save 72 bytes of memory
the buffer can be on the stack
2012-09-18 13:58:50 +10:00
Andrew Tridgell a00e00519f APM: save another few bytes 2012-09-18 13:58:50 +10:00
Andrew Tridgell bd2eae8a18 APM: fixed a comment 2012-09-18 13:58:49 +10:00
Andrew Tridgell f32fcb7495 APM: save 100 bytes of memory
remove flight_mode_strings array
2012-09-18 13:58:49 +10:00
rmackay9 3b5b2eba6e ArduCopter: set fast gains while auto trim is being executed 2012-09-18 09:03:29 +09:00
Michael Oborne 67e02a815f firmware build 2012-09-17 17:48:43 +08:00
Andrew Tridgell 8f91728d65 APM: preparing for 2.63 release 2012-09-17 17:32:13 +10:00
Andrew Tridgell 2bc1d4a5ae SITL: prevent a fd leak in GPS code 2012-09-17 14:45:48 +10:00
Andrew Tridgell 62f1034965 APM: updates for new GPS detection 2012-09-17 14:45:47 +10:00
Andrew Tridgell 14d19ac33d ACM: updates for new GPS detection
a GPS can now be attached after startup
2012-09-17 14:45:47 +10:00
Andrew Tridgell bb3d43c8b6 Rover: updates for new GPS detection 2012-09-17 14:45:47 +10:00
Andrew Tridgell c62197370a GPS: replaced the GPS auto-detect mechanism
the old mechanism wasted most of the input bytes, and chewed a lot of
CPU, making it impractical to do GPS detection for a GPS attached
after startup

The new code is async, and detects a GPS by looking for a fully formed
packet with the right checksum for each GPS type
2012-09-17 14:45:47 +10:00
Andrew Tridgell 73340a5e5d APM: fixed handling of DO_REPEAT_SERVO and DO_REPEAT_RELAY 2012-09-17 14:45:47 +10:00
rmackay9 d7a53e67ed ArduCopter: bug fix in Log_Read_Attitude. It was printing two uninitialised variables. 2012-09-17 13:44:29 +09:00
Andrew Tridgell d403465212 APM: tidy up a comment 2012-09-16 15:51:13 +10:00
Andrew Tridgell 8e656a60f2 APM: only copy manual channels in failsafe
this prevents non-manual channels changing value away from the trim
value on startup
2012-09-16 15:51:01 +10:00