Commit Graph

15145 Commits

Author SHA1 Message Date
Andrew Tridgell bdd265a985 PX4: use mode_pwm4 on startup
this prevents any pin activity on startup
2015-02-23 14:15:14 +11:00
Andrew Tridgell 7c975808f8 Copter: provide terrain height to rangefinder
used for power saving
2015-02-23 14:15:14 +11:00
Andrew Tridgell 422d0f05bd Plane: provide terrain height to rangefinder
used for power saving
2015-02-23 14:15:14 +11:00
Andrew Tridgell 64dfc68784 Plane: log mode on arming
this ensures the log is recorded with the right flight mode
2015-02-23 14:15:14 +11:00
Andrew Tridgell 9efc0acf19 PX4: start the pwm_input driver 2015-02-23 14:15:14 +11:00
Andrew Tridgell a6454c9918 PX4: build the pwm_input driver 2015-02-23 14:15:14 +11:00
Andrew Tridgell a6d76b4e03 AP_RangeFinder: added PX4-PWM rangefinder
uses PWM input driver to read a rangefinder
2015-02-23 14:15:14 +11:00
Andrew Tridgell 6cf029f82a Plane: fixed to allow TKOFF_THR_DELAY up to 12.7 seconds
thanks to a report by jman841
2015-02-21 20:23:22 +11:00
Andrew Tridgell bee703ab2a Plane: removed incorrect conditional on parameter enum 2015-02-21 20:23:22 +11:00
Randy Mackay b650d39786 InertialSensor: remove product_id set to zero 2015-02-21 09:14:33 +09:00
Jonathan Challinger 7b0e806db1 AP_Mount: correct status_msg to conform to MAVLink specification 2015-02-21 08:33:50 +09:00
Andrew Tridgell 74ef1b8d2f Copter: removed HomeState from defines.h
now in AP_Common.h
2015-02-21 10:14:32 +11:00
Andrew Tridgell 76f8b9b07c Plane: support DO_SET_HOME MAVLink command 2015-02-21 10:14:18 +11:00
Andrew Tridgell 3a51bac0d0 AP_Arming: use new enum for home_is_set 2015-02-21 10:13:43 +11:00
Andrew Tridgell a53395cdb8 AP_Common: added HomeState enum from copter 2015-02-21 10:13:17 +11:00
Andrew Tridgell 6781a8d329 AP_AHRS: fixed get_position for EKF to use correct relative altitude
we need to use the EKF relative height plus the current AHRS home
2015-02-21 10:12:53 +11:00
Andrew Tridgell 869fb23062 HAL_SITL: implement SIM_GPSDRIFTALT 2015-02-21 08:33:01 +11:00
Andrew Tridgell 63c792bc1c SITL: added SIM_GPSDRIFTALT simulation control 2015-02-21 08:32:49 +11:00
Grant Morphett 3535574b9d Rover: Created the rover release v2.48 2015-02-20 17:07:59 +11:00
Randy Mackay 343bcbb1c9 Tracker: fixed MAVLink stream trigger calculations 2015-02-20 13:16:05 +09:00
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