Randy Mackay
f73efd5249
AC_Avoidance: add adjust_velocity_z
...
This allows reducing the climb rate to slow the vehicle's climb so it does not breach the altitude fence
2017-01-18 09:35:47 +09:00
Randy Mackay
12dd6e11fb
AC_Avoidance: constify get_position
2017-01-18 09:35:47 +09:00
Randy Mackay
a47e215a8e
AP_Proximity: add get_upward_distance
...
This allow support for upward facing proximity sensor received through a DISTANCE_SENSOR message.
Also added SITL test
2017-01-18 09:35:47 +09:00
Randy Mackay
e7ba2420c1
AP_InertialNav: expose get_hgt_ctrl_limit to parent class
2017-01-18 09:35:47 +09:00
mirkix
d2431dafd0
AP_AHRS: fix description
2017-01-17 18:55:46 +00:00
murata
e903cb9945
AP_Math: Change mask value to hexadecimal number.
2017-01-17 10:20:15 -08:00
Peter Barker
8b38ce666d
SITL: SIM_XPlane: fix fabsf/abs warning; location alts are in integer cm
2017-01-17 09:41:37 -08:00
Peter Barker
cc86011d20
Copter: use abs() on integers; Location alts are in integer cm
2017-01-17 09:41:37 -08:00
Peter Barker
96d73affae
Copter: fix float warning; get_velocity_z() returns float
2017-01-17 09:41:37 -08:00
Peter Barker
e9a0e98863
AP_HAL_SITL: use fabs on double values
2017-01-17 09:41:37 -08:00
Julien Beraud
b561837b41
RangeFinder_Bebop: Fix mode selection
...
mistakes in selecting mode
2017-01-17 09:34:25 -08:00
Julien Beraud
8a1f4e048f
RangeFinder_Bebop: fix spi speed
...
Set spi speed. Else 0 will be sent at each transfer.
2017-01-17 09:34:25 -08:00
Pierre Kancir
e627bbc912
AP_HAL: Board fix typo for baro BMP280_SPI
2017-01-17 17:33:37 +00:00
Randy Mackay
189b766f2b
AC_AttControl: remove redundant parameter set
2017-01-17 14:56:07 +09:00
Leonard Hall
36b6218e31
Copter: integrate attitude control's set-throttle-mix-manual
2017-01-17 14:19:16 +09:00
Leonard Hall
c6d2fc3d5d
AC_AttitudeControl: add rpy mix manual
...
This allows adjusting the attitude control vs throttle level in manual
flight modes (Stabilize, ACRO)
2017-01-17 14:19:09 +09:00
Randy Mackay
becc56da0b
Copter: AP_Arming internal references start with underscore
2017-01-17 11:45:08 +09:00
Randy Mackay
f476c706f6
Copter: add override to AP_Arming_Copter::pre_arm_checks
2017-01-17 11:45:08 +09:00
Randy Mackay
cc217550c0
Copter: rename arming_checks to AP_Arming
2017-01-17 11:45:08 +09:00
Randy Mackay
a52db9f29d
Copter: fix motors_checks to AP_Arming
2017-01-17 11:45:08 +09:00
Randy Mackay
ee9588c674
Copter: fix proximity arming checks
2017-01-17 11:45:08 +09:00
Randy Mackay
b89d3564c7
Copter: move set_pre_arm_check to arming_checks
2017-01-17 11:45:08 +09:00
Peter Barker
4ea6cf4ce3
Copter: transfer old ARMING_CHECK value to new location
2017-01-17 11:45:08 +09:00
Peter Barker
ac980fdd47
Copter: use compass_checks from AP_Arming
...
User-visible changes:
- checks will fail if calibration is in progress
- PX4FMU_V1 will now have COMPASS_OFFSETS_MAX of 600, not 500
- if the primary compass is not set to be used then compass checks will always pass
2017-01-17 11:45:08 +09:00
Peter Barker
f3a31b988a
Copter: use ins_checks from AP_Arming
...
Functionality changes:
- gyros and accels only have to be consistent in last 10 seconds to pass
- ins.use_accel() is honoured when checking for consistency
- ins.use_gyro() is honoured when checking for consistency
- threshold is trippled rather than doubled for accel cal checks
- checks are reordered
2017-01-17 11:45:08 +09:00
Peter Barker
bd6ffc025e
Copter: start conversion to AP_Arming_Copter
2017-01-17 11:45:08 +09:00
Randy Mackay
ae18c25070
Copter: add AP_Arming to build
2017-01-17 11:45:08 +09:00
Randy Mackay
d35a208dae
AP_Arming: remove unused set_enabled_checks
2017-01-17 11:45:08 +09:00
Randy Mackay
34a850e1a5
AP_Arming: formatting and comment fixes
...
No functional change
2017-01-17 11:45:08 +09:00
Randy Mackay
593f035c53
AP_Arming: remove required, min-volt, min-volt2 params from Copter
2017-01-17 11:45:08 +09:00
Randy Mackay
5be3d14648
AP_Arming: rudder_arming moved to AP_Arming_Plane
2017-01-17 11:45:08 +09:00
Peter Barker
1f37366c5b
AP_Arming: make expected magnetic field strength available to subclasses
2017-01-17 11:45:08 +09:00
Peter Barker
8159c4b747
AP_Arming: add comments on parameters only currently used by plane
2017-01-17 11:45:08 +09:00
Randy Mackay
e906310b71
Plane: rudder_arming moved to AP_Arming_Plane
2017-01-17 11:45:08 +09:00
Randy Mackay
7cc8b7232c
Plane: rename arming_checks to AP_Arming
2017-01-17 11:45:08 +09:00
Peter Barker
fc28beacea
Plane: AP_Arming: use callback in place of variable reference for home state
2017-01-17 11:45:08 +09:00
Peter Barker
ddf172c75b
Rover: AP_Arming: use callback in place of variable reference for home state
2017-01-17 11:45:08 +09:00
Peter Barker
362c6e1b9e
AP_Arming: use callback in place of variable reference for home state
2017-01-17 11:45:08 +09:00
Pierre Kancir
b31d2a59da
APMRover2: Fix skid steer in when in skid steer out
2017-01-17 10:31:43 +11:00
Pierre Kancir
e0a3caea13
APMRover2: Steering fix style
2017-01-17 10:31:43 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
363574244b
AP_Stats: Add missing parameter units
2017-01-16 19:07:27 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
bebb128d22
AP_Proximity: Add missing parameter units
2017-01-16 19:07:27 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
cae557fb4c
AP_NavEKF3: Correct display names, bitmask and units
2017-01-16 19:07:26 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
715d094678
AP_NavEKF2: Correct display names, bitmask and units
2017-01-16 19:07:26 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
2243d900d5
AP_Gripper: Add missing parameter units
2017-01-16 19:07:26 +00:00
Julien Beraud
0d4ca03dcd
AP_HAL_Linux: init SPIDevice speed by default
...
Else a speed of 0 will be sent at each transfer.
Behaviour has changed when introducing SPIDevice
2017-01-16 10:23:47 -08:00
Randy Mackay
0b85921505
Tools: update param file for sitl optflow testing
2017-01-16 16:40:34 +09:00
Randy Mackay
6aeef76768
AP_Proximity: fix get_boundary_points in case of multiple sensors
2017-01-16 16:38:18 +09:00
Andrew Tridgell
8aa100d164
AP_Baro: fix for change to timer API
2017-01-14 12:54:37 +11:00
mirkix
4e06be38ac
AP_HAL: Add Bosch BMP280 driver
2017-01-14 12:52:07 +11:00