Randy Mackay
f29fe8bb88
Rover: always specify rangefinder instance
8 years ago
Randy Mackay
87df06c45f
Tracker: update rangefinder declaration
8 years ago
Randy Mackay
c0f155fd27
Plane: use only downward facing rangefinder
8 years ago
Randy Mackay
c100f53ee6
Copter: add upward distance to proximity logging
8 years ago
Randy Mackay
34726208b2
Copter: clarify CHX_OPT avoidance and adsb-avoidance
8 years ago
Randy Mackay
51c00f8144
Copter: use only downward facing rangefinder
8 years ago
Randy Mackay
bc89432019
Replay: fix rangefinder instantiation
8 years ago
Randy Mackay
e725ae866b
AP_OpticalFlow: fix example sketch
8 years ago
Randy Mackay
a74833a04a
AP_AHRS: fix example sketch
8 years ago
Randy Mackay
65c8f87b17
AP_Frsky_Telem: only use downward facing rangefinder
8 years ago
Randy Mackay
3f6a734a71
AP_NavEKF3: only use downward facing rangefinder
8 years ago
Randy Mackay
563be389ee
AP_NavEKF2: only use downward facing rangefinder
8 years ago
Randy Mackay
a093bcb05f
AP_Proximity: add rangefinder driver
...
This allows avoidance using upward or forward facing range finders
8 years ago
Randy Mackay
c98e598ae2
AP_RangeFinder: fix example sketch
8 years ago
Randy Mackay
e7dd21a0bb
AP_RangeFinder: remove primary, add orientation
8 years ago
Randy Mackay
49f4afc2a1
AC_Avoidance: add 2m margin to upward avoidance
8 years ago
Peter Barker
d170396acf
Notify: Display: blank text line after 10s
8 years ago
Peter Barker
da03cf29d6
Notify: Display: pad GPS status/sat count to fix stray chars
8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
Lucas De Marchi
2d50eb312c
AP_InertialSensor: add support to MPU6500
...
Just like and MPU9250 without mag and with different WHOAMI register.
8 years ago
Lucas De Marchi
8002df6e45
AP_HAL: add MPU6500 defines
8 years ago
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
8 years ago
Andrew Tridgell
e5ed20d6f7
AC_AttitudeControl: added set_throttle_mix_value()
...
used by quadplane
8 years ago
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.
8 years ago
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
8 years ago
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
8 years ago
Jacob Walser
ec15f0fee5
autotest: Add Sub
8 years ago
Jacob Walser
289aab06bc
scripts: Add Sub
8 years ago
Jacob Walser
25663f5740
wscript: Add Sub
8 years ago
Jacob Walser
81935f6b7c
Sub: Handle RC input for SITL autotest
8 years ago
Andrew Tridgell
053f0b4ce7
Sub: fixed AHRS_View update
8 years ago
Peter Barker
e744460ff5
AP_AHRS: mark many functions as override
...
Also take the opportunity to remove void parameter
8 years ago
Peter Barker
6ee4045878
AP_AHRS: mark new relative position functions override
8 years ago
Peter Barker
35f876f853
AP_AHRS: examples: correct AHRS_Test
...
This is required so gcs() returns an object
8 years ago
Peter Barker
4ed7fb154f
AP_AHRS: supply missing get_relative_position_D_home
...
Simply returns the baro altitude (like EKF does if it lacks
position)
8 years ago
Peter Barker
24647fb2b0
AP_AHRS: make get_relative_position_D_home pure virtual
...
Having a void function with a return parameter that isn't
filled in by the base class function seems like a bad idea
8 years ago
Peter Barker
e2f15e5fdb
Tools: create a GCS_Replay class
...
Avoids a segfault as we assume gcs() returns an object
Provides some usefult debug as to what we're sending to the GCS as
debug
8 years ago
Peter Barker
d6807d749c
GCS_MAVLink: make send_statustext virtual
8 years ago
Peter Barker
3f7d58fe2c
sim_vehicle.py: allow a list of defaults files to be specified
8 years ago
Peter Barker
c93942695f
AP_Param: load parameters from a comma-separated-list
...
This patch will break things for anyone who is using
a comma in their filenames for their ardupilot defaults
files.
8 years ago
Peter Barker
fe189fefbc
AP_Param: Factor load_defaults_file (NFC)
8 years ago
Lucas De Marchi
0a381dfa1b
AP_HAL: document method to split transfers
8 years ago
Lucas De Marchi
32d208dbe8
AP_HAL_Linux: move check for _split_transfers
...
This is likely not true, so allow not to check the other conditions.
Also remove comment since this is going to be added to the method.
8 years ago
Andrew Tridgell
df1da3c14e
AP_RangeFinder: setup for split I2C transfers
...
this fixes PulsedLight Lidar on Linux
8 years ago
Andrew Tridgell
a2e445cf24
HAL_Linux: implement set_split_transfers() API for I2C
8 years ago
Andrew Tridgell
dc26cbc074
AP_HAL: added set_split_transfers() API for I2C
8 years ago