Iampete1
6a6f3ec4e5
AC_Fence: add AC_FENCE define
2022-07-27 19:04:56 +10:00
Iampete1
9e86f4dc43
AP_Vehicle: add AC_Fence
2022-07-27 19:04:56 +10:00
Iampete1
5d5552aa93
RC_Channel: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
5fa29eb01a
GCS_MAVLink: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
520fc01739
AP_OSD: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
3942ee0811
AP_Landing: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
df3affc38c
AP_Frsky_Telem: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
cababad66b
AP_Filesystem: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
b3d0d4f33d
AP_Arming: fix complation without fence
2022-07-27 19:04:56 +10:00
bugobliterator
4852ac332d
AP_UAVCAN: add option bit for disabling Node Unhealthy check
2022-07-27 18:18:03 +10:00
bugobliterator
3c87062f27
AP_Common: add support for comparing BitMasks
2022-07-27 18:18:03 +10:00
bugobliterator
8e81ee0292
AP_HAL_SITL: add support for starting node in maintenance mode
2022-07-27 18:18:03 +10:00
bugobliterator
48f1e18161
AP_UAVCAN: add node healthy check
2022-07-27 18:18:03 +10:00
bugobliterator
34583d750d
AP_UAVCAN: include AP_CANManager header
2022-07-27 18:18:03 +10:00
bugobliterator
527f956786
AP_Arming: add support for separate dna_server instances for AP_UAVCAN
2022-07-27 18:18:03 +10:00
bugobliterator
7ff0af7a0d
AP_UAVCAN: add support for dna_server instance per driver
2022-07-27 18:18:03 +10:00
Peter Barker
cf915a0f35
GCS_MAVLink: ensure payload space for ACK before sending
...
Attempting to fix instance of the ACK not arriving on SITL reboot. We already have a lot of code around trying to get this out, but there's been at least once instance it hasn't.
2022-07-26 21:23:23 +10:00
Peter Barker
b4bee6a510
AP_GPS: correct compilation when all serial backends compiled out
2022-07-26 10:30:43 +10:00
Peter Barker
96b4945eb9
AP_GPS: move explanation of ublox rates into ublox header
2022-07-26 10:30:43 +10:00
Henry Wurzburg
dcde718f20
AP_Control: change I determination for Roll axis
2022-07-26 09:40:02 +10:00
Tom Pittenger
28ab8ef316
AP_Landing: change LAND_ABORT_THR param docs to match code and wiki of 90%
2022-07-25 12:45:50 -07:00
xianglunkai
b728b8179d
AP_SerialManager:correct find_baudrate() function
2022-07-25 16:03:27 +10:00
Ryan Beall
033266f94b
TECS.cpp: Remove redundant throttle saturation
2022-07-23 18:23:27 -07:00
Andy Piper
3b034e3af6
AP_HAL_ChibiOS: enabled OSD parameter menus on KakuteH7.
2022-07-22 21:23:34 +10:00
Tamas Nepusz
6ca593a61d
AP_GPS: Do not drop reassembly buffer for injected packets when a dupllicate fragment is received
2022-07-22 20:40:21 +10:00
Tom Pittenger
0ef78dd77a
AP_HAL_CHibiOS: add new hwdef target for SkystarsH7HD
2022-07-21 21:53:15 -07:00
Peter Barker
cbd591f2ba
GCS_MAVLink: save some bytes by removing empty methods based on #ifs
2022-07-22 13:49:51 +10:00
Bailey K. Srimoungchanh
b6a089f90e
AP_AHRS: Fixed body_to_earth
...
body_to_earth was not implemented consistently with earth_to_body.
Changed the order of operation to be consistent and rotate reference
frame correctly.
2022-07-22 09:11:17 +10:00
Peter Barker
7e5808a97b
AP_RangeFinder: add prearm for analogue/pwm pin conflicts
2022-07-22 09:09:25 +10:00
Peter Barker
8af84cf236
AP_ICEngine: add and use AP_ICENGINE_ENABLE
2022-07-22 08:48:16 +10:00
Henry Wurzburg
4c44b6ad1a
AP_Compass: expand description of custom orientation parameters
2022-07-21 15:45:28 +01:00
Henry Wurzburg
51a21679be
AP_AHRS: expand description of custom orientation parameters
2022-07-21 15:45:28 +01:00
Rolf-G
ea44da1e8d
AP_Scripting: examples: Aerobatics: Corrects arg1/arg2
...
Corrects bad description of arg1 and arg2 for rolling circle in plane_aerobatics.lua
See https://github.com/ArduPilot/ardupilot/issues/21022
2022-07-20 13:18:10 +01:00
Iampete1
66a5a289d7
PID: use set and defualt
2022-07-20 17:59:59 +10:00
Iampete1
ca9aa41dd1
AP_SerialManager: use set_and_defualt
2022-07-20 17:59:59 +10:00
Iampete1
ad8b9f58df
AP_Motors: use set and defualt
2022-07-20 17:59:59 +10:00
Iampete1
7ee330d12d
SRV_Channel: use set_and_default method
2022-07-20 17:59:59 +10:00
Iampete1
c87d46e24d
AC_AttitudeControl: CommandModel: use set_and_default method
2022-07-20 17:59:59 +10:00
Iampete1
3f84ba12c0
AC_PID: use set_and_defualt to set defualt values
2022-07-20 17:59:59 +10:00
Iampete1
88d9550214
AP_Filesystem: support including defualts in packed param format
2022-07-20 17:59:59 +10:00
Iampete1
63e03622d4
AP_Logger: log default param values
2022-07-20 17:59:59 +10:00
Iampete1
5b290920a7
AP_Param: keep track of defualt values in linked list
2022-07-20 17:59:59 +10:00
Peter Barker
34f2599479
GCS_MAVLink: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
39ab6b727c
AP_BLHeli: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
44cc3de7a6
SITL: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
695891365e
AP_Vehicle: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
c00d712adc
AP_Motors: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
e570737154
AP_GyroFFT: remove transitive include dependencies
2022-07-20 17:32:24 +10:00
Peter Barker
659f801650
AP_Logger: remove unused includes
2022-07-20 17:32:24 +10:00
Pierre Kancir
52d9dc1471
AP_Soaring: make function const
2022-07-20 17:28:39 +10:00
Pierre Kancir
8b8ca504fc
AP_Soaring: make PolarParams const reference
2022-07-20 17:28:39 +10:00
Pierre Kancir
f76d6ea739
AP_Soaring: fix initialization order to fix
...
https://github.com/ArduPilot/ardupilot/issues/21043
2022-07-20 17:28:39 +10:00
Andrew Tridgell
0731b5cfa0
AP_ICEngine: fixed RPM filter rate and plane.G_Dt
...
AP_ICEngine runs at 10Hz, so we need to use 10 for the filter.
As this runs in a constructor it also caused memoisation of the wrong
AP_Scheduler _loop_period_s which resulted in plane.G_Dt always being
1/50, which is a much more serious issue
this is a temporary fix, we need a better one soon
2022-07-20 07:33:37 +10:00
esaldiran
545cf0504a
APM_Control: AP_YawController: update pid_info with integrator reset for logging purposes
2022-07-19 11:40:03 +01:00
esaldiran
9d8bf5004e
AC_PID: update pid_info with integrator reset for logging purposes
2022-07-19 11:40:03 +01:00
Peter Barker
13b03f79db
AP_HAL_ChibiOS: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED
...
This allows hwdef files to manipulate this value
2022-07-19 18:02:26 +10:00
Peter Barker
51466e04b0
AP_HAL: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED
...
This allows hwdef files to manipulate this value
2022-07-19 18:02:26 +10:00
Andrew Tridgell
796653630c
hwdef: support CUAV-6X and Holybro-6X with same firmware
2022-07-19 15:02:31 +10:00
Andrew Tridgell
97646f4164
AP_InertialSensor: support BOARD_MATCH() for IMUs
2022-07-19 15:02:31 +10:00
Andrew Tridgell
0e745d0ad3
hwdef: added BOARD_MATCH() support for IMUs
...
allow hwdef.dat to specify list of IMUs which match a specific board
type
2022-07-19 15:02:31 +10:00
Andrew Tridgell
b50d405f91
AP_BoardConfig: added board detection for FMUv6
...
support Holybro-6X and CUAV-6X for now, using IMU signatures
2022-07-19 15:02:31 +10:00
李孟晓
2822c30307
AP_Baro: added ICP201XX support
2022-07-19 15:02:31 +10:00
Peter Barker
d926aa2e11
AP_OSD: correct includes for AP_Arming change
...
This file was getting the copter-or-heli define from AP_Arming, which was getting it from AP_InertialSensor. This broke when AP_Arming stopped getting AP_InertialSensor, so add the include.
Also takes the opportunity to stop including GCS.h
2022-07-19 12:27:26 +10:00
Peter Barker
f77d1812b8
AP_Arming: record only aggregate sensor consistency check times
...
All used sensors must be consistent with the primary sensor for 10 seconds, so we don't need to record times individually
2022-07-19 12:27:26 +10:00
Nikolay March
fa71a8ccf2
AP_HAL_ChibiOS: add BDShot for Holybro PH4-mini
...
Tested, working like its big Holybro Pixhawk4! (copied bdshot files)
And there no telem2 port(usart3), undef to relolve DMA.
I thought the copter stopped twitching like before, more stable!
2022-07-19 11:15:56 +10:00
Henry Wurzburg
2f90806f0a
AP_HAL_ChibiOS: fix bootloaders to turn on switched supply during bootloader
2022-07-19 10:34:47 +10:00
Peter Barker
e4ce4ebed3
AP_InertialSensor: remove un-needed methods
2022-07-19 10:30:36 +10:00
Peter Barker
01751fba60
AP_GPS: move defaulting of AP_GPS_UBLOX_ENABLED to AP_GPS_config
...
Addition of this define crossed with another PR which created the config.h file
2022-07-19 10:14:18 +10:00
Leonard Hall
f8e74d1da3
SITL: Make Yaw control scale with aircraft size
2022-07-19 09:24:45 +10:00
Peter Barker
9acf4c88c8
AP_Generator: add AP_GENERATOR_RICHENPOWER_ENABLED
2022-07-19 09:09:05 +10:00
Henry Wurzburg
ac6ae829e4
RC_Channel: Add docs for Mount_Lock option in parameter
2022-07-18 15:38:55 +01:00
Henry Wurzburg
fe51cf2ae7
RC_Channel: Add FFT tune doc to param
2022-07-18 15:38:55 +01:00
Andrew Tridgell
798ab5d859
AP_ICEngine: added option for throttle control while disarmed
...
this uses the passed in base throttle when disarmed
2022-07-18 20:55:56 +10:00
Peter Barker
d593727205
AP_RAMTRON: reduce scope for WITH_SEMAPHORE
2022-07-17 21:42:33 +10:00
Peter Barker
2c64922a14
AP_BoardConfig: use HAL_GCS_ENABLED in place of periph/example check
...
... periphs can have GCS too...
2022-07-17 09:33:11 +10:00
Peter Barker
5286ad45ad
AP_Common: AP_FWVersion doesn't need mavlink headers
2022-07-16 17:15:52 +10:00
Peter Barker
da2b530ce8
AP_Rally: tidy creation of Location from RallyLocation
2022-07-14 11:49:53 +10:00
Andrew Tridgell
0a7757a720
AP_RangeFinder: support Benewake H30 radar
...
30m max radar
2022-07-13 18:47:57 +10:00
Peter Barker
ffc4910c7e
AP_RangeFinder: reduce verbiage when detecting serial rangefinders
2022-07-13 18:39:06 +10:00
Peter Barker
55fb6c2c51
AP_OSD: include GCS_MAVLink for OSD_PARAM_NONE
2022-07-13 18:32:35 +10:00
Peter Barker
8f9ac91fa0
AP_AIS: include GCS_MAVLink.h
...
was getting mavlink_channel_t transitively
2022-07-13 18:32:35 +10:00
Peter Barker
ba2b7b8014
GCS_MAVLink: remove mavlink-specific methods from AP_SerialManager
2022-07-13 18:32:35 +10:00
Peter Barker
b958c3db70
AP_SerialManager: remove mavlink-specific methods from AP_SerialManager
2022-07-13 18:32:35 +10:00
Peter Barker
10bc615b57
AP_GPS: add include for GCS_MAVLink.h
...
The initialisation of the GPS_Fix enumeration is made from the mavlink headers.
We should probably move away from this, converting from our own enumeration to the mavlink enumeration when required (emitting mavlink packets and receiving in AP_GPS_MAV)
2022-07-13 18:32:35 +10:00
Peter Barker
4de69823e8
AP_HAL_ChibiOS: allow crashdump even if !HAL_GCS_ENABLED
...
We can dump these to SD card, for example.
2022-07-13 18:23:37 +10:00
Andy Piper
6ab6aa1ef4
AP_VideoTX: Tramp VTX support
...
Tramp enabled on 2Mb boards with OSD via AP_TRAMP_ENABLED
2022-07-13 18:22:34 +10:00
Andy Piper
58ea8d6b7b
AP_Vehicle: wire-in tramp support
2022-07-13 18:22:34 +10:00
Andy Piper
c541639e13
AP_SerialManager: add Tramp protocol
2022-07-13 18:22:34 +10:00
Andy Piper
81aa5b9dc6
AP_HAL_ChibiOS: make available/available_locked consistent with read/read_locked
2022-07-13 18:17:07 +10:00
Iampete1
cf14e741ee
AP_NavEKF3: only include log struture if enabled
2022-07-13 18:14:12 +10:00
Iampete1
68b7293d9a
AP_Proximity: move to config.h pattern and only include log structures if enabled
2022-07-13 18:14:12 +10:00
Iampete1
db9b57c0a3
AP_AIS: move to config.h pattern
2022-07-13 18:14:12 +10:00
Iampete1
8afc07d85b
AP_VisualOdom: only include log structure if enabled
2022-07-13 18:14:12 +10:00
Iampete1
71b00e0f75
AP_GPS: use config.h pattern and only include log structures if enabled
2022-07-13 18:14:12 +10:00
Peter Barker
00329ae443
AP_GPS: stop reading arbitrary amounts of data in GPS init
...
We don't like doing this in other places as the vehicle can go out to
lunch for arbitrary periods of time
2022-07-13 17:56:38 +10:00
Peter Barker
b88f414320
AP_GPS: allow UBLOX driver to be compiled out
2022-07-13 17:56:38 +10:00
Peter Barker
e858a0fab7
AP_GPS: factor out a _detect_instance method
...
This means we don't need the goto to handle the case of a detected GPS,
and it also allows for restructure remove the "else" statements, which
will allow compilinmg out the uBlox driver
2022-07-13 17:56:38 +10:00
Andrew Tridgell
0b9c5d6dc1
AP_ESC_Telem: fixed race condition in update_rpm()
...
if another thread updates at the same time then we could get division
by zero
2022-07-13 17:33:00 +10:00
Andrew Tridgell
1995dbf47c
AP_Scripting: added update_rpm() scripting binding
2022-07-13 17:33:00 +10:00
Andrew Tridgell
ec31a13275
AP_ESC_Telem: expose update_rpm() for scripting
2022-07-13 17:33:00 +10:00
Peter Barker
d768bcc904
GCS_MAVLink: eliminate get_mavlink_channel
...
there's no dependence on any SerialManager stuff when determining this. The protocol passed through was always mavlink...
2022-07-12 11:32:57 +10:00
Peter Barker
8ab0c03ada
AP_SerialManager: eliminate get_mavlink_channel
...
there's no dependence on any SerialManager stuff when determining this. The protocol passed through was always mavlink...
2022-07-12 11:32:57 +10:00
Peter Barker
38119e17c7
GCS_MAVLink: correct gcs_out_of_space_to_send methodname
...
the "_count" is incorrect given the method which this calles on the link object
2022-07-12 11:10:53 +10:00
Peter Barker
d1f4e95b26
AP_Rally: clarify that rtl altitude is in cm amsl
2022-07-12 11:06:27 +10:00
Peter Barker
a2a63e14b1
AP_Rally: tidy calculation of nearest rally/home
2022-07-12 11:06:27 +10:00
Andrew Tridgell
9b0c8674d6
HAL_SITL: catch ubsan errors into a log file
2022-07-12 11:00:08 +10:00
Andrew Tridgell
88f0a324fd
AP_Math: added rounding functions
...
prevent undefined behaviour in float -> integer types
2022-07-12 11:00:08 +10:00
Andrew Tridgell
e2a83ba428
AP_NavEKF3: fixed undefined behaviour in logging
2022-07-12 11:00:08 +10:00
Andrew Tridgell
a24ed6a7f1
AP_NavEKF2: fixed undefined behaviour in logging
2022-07-12 11:00:08 +10:00
Andrew Tridgell
f55aadfedf
HAL_SITL: fixed undefined behaviour in GPIO
2022-07-12 11:00:08 +10:00
Andrew Tridgell
511b0f69f2
AP_Mission: skip aux function in determining if a takeoff
...
and reset landing sequenece flag on a takeoff command
2022-07-12 10:34:26 +10:00
Iampete1
ecc3ae2d05
AP_Logger: Log Structure: remove comma on included AIS structure
2022-07-12 09:39:54 +10:00
Iampete1
8f7cad39cd
AP_AIS: only include log structures if enabled
2022-07-12 09:39:54 +10:00
Iampete1
60408fd16e
hwdef: skyviper: update AP_AIS_ENABLED to AP_AIS_ENABLED
2022-07-12 09:39:54 +10:00
Iampete1
faa414fbdb
AP_AIS: add dummy methods
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
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
chobitsfan
a723abf986
AP_Motors: reuse spool_step for code refactoring
2022-07-11 08:39:34 +09: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
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
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
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
Iampete1
56c6233be9
AC_AttitudeControl: remove PosControl_Sub
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
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
Andrew Tridgell
c29b390e7b
AP_InertialSensor: implemented harmonics in SITL vibration
2022-07-03 18:47:33 +10:00
Andrew Tridgell
6b55073508
SITL: added SIM_VIB_MOT_HMNC parameter
2022-07-03 18:47:33 +10:00
Andy Piper
193375a7e5
AP_InertialSensor: implement triple notches
2022-07-03 18:21:41 +10:00
Andy Piper
dfba938e63
Filter: add triple harmonic notches
2022-07-03 18:21:41 +10:00
Andy Piper
9d851a0c1a
AP_InertialSensor: allow concurrent logging of both pre- and post-filter IMU data for FFT
...
remove batch logging bitfields
2022-07-03 18:19:55 +10:00
Andrew Tridgell
2318c0e505
AP_Arming: added Scripting2 CAN protocol to switch
2022-07-03 08:21:55 +10:00
Andrew Tridgell
d8b98789e6
AP_Scripting: add support for scripting2 protocol
2022-07-03 08:21:55 +10:00
Andrew Tridgell
1b25babd8a
AP_CANManager: added scripting2 protocol
...
allows for lua scripts to distinguish two CAN interfaces
2022-07-03 08:21:55 +10:00
Randy Mackay
a7aa77ff86
AP_Scripting: add lua docs for mount methods
2022-07-02 09:21:53 +09:00
Randy Mackay
b8560345f7
AP_Scripting: add mount-test example script
2022-07-02 09:21:53 +09:00
Randy Mackay
47e10eaefa
AP_Scripting: add bindings to control mount
2022-07-02 09:21:53 +09:00
murata
531e92db8f
AP_TECS: Unify coding style for if statements
2022-07-01 11:54:46 -07:00
Peter Barker
db59117b83
SITL: add tests for ICE Planes
2022-07-01 19:33:51 +10:00
Peter Barker
61e65ca5f2
AP_ICEngine: add tests for ICE Planes
2022-07-01 19:33:51 +10:00
François Carouge
84b0f6478c
SITL/SIM_RF_MAVLink: fix incomplete initializer clauses
2022-07-01 18:24:43 +09:00