Commit Graph

57599 Commits

Author SHA1 Message Date
Iampete1 5ec479579f Plane: move guided roll, pitch and throttle overrides upto guided mode 2023-04-18 09:36:06 +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 5f56a603a8 Plane: Quadplane: use new motors thrust linearization, don't send air density ratio 2023-04-18 09:32:22 +10:00
Iampete1 be275e2cac Copter: use new motors thrust linrisation, don't send air density ratio 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 2529c7fc40 autotest: add test for RESET_MODE_SWITCH 2023-04-18 09:19:20 +10:00
Peter Barker 57d3ebf123 ArduPlane: make Plane use more of RC_Channel library for mode switching 2023-04-18 09:19:20 +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
Peter Barker 38390d2840 autotest: allow more time for deepstall text
intermittent failures in CI - perhaps due to Plane dynamics changes
2023-04-17 21:26:07 +10:00
Peter Barker f518c4f4d4 autotest: verify new safety switch state in set_safetyswitch 2023-04-17 13:25:55 +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 34a990d2ff AP_Periph: add AP_KDECAN support 2023-04-17 11:52:52 +10:00
Tom Pittenger c70d6d14eb Tools/scripts: AP_KDECAN_ENABLED docs 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
Tom Pittenger 8a530ee0a6 Tools: move AP_KDECAN build to AP_Vehicle 2023-04-17 11:52:52 +10:00
Peter Barker 6674f0ea5f Tracker: remove annoying 'Command received' message
Doesn't add anything of value
2023-04-17 09:44:05 +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 558cec573b autotest: wait ready to arm in autotest
AKA avoid dreaded gyros-inconsistent failure
2023-04-16 21:18:36 +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 8c92787e32 Tools: size_compare_branches: allow use in detached-head state 2023-04-15 23:16:16 +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
Peter Barker d0e3bbe9e9 autotest: test_build_options.py: correct deps when enabling-in-turn 2023-04-15 22:15:16 +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
Peter Barker fb1b2e870e AP_EFI: MS: avoid requesting data too often
Similar to 4585c9fdc1
2023-04-15 09:39:39 +10:00
Peter Barker bddf0ae5a2 AP_Volz_Protocol: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00
Peter Barker b1066bb9e7 AP_VisualOdom: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00
Peter Barker 3999d454e1 AP_Torqeedo: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00