Commit Graph

54807 Commits

Author SHA1 Message Date
Peter Barker d7d7bb6e77 SITL: allow sitl-on-hw.sh to be invoked from any directory 2022-08-23 09:01:30 +10:00
Randy Mackay adac463154 AR_Motors: remove arming check to allow ackerman and skid-steering 2022-08-22 07:46:50 -04:00
Peter Barker 0665f9c32b AP_NavEKF3: store and use lastKnownPositionD
When returning our last-known-position we were supplying lat/lng but not
altitude.

This usually really doesn't matter as this result generally isn't used,
especially for altitude.  OTOH, it may prevent a bug into the future.
2022-08-22 19:48:03 +10:00
Andrew Tridgell 252f2ac6f5 Tools: don't build -ODID-heli 2022-08-22 18:56:14 +10:00
Peter Barker 9bf66afee2 build_binaries.py: write fwversion out even if directory exists
We re-use the "beta" directory for other betas
2022-08-22 14:02:52 +10:00
Henry Wurzburg c5451260ac SRV_Channel: add airbrake option metadata omitted in prev commits 2022-08-21 17:34:03 -07:00
Henry Wurzburg 7014fde866 RC_Channel: add airbrake option metadata omitted in prev commits 2022-08-21 17:34:03 -07:00
Shiv Tyagi a8a952d656 Rover: include fix in mode.h
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-08-22 10:04:22 +10:00
Peter Barker f8c1c3309d autotest: allow more time for Rover to go to smartrtl intermediate point
race conditions with commands from autotest suite
2022-08-22 09:54:09 +10:00
Peter Barker 87eb703bc1 autotest: terminate FTP session after transfering files
race condition starting the second MAVProxy if the first session isn't terminated
2022-08-22 09:01:18 +10:00
Andrew Tridgell b3e4306b70 Sub: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Andrew Tridgell 22cd568a4c Plane: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Andrew Tridgell d18cf7fa75 Copter: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Andrew Tridgell 9a453bfc82 APM_Control: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Andrew Tridgell 56bb13420d AC_AttitudeControl: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Andrew Tridgell f80ba734c8 AP_AHRS: removed use of "blended" accel values
calculate a single EF accel based on primary IMU
2022-08-21 18:51:59 +10:00
Andrew Tridgell 924759510d AP_AHRS: fixed use of filtered gyro with DCM active
we need to overwrite _omega with the filtered gyro value, so we get
both the low pass filter and the notch filters. Otherwise we will fly
with very high noise gyro data

