Commit Graph

26452 Commits

Author SHA1 Message Date
Randy Mackay
c9ff028ec3 Tools: update IRIS param file for AC3.5 2017-02-28 16:43:09 +09:00
Randy Mackay
7b3af58634 AC_Avoidance: fix AVOID_ANGLE_MAX parameter description 2017-02-28 15:33:59 +09:00
Randy Mackay
eb746eaeef Plane: fix SYSID_ENFORCE parameter description 2017-02-28 15:08:17 +09:00
Randy Mackay
b8f24fba98 Rover: fix SYSID_ENFORCE parameter description 2017-02-28 15:07:59 +09:00
Randy Mackay
627e3faf41 Copter: fix SYSID_ENFORCE parameter description 2017-02-28 15:06:51 +09:00
Randy Mackay
cc67335b26 Tools: update EnRoute frame parameters 2017-02-28 14:09:41 +09:00
Michael du Breuil
51c97af5b5 Rover: Reset home to AHRS location rather then snapshotting GPS
Also corrects rover locking home altitude to EKF origin altitude
2017-02-28 11:33:53 +11:00
Michael du Breuil
fbf6050876 Plane: Reset home to AHRS position rather then snapshotting GPS 2017-02-28 11:33:53 +11:00
Andrew Tridgell
adf215998f SRV_Channel: added MotorTilt to docs for SERVOn_FUNCTION 2017-02-28 08:10:56 +11:00
Andrew Tridgell
0d1bcd3b94 Copter: added automatic yaw to autotune position control 2017-02-27 19:34:44 +09:00
Andrew Tridgell
fa119f8231 Copter: enable poshold in autotune only from LOITER or POSHOLD 2017-02-27 19:34:42 +09:00
Andrew Tridgell
37fca03db3 Copter: implement simple position hold during autotune
this holds position during tuning with low gain
2017-02-27 19:34:36 +09:00
Randy Mackay
2b43c6aeed DataFlash: log range finder orientation 2017-02-27 15:18:40 +09:00
Randy Mackay
6798162a98 Sub: use only downward facing rangefinder 2017-02-27 15:18:34 +09:00
Randy Mackay
f29fe8bb88 Rover: always specify rangefinder instance 2017-02-27 15:18:32 +09:00
Randy Mackay
87df06c45f Tracker: update rangefinder declaration 2017-02-27 15:18:31 +09:00
Randy Mackay
c0f155fd27 Plane: use only downward facing rangefinder 2017-02-27 15:18:25 +09:00
Randy Mackay
c100f53ee6 Copter: add upward distance to proximity logging 2017-02-27 15:18:24 +09:00
Randy Mackay
34726208b2 Copter: clarify CHX_OPT avoidance and adsb-avoidance 2017-02-27 15:18:23 +09:00
Randy Mackay
51c00f8144 Copter: use only downward facing rangefinder 2017-02-27 15:18:16 +09:00
Randy Mackay
bc89432019 Replay: fix rangefinder instantiation 2017-02-27 15:18:14 +09:00
Randy Mackay
e725ae866b AP_OpticalFlow: fix example sketch 2017-02-27 15:18:13 +09:00
Randy Mackay
a74833a04a AP_AHRS: fix example sketch 2017-02-27 15:18:13 +09:00
Randy Mackay
65c8f87b17 AP_Frsky_Telem: only use downward facing rangefinder 2017-02-27 15:18:12 +09:00
Randy Mackay
3f6a734a71 AP_NavEKF3: only use downward facing rangefinder 2017-02-27 15:18:11 +09:00
Randy Mackay
563be389ee AP_NavEKF2: only use downward facing rangefinder 2017-02-27 15:18:10 +09:00
Randy Mackay
a093bcb05f AP_Proximity: add rangefinder driver
This allows avoidance using upward or forward facing range finders
2017-02-27 15:18:09 +09:00
Randy Mackay
c98e598ae2 AP_RangeFinder: fix example sketch 2017-02-27 15:18:08 +09:00
Randy Mackay
e7dd21a0bb AP_RangeFinder: remove primary, add orientation 2017-02-27 15:18:03 +09:00
Randy Mackay
49f4afc2a1 AC_Avoidance: add 2m margin to upward avoidance 2017-02-27 09:48:29 +09:00
Peter Barker
d170396acf Notify: Display: blank text line after 10s 2017-02-27 09:02:09 +09:00
Peter Barker
da03cf29d6 Notify: Display: pad GPS status/sat count to fix stray chars 2017-02-27 08:14:25 +09:00
Lucas De Marchi
f972fed70b AP_HAL_PX4: rename method to follow AP_HAL
This allows to avoid the cast in the HAL, making it easier to replace
the implementation with an Empty::RCOutput while prototyping.
2017-02-26 13:38:24 +11:00
Lucas De Marchi
686e0f08d6 AP_HAL: RCOutput: add optional timer_tick() method
This is common enough across the HAL implementaions so add a method for
it to avoid the need for casts inside the HALs.
2017-02-26 13:38:24 +11:00
Lucas De Marchi
a589a84e32 ArduCopter: just call set_throttle_range()
Now set_throttle_range in AP_Motors does the right thing, calling out
the RCOutput method.
2017-02-26 13:38:24 +11:00
Lucas De Marchi
ade1876318 AP_Motors: tie esc scaling with set_throttle_range()
We need to update the esc scaling from inside the Motors library, that
has access to the MOT_PWM_[MIN|MAX] values. Otherwise even though the
AP_Motors library honors the value for calculations, the RCOutput
drivers that need the scaling to set the real HW scaling will not work.
Right now it scales the value using the throttle_channel's min/max, even
though AP_Motors may be passing values in other range.
2017-02-26 13:38:24 +11:00
Lucas De Marchi
e1eda3066c AP_HAL_PX4: SPIDevice: add missing ifdefs
These sensors may always be present on px4fmu* boards, but they are not
always present for all boards supported by the PX4Firmware.
2017-02-26 13:37:13 +11:00
Lucas De Marchi
2d50eb312c AP_InertialSensor: add support to MPU6500
Just like and MPU9250 without mag and with different WHOAMI register.
2017-02-26 13:37:13 +11:00
Lucas De Marchi
8002df6e45 AP_HAL: add MPU6500 defines 2017-02-26 13:37:13 +11:00
Andrew Tridgell
4ff5bf5af5 Plane: zero integrators and set throttle mix
this zeros fixed wing integrators during TRANSITION_AIRSPEED_WAIT and
uses a zero throttle mix during TRANSITION_TIMER. This should allow
the fixed wing controller more time to adapt to forward flight
2017-02-26 09:20:51 +11:00
Andrew Tridgell
e5ed20d6f7 AC_AttitudeControl: added set_throttle_mix_value()
used by quadplane
2017-02-26 09:20:51 +11:00
Andrew Tridgell
c061d5615b Plane: added manual input mask for tailsitter prop-hang
This adds new parameters Q_TAILSIT_MASK and Q_TAILSIT_MASKCH. These
parameters allow a user to use the tailsitter capabilities of a 3D
plane to teach themselves to prop-hang.

