Commit Graph

5561 Commits

Author SHA1 Message Date
Andrew Tridgell 09b2eadec1 Rover: fixed type of payload size 2012-09-25 07:20:54 +10:00
Andrew Tridgell e59a031611 MAVLink: comm_get_txspace should return 0 on error
it is used in expressions that add constants
2012-09-25 07:20:43 +10:00
Andrew Tridgell 24ab456f8e PeriodProcess: fixed build warning 2012-09-25 07:10:35 +10:00
Andrew Tridgell b39cc974dc OpticalFlow: fixed SITL build 2012-09-25 07:10:22 +10:00
Andrew Tridgell dbf501c646 GPS: fixed SIRF auto detect code 2012-09-25 07:10:07 +10:00
Andrew Tridgell bec34f3af6 SPI3: fixed the build 2012-09-25 07:03:23 +10:00
Michael Oborne 34165aeff0 modify ardurover name to match others 2012-09-24 18:31:47 +08:00
rmackay9 090a672636 ArduCopter: optical flow initialisation changes now that optical flow library automatically works on APM1, APM2 and APM2.5 2012-09-24 18:39:33 +09:00
rmackay9 825246617e AP_TimerProcess: add one additional slot for optical flow 2012-09-24 18:39:28 +09:00
rmackay9 97a66a5346 AP_OpticalFlow: small fixes to test sketch to make it work with modified lib 2012-09-24 18:39:22 +09:00
rmackay9 f55d3de12a AP_OpticalFlow: remove APM2 version of library now that AP_OpticalFlow_ADNS3080 class can autodetect which SPI bus the sensor is on 2012-09-24 18:39:17 +09:00
rmackay9 99eaa37a38 AP_OpticalFlow_ADNS3080: detect if optical flow sensor is on standard or secondary SPI bus 2012-09-24 18:39:12 +09:00
rmackay9 17ccc7e62e AP_OpticalFlow: use AP_PeriodicProcess to read at 20hz 2012-09-24 18:39:07 +09:00
rmackay9 1cf0b2334a SPI3: add new library to make use of secondary SPI bus 2012-09-24 18:39:01 +09:00
Andrew Tridgell 812ed3d8bf APM: change to one low priority status buffer per GCS instance
this allows us to operate the low priority messages on each link
independently.

Thanks to David Buzz for the suggestion!
2012-09-24 17:39:19 +10:00
Michael Oborne c332103b86 firmware build 2012-09-24 05:44:42 +08:00
Andrew Tridgell f599962b90 APM: prepare for 2.65 2012-09-24 07:14:30 +10:00
Andrew Tridgell 061c676cc6 APM: fixed stick mixing for STABILISE mode
this is embarrassing
2012-09-24 07:14:30 +10:00
Michael Oborne 8807758693 firmware build 2012-09-23 19:07:57 +08:00
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