Commit Graph

53733 Commits

Author SHA1 Message Date
Iampete1
faa414fbdb AP_AIS: add dummy methods 2022-07-12 09:39:54 +10:00
Iampete1
28989f1838 Tools: ardupilotwaf: add AP_AIS to build 2022-07-12 09:39:54 +10:00
Iampete1
e8607c09f1 GCS_MAVLink: send ais message 2022-07-12 09:39:54 +10:00
Iampete1
30fffb491c AP_Vehicle: add AIS 2022-07-12 09:39:54 +10:00
Iampete1
b94e1c5027 AP_AIS: add singleton 2022-07-12 09:39:54 +10:00
Iampete1
6b06e2eb9b Blimp: add AIS to ADSB stream rate 2022-07-12 09:39:54 +10:00
Iampete1
50024a6ec2 Plane: add AIS to ADSB stream rate 2022-07-12 09:39:54 +10:00
Iampete1
cbaea15c96 Copter: add AIS to ADSB stream rate 2022-07-12 09:39:54 +10:00
Iampete1
7fd157acb4 Rover: move AIS to vehicle
This reverts most of commit e86665a989.
2022-07-12 09:39:54 +10:00
Peter Barker
2ca68da77a autotest: correct setting mode by number 2022-07-12 08:51:21 +10:00
Peter Barker
a672c7df97 autotest: add test for changing modes by mode number
Useful for when you don't have a mapping entry for the mode number yet
2022-07-12 08:51:21 +10:00
Andrew Tridgell
a92161cd18 GCS_MAVLink: improved start battery cell monitoring
this fixes two issues:

 1) we are not reporting the sag corrected voltage to GCS when we are
    sending individual cells

 2) we don't cope with having more than AP_BATT_MONITOR_CELLS_MAX
    cells (or 12 for low flash boards, 14 for 2M boards)

it fixes this by distributing the extra voltage over the calls.

This change is particularly important for high cell count DroneCAN
smart batteries, where we currently would not handle more than 14
cells and the GCS would display the wrong voltage

