Commit Graph

32374 Commits

Author SHA1 Message Date
Peter Barker 7088286ebf AP_Compass: use new vector methods to make for more compact code
The check for zero-length magnetic field on the primary is redundant given the one on the loop
2023-04-19 14:25:06 +10:00
Peter Barker f1eec8482b AC_AttitudeControl: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker ce8afaf57b AP_NavEKF3: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker a3c5926040 AP_Mount: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker 0b2e1e7989 AP_Math: allow conversion of a quaternion into an rpy Vector3f
There are several places in the code that can use this
2023-04-19 14:24:45 +10:00
Iampete1 4186edad3f AP_DroneCAN: move to hal.util->snprintf to keep g++ 7.5.0 happy 2023-04-18 17:44:29 +01:00
Andrew Tridgell 14d2318859 AP_BoardConfig: on debug builds enable the debug pins by default
this saves a step in debugging
2023-04-18 14:35:21 +10:00
Peter Barker 5121b33c03 hwdef: remove more features from SkyViper 2023-04-18 11:45:39 +10:00
Peter Barker 271571e29c AP_GPS_NMEA: fix stringop truncation failure on g++ 9 2023-04-18 11:44:57 +10:00
Peter Barker 8c203d29d0 SRV_Channel: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker a657c6ea75 GCS_MAVLink: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker b055b67a7f AP_CANManager: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker a4721b4ff8 AP_Arming: remove CANTester 2023-04-18 11:43:58 +10:00
Henry Wurzburg 73011c81fd AP_HAL_ChibiOS: correct MatekH743 storage size 2023-04-18 11:25:25 +10:00
Robert Taylor ebef532258 AP_Scripting: Add EFI state get example 2023-04-18 10:31:01 +10:00
Robert Taylor 59cb583d63 AP_Scripting: Add efi get_state function 2023-04-18 10:31:01 +10:00
Robert Taylor 7b64d09dc4 AP_Scripting: Make EFI bindings readable 2023-04-18 10:31:01 +10:00
Peter Barker 068443718e GCS_MAVLink: deprecate use of MISSION_SET_CURRENT message
The mavlink command MAV_CMD_DO_SET_MISSION_CURRENT has been in place since January 2019 and is superior to this.
2023-04-18 10:24:26 +10:00
Iampete1 3a36337775 AP_Motors: Thrust Linearization: disable density comp in example as baro is not declared 2023-04-18 09:32:22 +10:00
Iampete1 ab4777de14 AP_Motors: move thrust linerization to its own class 2023-04-18 09:32:22 +10:00
Peter Barker 5d68f44694 AP_NavEKF3: move beacon variables into structure
AP_NavEKF3: change beacon variable names
2023-04-18 09:28:02 +10:00
Peter Barker f6fa509443 AP_Camera: add timestamp on parameter conversion function
...so we can remove this stuff more easily over time
2023-04-17 22:05:08 +01:00
Peter Barker 395961883f AP_Logger: avoid many method calls logging RCOU 2023-04-17 21:28:49 +10:00
Peter Barker 1fb879322c hwdef: correct compilation of OMNIBUSF7V2
redefition erro
2023-04-17 21:26:41 +10:00
Tom Pittenger 7bde074791 AP_KDECAN: remove prearm and allow better mapping 2023-04-17 11:52:52 +10:00
Tom Pittenger de86102751 AP_KDECAN: don't handle ESCs changing their address 2023-04-17 11:52:52 +10:00
Tom Pittenger 2bbd7d8d91 AP_CANManager: set _driver_type_cache for *all* ifaces 2023-04-17 11:52:52 +10:00
Tom Pittenger e21063522d AP_KDECAN: apply NFC suggestions from Peter Barker 2023-04-17 11:52:52 +10:00
Tom Pittenger a443fd97a6 GCS_MAVLink: remove preflight_can
It was only using CANTester to test KDECAN enumeration which was removed
2023-04-17 11:52:52 +10:00
Tom Pittenger 5ca3aa6346 AP_CANManager: remove KDECAN from CANTester 2023-04-17 11:52:52 +10:00
Tom Pittenger eed3cf3255 AP_CANManager: promote KDECAN to a first-class library 2023-04-17 11:52:52 +10:00
Tom Pittenger c585b0286d AP_KDECAN: total re-write using CANSensor and remove Enum 2023-04-17 11:52:52 +10:00
Tom Pittenger 84b7444047 AP_CANSensor: add get_driver_type() accessor 2023-04-17 11:52:52 +10:00
Tom Pittenger 9cf5759435 AP_HAL_ChibiOS: enable KDECAN on CubeOrange-periph 2023-04-17 11:52:52 +10:00
Tom Pittenger 20d89c510b AP_HAL_ChibiOS: AP_KDECAN_ENABLE 0 by default 2023-04-17 11:52:52 +10:00
Tom Pittenger c2e1eeac98 SRV_Channel: move AP_KDECAN to a first-class library 2023-04-17 11:52:52 +10:00
Tom Pittenger 5ef4c8dd09 GCS_MAVLink: move AP_KDECAN to a first-class library 2023-04-17 11:52:52 +10:00
Tom Pittenger 2fcae3c520 AP_Arming: remove AP_KDECAN prearm checks 2023-04-17 11:52:52 +10:00
Tom Pittenger af2fc47b4d AP_Vehicle: move AP_KDECAN to AP_Vehicle
ssss
2023-04-17 11:52:52 +10:00
Paul Riseborough 5ab17496f6 AP_NavEKF3: Improve protection against GPS glitches during yaw alignment 2023-04-17 08:48:03 +10:00
Paul Riseborough 7063b385cf AP_NavEKF3: Reduce use of GSF yaw for planes with no compass 2023-04-17 08:48:03 +10:00
Peter Barker 37f638c5f7 AP_Proximity: include AP_Proximity_Backend.h in AP_Proximity.cpp
fixes a compilation problem if all of the backends are compiled out!
2023-04-16 12:29:42 +10:00
Peter Barker 3b2e92c4d6 AP_Mount: use only radians within servo backend 2023-04-15 23:14:48 +10:00
Peter Barker db15803017 GCS_MAVLink: send deprecated message received warning at INFO not WARN 2023-04-15 23:14:33 +10:00
Ryan Friedman 4ba1c56368 AP_Airspeed: Add missing D in ARSP
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-15 23:14:12 +10:00
Peter Barker b10c576134 AP_VisualOdom: allow VisualOdom backends to be compiled in individually 2023-04-15 22:19:21 +10:00
Peter Barker 3c86167544 hwdef: only allow specific VisualOdom devices (right now, MAVLink) 2023-04-15 22:19:21 +10:00
pedro-fuoco 72a693e68e AP_DDS: Switch BatteryState topic to sensor data QOS
Resolves #23365 for the BatteryState topic
2023-04-15 09:40:33 +10:00
pedro-fuoco e1b06a1b99 AP_DDS: Integrate AP_BattMonitor to work with AP_DDS
* Edit BatteryState.idl
* Add BatteryState to AP_DDS_Topic_table.h
* Add BatteryState to the DDS Client
	* Add voltage
	* Add temperature
	* Add current
	* Add charge
	* Add capacity with NAN value
	* Add design_capacity
	* Add percentage
	* Add power_supply_status
	* Add power_supply_health
	* Add power_supply_technology with 0 value
	* Add present
	* Cell_voltage and Serial_number need to be implemented in the future
	* Did not add cell_temperature as AP_BattMonitor doesn't support it
	* Did not add location as this is a generic implementation
* Parameterize battery instance number
2023-04-15 09:40:33 +10:00
Peter Barker 25ec1730b4 AP_EFI: poll MS at 10Hz not 5Hz 2023-04-15 09:39:39 +10:00