Andrew Tridgell
039e7366b0
AP_InertialSensor: support new sensor config setup
6 years ago
Andrew Tridgell
481ae22671
AP_Compass: support new sensor config setup
6 years ago
Andrew Tridgell
f7b9368b94
AP_Baro: support new sensor config setup
6 years ago
Andrew Tridgell
5eb488303c
HAL_ChibiOS: convert Pixracer to use new sensor config
6 years ago
Andrew Tridgell
e198d552a8
HAL_ChibiOS: support IMU, COMPASS and BARO lines in hwdef.dat
...
this allows for main sensors to be set in hwdef.dat, making adding new
boards simpler
6 years ago
Andrew Tridgell
532b82b3a3
AP_Compass: use DRIVER_HMC5843 to match driver name
6 years ago
Tom Pittenger
c67a585b68
AP_Proximity: increase angular resoluion to mavlink packet OBSTACLE_DISTANCE
6 years ago
Peter Barker
1c4b5b0d73
AP_Arming: move arm status statustext messages back into vehicles
...
Not all vehicle maintainers like having these emitted as part of normal
operations.
6 years ago
Peter Barker
61a2be1470
AP_Arming: change arm and disarm to account for Copter now using them
6 years ago
Peter Barker
75ae6b59b0
GCS_MAVLink: allow Copter to disallow mavlink disarm
6 years ago
Peter Barker
84b16ea3dd
AP_Arming: move check for ARMING_CHECK_NONE back into relevant vehicles
...
Plane and Rover allow all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE. Not all vehicles allow this, so move this bypass
back into Plane and Rover.
6 years ago
Peter Barker
e340873d88
GCS_MAVLink: canonicalise on success on commanded-to-arm-when-armed
...
This means the mavlink return value indicates the current arm status of
the vehicle rather than success/failure of transitioning to the armed or
disarmed state (where trying to arm when armed is considered a failure).
MAVLink is a lossy communication mechanism. It would not be
unreasonable for a GCS to issue a disarm command multiple times to
increase the chances of the command getting through.
6 years ago
Peter Barker
c38e5ba4fc
RC_Channel: handle AUX_FUNC::ARMDISARM
6 years ago
Peter Barker
b857d2c1af
GCS_MAVLink: handle MAV_CMD_COMPONENT_ARM_DISARM
6 years ago
Peter Barker
d67e68eb03
AP_Logger: move LOG_ARM_DISARM_MSG in
6 years ago
Peter Barker
aff6cb424f
AP_Arming: move Log_Write_Arm_Disarm in, make disarm virtual
6 years ago
Peter Barker
d384827291
AP_Arming: add singleton
6 years ago
Andrew Tridgell
48ac028cd0
AP_OSD: take ahrs and baro semaphores
...
this ensures OSD data is self-consistent within each item
6 years ago
Andrew Tridgell
5023b51679
AP_Baro: added semaphore for safe multi-thread use of APIs
6 years ago
Peter Barker
e4de5a17d1
AP_Math: add pitch-7 to rotation tests
6 years ago
Andrew Tridgell
e2eda63d2c
AP_Math: added new rotation for PITCH_7
6 years ago
Peter Barker
977fe09276
AP_Math: add a more complex polygon for Polygon_outside tests
6 years ago
Peter Barker
d3971c18fa
AP_Math: more tests for closed-vs-open polygons
6 years ago
Peter Barker
d74e6db12e
AP_Math: add more tests for Polygon_outside
6 years ago
Peter Barker
da81c5fe39
AP_Beacon: do not include fence closing/duplicate point in polygon boundary
6 years ago
Peter Barker
de9fa4c730
AC_Avoid: call Polygon_outside directly; avoids losing first point
6 years ago
Peter Barker
4be3a48275
AC_Avoid: adjust for renamed get_polygon_points
6 years ago
Peter Barker
2822c635ec
AC_Fence: correct get_boundary_points to account for closing point
...
Also rename from get_polygon_points
6 years ago
Peter Barker
36fe9a18a0
AP_Math: make Polygon_outside cope with being passed unclosed polygons
6 years ago
Randy Mackay
2061621951
AP_Proximity: default YAW_CORR to 0
...
The default of 22 was good when the Lightware SF40C was our only proximity sensor but not good now that we have numerous options
6 years ago
Randy Mackay
ff3d3d256c
AP_Proximity: RPLidarA2 supports yaw-correction and orientation params
6 years ago
斯东Stone
c0e8a443af
AP_OpticalFlow: Correct CX-OF Data Format Sequence
...
Correct CX-OF (a.k.a. UART Version PMW3901) Data Format Sequence
6 years ago
Randy Mackay
ce44d127c0
AR_WPNav: add is_destination_valid accessor
6 years ago
Peter Barker
ab7ee4fefb
AP_Common: Location.cpp: add sanity checks
6 years ago
Michael Oborne
6031f5b6a9
AP_GPS_UBLOX: add support for TIMEGPS message. used to get gps week
6 years ago
Peter Barker
fc71e1ba53
AP_InternalError: add internal error for out-of-range bitmask ops
6 years ago
Peter Barker
9d4bdbf3d5
AP_Common: add sanity check into bitmask get/set
...
Also return false if we are asked about an out-of-bounds bit
6 years ago
Peter Hall
5839c1ebf6
SITL: Sailboat: write rpm and airspeed for windvane backends
6 years ago
Peter Hall
f26e1dc8e8
AP_WindVane: add modern devices rev p cal
6 years ago
Peter Hall
9dba9867c6
AP_WindVane: mini onion
6 years ago
Peter Barker
dbbf09d018
AP_Proximity: minor performance enhancements
6 years ago
Peter Barker
1c7a8c1509
AP_Beacon: correct parameter documentation to include SITL
6 years ago
Peter Barker
64aafb2af2
AP_Math: add Polygon_outside tests for long template instantiation
6 years ago
Peter Barker
51a0401383
AP_Math: correct Polygon_outside floating point instatiation
...
This routine was entemplatificated from the integer version, which was
designed to be perfect across representable ranges of points. The
floating point version suffered from a rounding problem.
6 years ago
Peter Barker
b35b65eed1
AP_Math: add GTEST suite for Polygon_outside
6 years ago
Peter Barker
1ce2424e49
AP_HAL_Linux: add required override keyword on configure_parity
...
Also remove virtual - doesn't make sense here.
6 years ago
Michael du Breuil
a1fda8bc76
AP_BLHeli: Update to support newer targets and protocols
6 years ago
Lucas De Marchi
4f73881c4b
AP_RangeFinder: TFMiniPlus: enforce minimum version 1.7.6
...
On this version of the firmware the command changed - support the new
command and only that one: it's not expected to have devices with the
older versions.
6 years ago
Lucas De Marchi
b3a8496613
AP_RangeFinder: add support for Benewake TFMini Plus on I2C
...
This was tested with firmware 1.7.0 on the sensor.
6 years ago
Peter Barker
f09efe0908
AP_Math: correct URL for Polygon_outside algorithm
6 years ago