Commit Graph

8148 Commits

Author SHA1 Message Date
Peter Barker 938ec84fa7 autotest: add (disabled) sub test for MAV_CMD_DO_CHANGE_SPEED
this doesn't work on master either...
2023-10-04 18:36:52 +11:00
Peter Barker 748dd22f4e AP_Periph: instantiate AP_AHRS even if not in SITL
Closes potential problem with HerePro if it calls AP_AHRS methods
2023-10-04 18:10:58 +11:00
Peter Barker f72bfcc373 autotest: add upload_rally_points_from_locations 2023-10-03 23:55:22 +11:00
Peter Barker 41518a4fc0 autotest: add test for Sub MAV_CMD_MISSION_START 2023-10-03 23:54:40 +11:00
Peter Barker d74947db10 Tools: handle message interval commands as both long and int 2023-10-03 10:12:21 +09:00
Tom Pittenger 3013a7959d Tools: add build_option - ODID (OpenDroneID/RemoteID) 2023-10-03 10:17:19 +11:00
Tom Pittenger 9cc3d71c50 Tools: add extract_features Check Firmware and ODID 2023-10-03 10:17:19 +11:00
Andrew Tridgell af061d41ae waf: enable ADSB in SITL periph 2023-10-02 21:45:28 +11:00
Andrew Tridgell a60c449833 autotest: enable ADSB on ADSB SITL periph 2023-10-02 21:45:28 +11:00
Andrew Tridgell 7aa1f5af22 waf: enable mavlink bindings in SITL periph 2023-10-02 21:45:28 +11:00
Andrew Tridgell bb004c499f AP_Periph: fixed ADSB peripheral to send heartbeat
and remove duplicated mavlink bindings
2023-10-02 21:45:28 +11:00
Andrew Tridgell 8e7c70a0f2 AP_Periph: support mavlink based simulated devices in SITL periph 2023-10-02 21:45:28 +11:00
Andrew Tridgell 13765ec9ee AP_Periph: fixed array delete in batt_balance 2023-10-02 21:45:28 +11:00
Andrew Tridgell 50ae89ed8c AP_Periph: support per-cell info in periph battery monitoring
useful for SMBus batteries
2023-10-02 21:45:28 +11:00
Peter Barker 1641aa42ec autotest: add test for MAV_CMD_DO_LAND_START 2023-09-29 13:55:32 +10:00
Peter Barker 3a465829b3 Tools: accept several mode-changing commands via command_int
... as well as via command_long
2023-09-29 08:56:50 +10:00
Peter Barker e2895c08ae autotest: rename PayLoadPlaceMission to PayloadPlaceMission 2023-09-28 17:13:38 +10:00
Peter Barker 5cb20abaa7 autotest: rename get_message_rate to measure_message_rate 2023-09-28 13:43:59 +10:00
Andy Piper e068847185 AP_Bootloader: update board id for TMotor H7 2023-09-28 07:38:43 +10:00
Peter Barker ad70237013 Tools: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int 2023-09-27 11:27:45 -07:00
Michael du Breuil 4381c17cb2 AP_Periph: Fix bad conversion of APD ESC telemetry
le16toh() returns an unsigned type, which keeps the number as positive
when cast to float. It needs to be explictly converted to a signed
number first.

