Commit Graph

64189 Commits

Author SHA1 Message Date
George Zogopoulos
1e6e291b52 autotest: New tests
Autotests for takeoffs have been added for Plane, covering AUTO and
TAKEOFF mode takeoffs.

An auxiliary `set_servo` method has been added to `vehicle_test_suite.py`.
2024-07-29 15:50:32 +10:00
Peter Barker
eadc7c0ecc Tools: install_prereqs_ubuntu.sh: pin setuptools to avoid problems on Focal
focal:     return Version(version)
    focal:   File "/home/vagrant/.local/lib/python3.8/site-packages/packaging/version.py", line 202, in __init__
    focal:     raise InvalidVersion(f"Invalid version: '{version}'")
    focal: packaging.version.InvalidVersion: Invalid version: '1.0.3.linux-x86_64'
2024-07-29 15:27:23 +10:00
Peter Barker
07599ba570 Tools: environment_install: install Python packages one-at-a-time
helps to work out which packages are causing problems
2024-07-29 15:27:23 +10:00
cuav-chen2
3267b91160 bootloaders: Add CUAV-7-Nano bootloader 2024-07-29 12:25:53 +10:00
cuav-chen2
08c8ef379b HAL_ChibiOS: Added support for CUAV-7-Nano flight controller 2024-07-29 12:25:53 +10:00
Peter Barker
317fab2f19 AP_Mission: add and use an option_is_set method 2024-07-29 10:37:52 +10:00
Thomas Watson
bbde876353 hwdef: remove EKF opinion from FlywooF745
No effect as lines have always been commented out, but not useful and
EKF2 is not something to encourage.

Verified no compiler output change.
2024-07-29 09:32:22 +10:00
Andrew Tridgell
3ddd477d04 CI: only run qurt build on ArduPilot main repo
this prevents user repos getting failures

thanks to Pete for the suggestion
2024-07-29 08:38:56 +10:00
Peter Barker
16c2e23ee7 AP_Mount: allow AP_MOUNT_BACKEND_DEFAULT_ENABLED to be overridden 2024-07-28 12:00:02 +10:00
Peter Barker
debf3cb28e hwdef: SpeedyBeeF405WING: restrict mount support to the servo gimbal 2024-07-28 12:00:02 +10:00
Peter Barker
84efdd5700 hwdef: SpeedyBeeF405WING: remove landing gear support 2024-07-28 12:00:02 +10:00
Peter Barker
317c59c709 autotest: tidy various ArduPlane autotests
autotest: tidy Plane TerrainRally test

autotest: tidy Plane TestFlaps test

autotest: tidy Plane ThrottleFailsafe test

autotest: tidy Plane GripperMission test

autotest: tidy Plane FenceStatic test

autotest: tidy Plane FenceRTL tests

autotest: tidy FenceRetRally test

autotest: tidy Plane ahrs2 test

autotest: tidy Plane RangeFinder test

autotest: tidy Plane ADSB test

autotest: tidy Plane LOITER test

autotest: tidy Plane EKFLaneswitch test

autotest: tidy Plane FenceAltCeilFloor test

autotest: tidy Plane FenceMinAltAutoEnable

autotest: tidy Plane FenceMinAltEnableAutoland

autotest: tidy Plane FenceMinAltAutoEnableAbort

autotest: tidy Plane FenceCircleExclusionAutoEnable

autotest: tidy self.homeloc out of MainFlight
2024-07-28 11:53:44 +10:00
Andrew Tridgell
2ce6532698 AP_Math: updated EulerAngles.pdf link 2024-07-27 11:14:10 +10:00
Andrew Tridgell
98733882f5 AP_Math: added comments and a test for euler ordering
our main euler functions did not have a comment on the ordering
convention
2024-07-27 11:14:10 +10:00
Peter Barker
f1a1b11830 autotest: tidy Helicopter missions to use new infrastructure
autotest: tidy PosHoldTakeoff heli test

autotest: tidy StabilizeTakeoff heli test

autotest: tidy SplineWaypoint heli test

autotest: tidy ManAutoRotation heli test

autotest: tidy AirspeedDrivers heli test

autotest: tidy PIDNotches heli test
2024-07-27 09:44:41 +10:00
Peter Barker
605a9d34e3 autotest: tidy various Rover autotests
autotest: tidy Sprayer test

autotest: tidy rover AC_Avoidance test

autotest: tidy rover ModeSwitch test

autotest: tidy rover AuxModeSwitch

autotest: tidy rover RCOverrides test

autotest: tidy rover MANUAL_CONTROL test

autotest: tidy rover PolyFenceObjectAvoidance test
2024-07-26 23:43:16 +10:00
CB Unmanned
763292780a Tools: Reserve ID for CBUnmanned CM405 Flight Controller 2024-07-26 20:13:11 +10:00
Peter Barker
1b1ca35927 build_options.py: add HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL 2024-07-26 20:12:40 +10:00
yaapu
5b7aaae008 AP_Frsky_Telem: fix for HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL = 0 2024-07-26 20:12:40 +10:00
muramura
e86d5e113f AP_Filesystem: BOOL for binary types 2024-07-26 20:12:05 +10:00
Leonard Hall
bb1758ecb1 AC_Autotune: Add ABORT state for consistency between tests 2024-07-26 20:11:42 +10:00
Leonard Hall
bea2c5b59b AC_Autotune: Clean up Multi Variables and non functional changes 2024-07-26 20:11:42 +10:00
Peter Barker
1f60ca3342 autotest: add SmartRTL test for rapid switch between smartrtl and althold 2024-07-26 20:11:05 +10:00
Peter Barker
82d59f6ba7 autotest: tidy various tests to take advantage of new infrastructure
autotest: clean MotorVibration test for new infrastructure