this also fixes the accel_ef_blended to use the filtered accel. It is
not blended, and removing "_blended" from the API will be worthwhile
as a followup
2022-08-21 18:51:59 +10:00
Andrew Tridgell 953b754074 Plane: release notes for 4.2.3 2022-08-21 14:13:11 +10:00
Peter Barker a3124689b1 Tools: flake8 fixes for board_list.py 2022-08-20 21:52:20 +10:00
Peter Barker af7208a65e autotest: cast packet count to floast before determining rate
Could be causing rate to be zero on autotest server
2022-08-20 21:52:20 +10:00
Randy Mackay 116ab51e50 Copter: 4.2.3-rc3 release notes 2022-08-20 12:28:11 +09:00
Randy Mackay 8ddaf74f59 Rover: 4.2.3-rc3 release notes 2022-08-20 12:28:03 +09:00
Randy Mackay 658298ed1d Copter: auto takeoff may trigger terrain failsafe 2022-08-19 19:51:26 -04:00
Andrew Tridgell 6245b3aa16 Tools: blacklist build of ODID boards
these confuse users
2022-08-19 18:51:38 +10:00
Andrew Tridgell 4894cc1742 Plane: prepare for 4.2.3beta3 2022-08-19 18:44:08 +10:00
Peter Barker 19973f783b AP_Module: correct ModuleTest example for lack of GCS object 2022-08-19 18:34:19 +10:00
Peter Barker f0fc23bdcb AP_Scheduler: fix examples 2022-08-19 18:33:58 +10:00
Peter Barker 402d9708a5 AP_RCProtocol: fix examples 2022-08-19 18:33:58 +10:00
Peter Barker 03ce5f62d2 AP_RangeFinder: fix examples 2022-08-19 18:33:58 +10:00
Peter Barker 8a035590cd AP_FlashIface: fix examples 2022-08-19 18:33:58 +10:00
Peter Barker 668ec44968 autotest: let heading settle before testing WP_YAW_BEHAVIOR=0
2022-08-19T02:22:48.3161982Z AT-0229.9: Exception caught: Unexpected heading=94.000000 want=91.000000
2022-08-19T02:22:48.3162341Z Traceback (most recent call last):
2022-08-19T02:22:48.3162738Z   File "/__w/ardupilot/ardupilot/Tools/autotest/common.py", line 7173, in run_one_test_attempt
2022-08-19T02:22:48.3163101Z     test_function()
2022-08-19T02:22:48.3163507Z   File "/__w/ardupilot/ardupilot/Tools/autotest/arducopter.py", line 4414, in GuidedSubModeChange
2022-08-19T02:22:48.3164012Z     self.assert_heading(orig_heading)
2022-08-19T02:22:48.3164419Z   File "/__w/ardupilot/ardupilot/Tools/autotest/common.py", line 5610, in assert_heading
2022-08-19T02:22:48.3164866Z     raise NotAchievedException("Unexpected heading=%f want=%f" %
2022-08-19T02:22:48.3165290Z common.NotAchievedException: Unexpected heading=94.000000 want=91.000000
2022-08-19 17:06:45 +10:00
Peter Barker 2170c86b9c autotest: stop vehicle running into terrain in MAV_CMD_NAV_LOITER_TURNS 2022-08-19 17:05:22 +10:00
Peter Barker cd207164a2 autotest: correct Rover DriveMission test
4 would seem to have been just a magic number and could be missed on faster speedups
2022-08-19 17:04:54 +10:00
Peter Barker 81740893ee autotest: customise drive_rtl_mission for sailboats 2022-08-19 17:04:25 +10:00
Peter Barker 2059d1485e CI: test sailboat in CI 2022-08-19 17:04:25 +10:00
murata d519c94b32 Copter: Clarify the mode 2022-08-19 01:05:53 -04:00
Steve Borenstein 95370ce74f Outgoing ARM message over MAVLINK 2022-08-19 11:36:14 +10:00
Iampete1 b399ed3044 AP_Scripting: unint32: remove integer range check 2022-08-19 10:29:39 +10:00
Stephen Dade b031f88e3c Tools: Add EKF3 External Nav to build_options 2022-08-19 09:02:10 +10:00
Peter Barker 6756c295df AP_Mission: add AP_Mission_config.h 2022-08-18 22:49:10 +10:00
Peter Barker dab9e00dc7 Tools: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker 1e8e100409 AP_Terrain: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker f9b409ce01 AP_Mission: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker bf5817e108 AP_Logger: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker e4bc7a0ef5 AP_HAL_ChibiOS: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker 936fef11e2 AP_Filesystem: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Shiv Tyagi 5ff268fa97 AC_PrecLand: return target distance if enabled from SIM_Precland
For rover, we cant measure distance towards target using a rangefinder. Hence, we should must return target distance if enabled through SIM_Precland.
2022-08-18 22:47:43 +10:00
Shiv Tyagi 8411b2ec03 SITL: add param in SIM_Precland to enable return dist to target 2022-08-18 22:47:43 +10:00
Peter Barker 27e7042377 Tools: build_autotest.sh: sync submodules from new master not old
Also remove a redundant pull
2022-08-18 22:47:10 +10:00
Stephen Dade 58cb4cbfb1 Copter: Make mode flowhold a build option via MODE_FLOWHOLD_ENABLED 2022-08-18 07:46:13 -04:00