Commit Graph

15775 Commits

Author SHA1 Message Date
João Fortuna d7d5b7bb73 Rover: Fixed MAVLINK stream trigger calculation. 2015-02-20 13:13:02 +09:00
Joao Fortuna 6ac8629451 Plane: Fixed MAVLINK stream trigger calculation. 2015-02-20 13:12:59 +09:00
João Fortuna b99f38d39d Copter: Fixed MAVLINK stream trigger calculation. 2015-02-20 13:10:57 +09:00
Randy Mackay 73e00108e4 Mount: SToRM32 remove unnecessary include 2015-02-20 11:27:15 +09:00
Randy Mackay 23f0bab5d6 Mount: integrate SToRM32 backend 2015-02-20 11:05:40 +09:00
Randy Mackay 92c7949355 Mount: SToRM32 mount backend 2015-02-20 11:05:31 +09:00
Andrew Tridgell dd5be8837a autotest: raise timeout 2015-02-19 21:49:43 +11:00
Andrew Tridgell b21c00fcf9 AP_L1_Control: changed default L1 tuning to 20
this is more appropriate for most aircraft
2015-02-19 16:19:33 +11:00
Andrew Tridgell ec70042d25 APM_Control: raise default IMAX to 3000
on the first flight users often need more I gain to overcome poor
choices for the P gain
2015-02-19 16:15:33 +11:00
Andrew Tridgell cd2898b149 autotest: removed old table of contents link in generated paramater docs 2015-02-19 15:58:30 +11:00
Andrew Tridgell d0d5524bce Plane: mark ELEVON_MIXING as deprecated 2015-02-19 15:55:30 +11:00
Andrew Tridgell 6959cdbf15 RC_Channel: fixed usage of _reverse to be consistent
users could set RCn_REV to 0 and get very confusing results
2015-02-18 12:47:56 +11:00
Andrew Tridgell 307b9e807f Copter: reduced build warnings
removed some unused code, and mark some functions with UNUSED_FUNCTION
2015-02-18 11:13:48 +11:00
Andrew Tridgell 26ac29840c AP_Common: added UNUSED_FUNCTION macro
useful for functions that are only in some builds
2015-02-18 11:12:43 +11:00
Andrew Tridgell 50a11c7d5a AP_Mount: added an alternative tilt-only gimbal control method
this adds some nice control characteristics based on work by Paul and
Arthur, but is tilt only
2015-02-16 16:48:55 +11:00
Andrew Tridgell 9b2d44d6ed AP_InertialSensor: use delay_microseconds_boost()
this gives much more consistent timing for PX4
2015-02-16 12:19:13 +11:00
Andrew Tridgell 18131eae13 HAL_PX4: added delay_microseconds_boost()
implemented using hrt callback with sem_post wrapper
2015-02-16 12:19:13 +11:00
Andrew Tridgell c63540f7b1 AP_HAL: added delay_microseconds_boost()
this will be used by wait_for_sample() to boost priority for a short
period at the end of each delay_microseconds()
2015-02-16 11:52:37 +11:00
Andrew Tridgell f54d799bff AP_InertialSensor: added TIMING_DEBUG code for finding loop timing issues 2015-02-16 10:12:10 +11:00
Andrew Tridgell 3f225b1a73 Plane: lower default FS_LONG_TIMEOUT value from 20 to 5 seconds
20 seconds is too long to be in CIRCLE mode
2015-02-16 10:03:17 +11:00
Andrew Tridgell 191d803968 Copter: make PERF info message into a STATUSTEXT message
this makes it appear properly in tlogs. Also show both min and max
loop times
2015-02-16 10:02:53 +11:00
Randy Mackay 73f40c697b Tracker: remove unused definitions 2015-02-15 12:16:27 +09:00
Randy Mackay 8e75c9580c InertialNav: get_origin returns zero when no origin
If the EKF has not yet set the origin return location of all zeros
instead of uninitialised location
2015-02-15 11:17:37 +09:00
Randy Mackay da4a36c4e0 Copter: fix nack result_unsupported when arming fails
We should return unsupported if param1 does not equal 0 or 1
2015-02-14 14:27:47 +09:00
Randy Mackay 7ae1436b97 Copter: nack result_failed when arming fails
Previously result_unsupported was returned which is a less accurate
description of the failure
2015-02-14 14:03:41 +09:00
Andrew Tridgell 0b3118b3c4 Travis: more packages for new PX4 build 2015-02-14 12:31:49 +11:00
Andrew Tridgell 648c398ccd PX4: added README for new tools 2015-02-14 12:25:44 +11:00
Andrew Tridgell 5d6bed2814 PX4: added genmsg and gencpp tools
these are needed for the latest PX4Firmware build
2015-02-14 12:25:44 +11:00
Andrew Tridgell 96d290a283 PX4: add PYTHONPATH for genmsg and gencpp tools 2015-02-14 12:25:44 +11:00
Andrew Tridgell 04bef5ccf3 AP_InertialSensor: don't skip delay if we are a bit early
this produces a bit more even timing
2015-02-14 12:25:44 +11:00
Andrew Tridgell 619196b6b3 HAL_PX4: fixes for new PX4 device paths 2015-02-14 12:25:44 +11:00
Andrew Tridgell 38d63d51a5 AP_RangeFinder: change for new PX4 device paths 2015-02-14 12:25:44 +11:00
Andrew Tridgell 995311f807 AP_OpticalFlow: change for new PX4 device paths 2015-02-14 12:25:44 +11:00
Andrew Tridgell 9f7e20090c AP_Notify: change for new PX4 device paths 2015-02-14 12:25:43 +11:00
Andrew Tridgell 4537acb898 AP_InertialSensor: change for new PX4 device paths 2015-02-14 12:25:43 +11:00
Andrew Tridgell 99ed508903 AP_Compass: change for new PX4 paths 2015-02-14 12:25:43 +11:00
Andrew Tridgell beeb9173ea AP_Baro: change for new PX4 paths 2015-02-14 12:25:43 +11:00
Andrew Tridgell 26a77dc502 AP_Airspeed: change for new PX4 paths 2015-02-14 12:25:43 +11:00
Andrew Tridgell 001643d5a3 HAL_PX4: always use the hrt semaphore based delay
the up_udelay() could cause too much timing jitter
2015-02-14 12:25:43 +11:00
Andrew Tridgell 7f0060b881 HAL_PX4: reduce the amount of time between loop() calls
500usec is too long for 400Hz copter
2015-02-14 12:25:43 +11:00
myly10 7bb079b348 AP_Parachute.cpp: Typo correction. 2015-02-13 16:16:10 +09:00
Grant Morphett 171c0476b6 APMrover2: Publish Beta Release of version 2.48 2015-02-13 08:34:35 +11:00
Randy Mackay 77d8f88e45 Copter: fence, rtl, land use alt-above-home 2015-02-12 15:08:00 +09:00
Randy Mackay 4d566bf462 Copter: current_loc.alt is alt-above-home 2015-02-12 15:07:59 +09:00
Randy Mackay 7e11ec9a6f Copter: surf tracking, do-land use inav alt
Also CTUN logging of inav alt switched to get directly from inertial nav
lib instead of using current_loc.alt
2015-02-12 15:07:00 +09:00
Randy Mackay cb66bf8b98 Copter: functions to convert alt-above-home vs alt-above-origin 2015-02-12 15:01:05 +09:00
Randy Mackay 9bd3a7249a Copter: disable inertial nav 2015-02-12 15:01:03 +09:00
Randy Mackay fbe87afb9c Copter: pre-arm check of EKF origin vs home
EKF origin must be within 50km of home or numerical errors get too large
2015-02-12 15:01:00 +09:00
Randy Mackay e7579198c9 Copter: when arming set home to current loc only if not locked 2015-02-12 15:00:58 +09:00
Randy Mackay 9e156d2f81 Copter: always update current_loc regardless of inav state
If inertial nav is not initialised these will be set to zero anyway
2015-02-12 15:00:56 +09:00