Commit Graph

5527 Commits

Author SHA1 Message Date
rmackay9 670fcbb634 AP_AHRS_MPU6000: fixed yaw correction and added _secondary_ahrs parameter
_secondary_ahrs parameter allows mpu6000 ahrs to runin parallel with DCM.
2012-09-30 00:21:18 +09:00
rmackay9 35cb7ff7e5 AP_PeriodicProcessStub: fixed build due to missing reference to _suspended 2012-09-29 14:41:25 +09:00
rmackay9 fcb2ff19bc APMrover2: fixed build
Needed to remove references to MPU6000's CS pin in constructor
2012-09-29 13:55:29 +09:00
rmackay9 8c6fd340d7 AP_AHRS: added scheduler parameter to init
Required by the AP_AHRS_MPU6000 class which needs to disable timed processes that could interfere with it's communication with the mpu6000
2012-09-29 13:51:21 +09:00
rmackay9 c007a19200 AP_PeriodicProcess: added running() method which tells the caller whether the timer is suspended or not 2012-09-29 13:47:55 +09:00
rmackay9 00e79e7915 AP_TimerProcess: added simple example sketch 2012-09-29 13:23:51 +09:00
rmackay9 41fbb19cf5 AP_InertialSensor_MPU6000: replaced _cs_pin parameter with #define and saved 1 byte of memory
Updated ArduCopter, ArduPlane and example sketches in AP_InertialSensor, AP_IMU and AP_AHRS libraries because they no longer need to pass in cs_pin to the constructor
2012-09-28 19:21:59 +09:00
rmackay9 921ab3fe12 ArduCopter: bug fix to DMP initialisation (it was freezing due to SPI bus conflicts) 2012-09-28 18:34:23 +09:00
rmackay9 a7c2ea1891 AP_OpticalFlow: save and restore SPI bus speed to remove conflict with dataflash that runs at 8Mhz 2012-09-28 17:29:45 +09:00
rmackay9 bae53807b2 ArduCopter: tiny formatting change in defines.h 2012-09-27 17:40:54 +09:00
rmackay9 280488fa5e ArduCopter: bug fix to display ITERM enabled/disabled properly from cli
Also changed header for this message type to ITERM instead of just IT to make it more clear what it is
2012-09-27 17:40:30 +09:00
rmackay9 ed881117e0 ArduCopter: updated version to 2.7.4-Beta 2012-09-25 23:39:15 +09:00
rmackay9 6ed59fba91 AP_Motors: enable throttle curve by default 2012-09-25 23:36:35 +09:00
rmackay9 fff5d51694 ArduCopter: reduced Loiter Rate I to 0.04 (was 0.08) 2012-09-25 19:08:31 +09:00
rmackay9 a71aa21514 ArduCopter: increase default Loiter Rate P to 5.0 2012-09-25 12:19:44 +09:00
Andrew Tridgell bbec662483 APM: fixed build warning 2012-09-25 07:21:03 +10:00
Andrew Tridgell e04de04cbd Rover: fixed type of payload size 2012-09-25 07:20:54 +10:00
Andrew Tridgell 9f9d570597 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 14b1674c3e PeriodProcess: fixed build warning 2012-09-25 07:10:35 +10:00
Andrew Tridgell 81fd4b3a3c OpticalFlow: fixed SITL build 2012-09-25 07:10:22 +10:00
Andrew Tridgell 608cc60689 GPS: fixed SIRF auto detect code 2012-09-25 07:10:07 +10:00
Andrew Tridgell 89fa234233 SPI3: fixed the build 2012-09-25 07:03:23 +10:00
Michael Oborne 1ea946b2b4 modify ardurover name to match others 2012-09-24 18:31:47 +08:00
rmackay9 b2f12c4854 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 a75e93da06 AP_TimerProcess: add one additional slot for optical flow 2012-09-24 18:39:28 +09:00
rmackay9 163a7841f6 AP_OpticalFlow: small fixes to test sketch to make it work with modified lib 2012-09-24 18:39:22 +09:00
rmackay9 cb584f81fb 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 4d3d13582b AP_OpticalFlow_ADNS3080: detect if optical flow sensor is on standard or secondary SPI bus 2012-09-24 18:39:12 +09:00
rmackay9 ca383b393d AP_OpticalFlow: use AP_PeriodicProcess to read at 20hz 2012-09-24 18:39:07 +09:00
rmackay9 96bb6e9c70 SPI3: add new library to make use of secondary SPI bus 2012-09-24 18:39:01 +09:00
Andrew Tridgell fbc053e6e4 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 f5559a6b4a firmware build 2012-09-24 05:44:42 +08:00
Andrew Tridgell 51aeb2dd4c APM: prepare for 2.65 2012-09-24 07:14:30 +10:00
Andrew Tridgell d5c35fcc8b APM: fixed stick mixing for STABILISE mode
this is embarrassing
2012-09-24 07:14:30 +10:00
Michael Oborne ccc5f409c5 firmware build 2012-09-23 19:07:57 +08:00
Andrew Tridgell a4c3c5973d APM: prepare for 2.64 release 2012-09-23 19:32:56 +10:00
Andrew Tridgell 56c354eb4f 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 bc2aa84394 AP_Motors: remove stray debug message re set-up of throttle curve 2012-09-23 12:25:31 +09:00
rmackay9 e4c8eaa181 AP_Airspeed: fixed constructor compile error in example sketch 2012-09-23 11:44:28 +09:00
rmackay9 889d1bb36c ArduCopter: alt hold bug fix - removed reset next_WP in init_home 2012-09-23 01:00:06 +09:00
Andrew Tridgell 41017442f8 APM: removed unnecessary waypoint_sending flag 2012-09-22 20:17:19 +10:00
Andrew Tridgell f0f47f929a APM: send right parameter index when possible 2012-09-22 20:17:17 +10:00
Andrew Tridgell 764d86216e 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 6bae5ecd51 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 5c402fa398 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 63940d3ab6 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 472ec189a9 Housekeeping: Removed copies of Libraries from Tools/ArduPPM/Workbasket. 2012-09-21 16:51:37 -07:00
Andrew Tridgell e5846bd965 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 7b4dc246f8 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 ccf8ba3ce9 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