Tested with real hardware.
2023-09-27 08:40:10 -07:00
Peter Barker 67b9a50153 autotest: add test for Plane do-go-around 2023-09-27 17:37:55 +10:00
Paul Riseborough acfb5ccc05 Tools: Add test for quadplane forward motor use and pitch limiting 2023-09-27 11:43:45 +10:00
Peter Barker fa6ec69bf1 autotest: add tests for Sub NAV_LAND and NAV_LOITER_UNLIM via mavlink 2023-09-26 11:38:28 +10:00
Peter Barker 489bb2c897 autotest: add test for MAV_CMD_AIRFRAME_CONFIGURATION 2023-09-26 11:37:42 +10:00
Peter Barker e8792eec68 autotest: add test for enabling autotune via mavlink command 2023-09-26 11:36:57 +10:00
Peter Barker 91f457d4eb autotest: test CMD_CONDITION_YAW for Copter as COMMAND_INT and COMMAND_LONG 2023-09-26 11:35:55 +10:00
Peter Barker 8cac60ca88 autotest: tweak test_mount_pitch win condition
we only need to see the sample once when hold is 0
2023-09-26 08:46:56 +10:00
Henry Wurzburg 224c1ee2a9 Tools:correct desc of batt->esc param 2023-09-22 23:10:21 -07:00
Peter Barker 5298187aaa autotest: print command number when sending commands 2023-09-21 21:04:17 +10:00
Peter Barker d946877fd4 autotest: fix DO_CHANGE_SPEED test
we could arrive back at our home location and stop before enough time passed to satisfy the test.  i.e. doing exactly the same steps out and back again without allowing for differences in timing leads to random failure
2023-09-21 21:03:25 +10:00
Peter Barker a26ebd3600 Tools: build_options.py: add option to remove AP_Tuning from build 2023-09-21 07:07:58 +10:00
Peter Barker 712237ec3a autotest: add test for Plane MAV_CMD_DO_PARACUTE 2023-09-20 17:37:59 +10:00
Peter Barker 613524d7d5 autotest: Copter: add test for DO_CHANGE_SPEED in guided mode 2023-09-20 15:44:38 +10:00
Peter Barker c352de2dd8 autotest: add test for Copter MISSION_START mavlink command 2023-09-20 09:39:31 +10:00
Peter Barker d7a9e40395 autotest: reuse Copter motor test for QuadPlane 2023-09-19 20:31:03 +10:00
Peter Barker 164b7328bd Tools: add COMPASS_CAL_ENABLED to build_options.py 2023-09-19 16:54:59 +10:00
Tom Pittenger ca7c410b8b AP_Periph: add CAN3 to param CAN_MIRROR_PORTS desc 2023-09-19 12:17:28 +10:00
Michael du Breuil 6897dd08ef Tools: AP_Periph: Add CAN_MIRROR
This allows us to mirror CAN traffic between ports on demand.
2023-09-19 12:17:28 +10:00
Henry Wurzburg 5bb96d31e3 Tools: limit AFS to Plane and fix symbol lookup 2023-09-19 11:19:06 +10:00
Peter Barker f22818a4b0 autotest: run reboots with cmd_int 2023-09-19 11:16:10 +10:00
Peter Barker 5ed1344115 Tools: handle MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN as INT or LONG 2023-09-19 11:16:10 +10:00
Peter Barker 8e4755f202 Tools: handle DO_PARACHUTE as both command_long and command_int 2023-09-19 11:14:29 +10:00
Randy Mackay 2835deb0de Tools: autotest FlyEachFrame yaw rate relaxed 2023-09-19 10:53:04 +10:00
Randy Mackay 3f531d18bc Tools: SITL default tricopter yaw servo trim fix 2023-09-19 10:53:04 +10:00
Randy Mackay df0dad79bf Tools: SITL default copter yaw tune improvement 2023-09-19 10:53:04 +10:00
Tom Pittenger ea207c4b4a AP_Periph: add AP_PERIPH_SAFTEY_SWITCH_ENABLED 2023-09-19 09:29:26 +10:00
Henry Wurzburg 6d1fed9657 Tools:add qualifier for ADSB type in readme 2023-09-18 13:41:04 -07:00
Peter Barker 23150a0830 autotest: loosen constraint on achieved angles
apparently within 5 degrees is asking too much....
2023-09-18 20:40:18 +10:00
Peter Barker ecbad5b35a autotest: add test for ArduPlane fly-inverted mission item 2023-09-17 09:54:51 +10:00