autotest: clean VisionPosition test for new infrastructure

autotest: clean MotorFail test for new infrastructure

autotest: clean OpticalFlowLimits test for new infrastructure

autotest: tidy OpticalFlow test for new infrastructure

autotest: tidy SetModeViaModeSwitch test for new infrastructure

autotest: tidy SetModesViaAuxSwitch test for new infrastructure

autotest: tidy SplineLastWaypoint test for new infrastructure

autotest: tidy PIDNotches test for new infrastructure

autotest: tidy ThrottleGainBoost test for new infrastructure

autotest: tidy PrecisionLoiterCompanion test for new infrastructure

autotest: tidy BeaconPosition test for new infrastructure
2024-07-26 20:10:49 +10:00
Peter Barker
78dc5a7b5d hwdef: FlyingMoonF427: remove MAX7456 2024-07-26 20:10:38 +10:00
Peter Barker
5b5dd638c1 hwdef: FlyingMoonH743: remove MAX7456 2024-07-26 20:10:38 +10:00
Randy Mackay
44b3217178 AP_Camera: type param desc gets topotek 2024-07-26 12:55:24 +10:00
Randy Mackay
62a03f18d8 AP_Camera: type param desc gets viewpro and xacti 2024-07-26 12:55:24 +10:00
Andy Piper
a560f89b35 AP_HAL_ChibiOS: update logging docs for 2RAW H743 2024-07-26 10:39:38 +10:00
Andy Piper
3c9cf98cca bootloaders: rename 2RAWH743 to IFLIGHT_2RAW_H7 2024-07-26 10:39:38 +10:00
Andy Piper
74f72db4eb AP_HAL_ChibiOS: rename 2RAWH743 to IFLIGHT_2RAW_H7 2024-07-26 10:39:38 +10:00
Andy Piper
278595cf83 AP_HAL_ChibiOS: add support for sdcard to iFlight 2RAW 2024-07-26 10:39:38 +10:00
aditya
f849187333 build_options.py: add winch backends 2024-07-25 17:43:05 +10:00
muramura
1e001fa017 Rover: Change the IF statement to a SWITCH statement 2024-07-25 11:53:25 +09:00
Peter Barker
7f97e897e2 AP_Camera: add sanity check for Siyi lens change 2024-07-25 12:18:51 +10:00
muramura
f1e67ba747 AP_Mount: SWITCH statement to table reference 2024-07-25 12:18:51 +10:00
muramura
9f2da4a763 AP_Mission: Change division to multiplication 2024-07-25 11:33:55 +10:00
Peter Barker
a0ac6f22df AP_CANManager: use a switch statement to tidy driver allocation 2024-07-25 11:09:07 +10:00
Andrew Tridgell
23f628f26b hwdef: fixes for BotBloxSwitch 2024-07-25 10:57:04 +10:00
Andrew Tridgell
14d94552eb Tools: update BotBloxSwitch bootloader 2024-07-25 10:57:04 +10:00
muramura
ace57047fa Copter: Distinguish preprocessor processing 2024-07-25 10:56:03 +10:00
rishabsingh3003
6a13432a21 AP_Periph: Fix compiling issues with AP_PERIPH_PROBE_CONTIONUS enabled 2024-07-25 10:53:23 +10:00
Clyde McQueen
cbef094435 autotest: test mag fusion 2024-07-25 10:52:01 +10:00
Clyde McQueen
872cbc72ff autotest: MAV_CMD_DO_REPOSITION in sub 2024-07-25 10:44:16 +10:00
Clyde McQueen
297fcfd777 Sub: handle MAV_CMD_DO_REPOSITION 2024-07-25 10:44:16 +10:00
Leonard Hall
1012be95d8 Copter: Ground oscillation gain reduction 2024-07-25 09:50:35 +10:00
Leonard Hall
2ab3d0b3b0 AC_AttitudeControl: Add Landed Gain Backoff 2024-07-25 09:50:35 +10:00
muramura
84ff78f5c6 AP_Notify: Perform common checks first 2024-07-25 09:50:03 +10:00
James O'Shannessy
66817e207f AP_InertialSensor: Check the gyro/accel id has not been previously registered
If the Gyro/Accel ID is already in the registered list, do not try to add it again.

This stops an issue seen on a CubeOrangePlus BG3 where, during the very first boot after a parameter wipe, software incorrectly registers a fourth IMU.
The Fourth IMU is registered because the AUX IMU is the same DevID as the third ICM45686.
2024-07-25 09:49:35 +10:00
Ep Pravitra
fe2e75b2a0 Plane: option to immediately climb in AUTO mode (not doing glide slope)
add comment in Parameters.cpp

Update ArduPlane/altitude.cpp

Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>

clarification in FLIGHT_OPTIONS description

change the comment

param comment change

Update ArduPlane/Parameters.cpp

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2024-07-25 09:49:07 +10:00