It works by allowing the user to setup a switch on their transmitter
to enable manual pass-thru of a set of the input channels to outputs
when in tailsitter hover. The user can then use that switch to allow
learning of hover control in a 3D plane one channel (or two channels)
at a time.
2017-02-26 09:20:13 +11:00
Andrew Tridgell
3bb25eb194 Plane: added Q_TAILSIT_INPUT
this allows the user to control tailsitters either in body frame (like
a plane) or in earth frame (like a multicopter). This is useful for
people wanting to learn to fly prop-hang on 3D planes
2017-02-26 09:20:13 +11:00
Andrew Tridgell
ea5186340b Plane: added Q_TILT_RATE_UP and Q_TILT_RATE_DN as separate parameters
allow control of tilt rate separately for UP and DOWN

always allow at least 90 degrees/second for switching to MANUAL
2017-02-25 17:53:26 +11:00
Jacob Walser
ec15f0fee5 autotest: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser
289aab06bc scripts: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser
25663f5740 wscript: Add Sub 2017-02-25 17:50:18 +11:00
Jacob Walser
81935f6b7c Sub: Handle RC input for SITL autotest 2017-02-25 17:50:18 +11:00
Andrew Tridgell
053f0b4ce7 Sub: fixed AHRS_View update 2017-02-24 15:51:11 -05:00
Peter Barker
e744460ff5 AP_AHRS: mark many functions as override
Also take the opportunity to remove void parameter
2017-02-24 21:13:08 +11:00