the PR also cleans up the use of volts vs mVolts for the local
variables
2022-07-11 14:21:41 +10:00
Shiv Tyagi
489a27ca19 SITL: fix sim_precland orientation bug 2022-07-11 10:10:55 +10:00
RuffaloLavoisier
0e0c23a8e3 AP_Logger : correct spelling on comment 2022-07-11 08:51:27 +09:00
RuffaloLavoisier
2172095e3f Copter : correct spelling on comment 2022-07-11 08:51:27 +09:00
chobitsfan
a723abf986 AP_Motors: reuse spool_step for code refactoring 2022-07-11 08:39:34 +09:00
Peter Barker
d5f2a95417 autotest: build Heli in parallel to Copter
CI always seems to have the heli tests stuck out at the end.  This should fix that at tthe cost of a few extra seconds of compilation
2022-07-10 21:01:42 +10:00
Peter Barker
72734d38de autotest: add test for AUTO_LAND_TO_BRAKE
Having some terrain-based issues with BRAKE mode
2022-07-10 20:59:52 +10:00
Peter Barker
7647e38f3f autotest: create get_home_tuple_from_mission method
Useful if you want to start a mission where a saved waypoint file's home location is
2022-07-10 20:59:52 +10:00
Andrew Tridgell
0103776d83 Filter: fixed test_notchfilter for the change in allocate_filters()
changed for triple notch
2022-07-10 06:57:29 +10:00
Andrew Tridgell
6a1e80a03a Plane: when ICE overrides throttle zero the vfwd integrator 2022-07-10 06:56:58 +10:00
Andrew Tridgell
32e1767647 AP_ICEngine: added option to force low throttle on engine off
this fixes an issue with EFI engines that use low throttle demand to
stop the engine, instead of using an ignition channel. This option
needs to be set on these aircraft to prevent the idle governor or the
fwd throttle integrator in quadplanes from keeping the engine on when
the pilot asks for it to be off.
2022-07-10 06:56:58 +10:00
Peter Barker
0ec06511ae Tools: build_options: mount backends depend on mount being enabled 2022-07-08 16:00:57 +10:00
TunaLobster
717a729128 Rover: Add manual speed scaled steering option 2022-07-07 20:46:19 +01:00
Peter Barker
86096261d0 autotest: add new wait_and_maintain_range method 2022-07-07 21:29:43 +10:00
Peter Barker
e77d0ce1a4 autotest: rewrite speedtofly test using wait_airspeed 2022-07-07 21:29:43 +10:00
Yuri
565f757f35 AP_Scripting: rover-MinFixType example param caching fix 2022-07-07 19:34:10 +09:00
Yuri
6a74be104f AP_Scripting: add set_desired_speed binding 2022-07-07 19:34:10 +09:00
Yuri
f1d6574fe5 Rover: implement set_desired_speed 2022-07-07 19:34:10 +09:00
Yuri
a97a17cce4 Copter: implement set_desired_speed 2022-07-07 19:34:10 +09:00
Yuri
bc8bdc18c9 AP_Vehicle: add set_desired_speed for use in scripting 2022-07-07 19:34:10 +09:00
Andrew Tridgell
39fd4f01cd AP_Scripting: fixed SimOnHardware build
HAL_MOUNT_ENABLED depends on !HAL_MINIMIZE_FEATURES
2022-07-07 12:33:01 +10:00
Pierre Kancir
2b4a68fdbe CI: remove xenial from env config 2022-07-06 18:06:47 +10:00
Pierre Kancir
ba9c72f1a3 Tools: use lastest python2 release for requests for pyhton2 distro 2022-07-06 18:06:47 +10:00
Pierre Kancir
8af5763af3 CI: fix arch dev env install 2022-07-06 18:06:47 +10:00
Pierre Kancir
d2abd1eed9 Tools: fix configparser version for python2 2022-07-06 18:06:47 +10:00
Pierre Kancir
d768462155 Tools: env install: use dot for wget to reduce terminal usage 2022-07-06 18:06:47 +10:00
Pierre Kancir
1b4a7b5adf Tools: fix env install for bionic 2022-07-06 18:06:47 +10:00
Pierre Kancir
a6f32e1a24 Tools: Fix install script for various distro
remove disco and eoan that aren't working anymore.
fix buster, bionic and xenial that use python and not python2
2022-07-06 18:06:47 +10:00
Andrew Tridgell
afb7b14703 Plane: don't failsafe when in RTL_AUTOLAND landing sequence
when in AUTO and already in the landing sequence then don't trigger a
failsafe
2022-07-06 17:47:48 +10:00
Andrew Tridgell
53eb0191b1 Tools: fixed typo 2022-07-06 16:54:48 +10:00
Iampete1
56c6233be9 AC_AttitudeControl: remove PosControl_Sub 2022-07-05 16:00:03 -03:00
Iampete1
720117298d Sub: stop using custom pos controller 2022-07-05 16:00:03 -03:00
xiao
084bae21ef HAL_ChibiOS: hwdef: MFE-PixSurveyA1 rename PixSurveyA1 2022-07-05 17:44:03 +10:00
xiao
b1638f4e9d Tools: added MFE-PixSurveyA1 board ID 2022-07-05 17:44:03 +10:00
xiao
39abb13692 HAL_ChibiOS: hwdef: add new hardware MFE-PixSurveyA1 2022-07-05 17:44:03 +10:00
Andrew Tridgell
af5eb44629 hwdef: added telem3 on Pixhawk6X 2022-07-05 10:34:36 +10:00
Iampete1
ea4f050aa8 AP_Scripting: Generator: fix docs generator aliasing 2022-07-05 10:31:51 +10:00
Peter Barker
a647cd9b8f hwdef: remove redundant 'define HAL_MINIMIZE_FEATURES 0' 2022-07-05 10:20:38 +10:00
Peter Barker
80e70b2fb4 AP_InertialSensor: remove voiding of parameter
Clearly this is used - we pass it down
2022-07-05 09:54:53 +10:00