Randy Mackay
2b43c6aeed
DataFlash: log range finder orientation
2017-02-27 15:18:40 +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
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
e5ed20d6f7
AC_AttitudeControl: added set_throttle_mix_value()
...
used by quadplane
2017-02-26 09:20:51 +11: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
Peter Barker
6ee4045878
AP_AHRS: mark new relative position functions override
2017-02-24 21:13:08 +11:00
Peter Barker
35f876f853
AP_AHRS: examples: correct AHRS_Test
...
This is required so gcs() returns an object
2017-02-24 21:13:08 +11:00
Peter Barker
4ed7fb154f
AP_AHRS: supply missing get_relative_position_D_home
...
Simply returns the baro altitude (like EKF does if it lacks
position)
2017-02-24 21:13:08 +11:00
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
2017-02-24 21:13:08 +11:00
Peter Barker
d6807d749c
GCS_MAVLink: make send_statustext virtual
2017-02-23 23:03:54 -08:00
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.
2017-02-23 22:46:33 -08:00
Peter Barker
fe189fefbc
AP_Param: Factor load_defaults_file (NFC)
2017-02-23 22:46:33 -08:00
Lucas De Marchi
0a381dfa1b
AP_HAL: document method to split transfers
2017-02-23 22:38:15 -08:00
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.
2017-02-23 22:38:15 -08:00
Andrew Tridgell
df1da3c14e
AP_RangeFinder: setup for split I2C transfers
...
this fixes PulsedLight Lidar on Linux
2017-02-23 22:38:15 -08:00
Andrew Tridgell
a2e445cf24
HAL_Linux: implement set_split_transfers() API for I2C
2017-02-23 22:38:15 -08:00
Andrew Tridgell
dc26cbc074
AP_HAL: added set_split_transfers() API for I2C
2017-02-23 22:38:15 -08:00
Michael du Breuil
7b483a1460
AP_GPS: Ublox, always quickly set the rates until we have fetched the version
2017-02-23 07:33:58 +11:00
Tom Pittenger
76dabf2dd9
AP_ADSB: cleanup
...
non-functional change
2017-02-22 11:55:47 -08:00
Tom Pittenger
5adbf9b232
AP_ADSB: populate altitude via pressure for ADSB-Out
...
fixes https://github.com/ArduPilot/ardupilot/issues/5424
2017-02-22 11:55:47 -08:00
Michael du Breuil
1de198883d
AP_NavEKF3: Check gps vertical accuracy for aligning the GPS
2017-02-22 11:53:42 -08:00
Michael du Breuil
8b69f1708e
NavEKF2: Add optional check for GPS vertical accuracy before aligning the EKF
2017-02-22 11:53:42 -08:00
Michael du Breuil
61023fc636
NavEKF: Add GPS vertical accuracy to nav_gps_flags
2017-02-22 11:53:42 -08:00
Jacob Walser
cde1452da3
AP_Motors: Use fabsf instead of fabs
2017-02-22 11:25:18 -08:00
Jacob Walser
870183f26b
AP_TemperatureSensor: Use powf instead of pow
2017-02-22 11:25:18 -08:00
Jacob Walser
06b394bf43
AP_JSButton: Fix param metadata for relay enum values
2017-02-22 14:42:23 +00:00
Tom Pittenger
fb214ef95f
AP_Baro: fixed spelling in comment
2017-02-21 02:23:23 -08:00
Jacob Walser
8c87868b5c
AP_AHRS: Add submarine vehicle class
2017-02-21 11:26:14 +11:00
Jacob Walser
5829d4b645
AC_Avoidance: Refactor fence.get_safe_alt() to fence.get_safe_alt_max()
2017-02-21 11:26:14 +11:00
Jacob Walser
e7a34b0fb3
AP_NavEKF2: Add set_baro_alt_noise method
2017-02-21 11:26:14 +11:00
Jacob Walser
e7caf05238
AP_HAL_SITL: Add support for Sub
2017-02-21 11:26:14 +11:00
Jacob Walser
613bc46592
AP_Baro: Add support for water pressure and Sub
2017-02-21 11:26:14 +11:00
Jacob Walser
3c6df7cc0e
AC_Fence: Add minimum altitude limit
...
get_safe_alt() -> get_safe_alt_max() and get_safe_alt_min()
2017-02-21 11:26:14 +11:00
Jacob Walser
0e124d0be5
AC_PosControl: Add AC_PosControl_Sub class
2017-02-21 11:26:14 +11:00
Jacob Walser
925fa5d214
AC_AttitudeControl: Add AC_AttitudeControl_Sub class
2017-02-21 11:26:14 +11:00