Andy Piper
81aa5b9dc6
AP_HAL_ChibiOS: make available/available_locked consistent with read/read_locked
3 years ago
Iampete1
cf14e741ee
AP_NavEKF3: only include log struture if enabled
3 years ago
Iampete1
68b7293d9a
AP_Proximity: move to config.h pattern and only include log structures if enabled
3 years ago
Iampete1
db9b57c0a3
AP_AIS: move to config.h pattern
3 years ago
Iampete1
8afc07d85b
AP_VisualOdom: only include log structure if enabled
3 years ago
Iampete1
71b00e0f75
AP_GPS: use config.h pattern and only include log structures if enabled
3 years ago
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
3 years ago
Peter Barker
b88f414320
AP_GPS: allow UBLOX driver to be compiled out
3 years ago
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
3 years ago
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
3 years ago
Andrew Tridgell
1995dbf47c
AP_Scripting: added update_rpm() scripting binding
3 years ago
Andrew Tridgell
ec31a13275
AP_ESC_Telem: expose update_rpm() for scripting
3 years ago
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...
3 years ago
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...
3 years ago
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
3 years ago
Peter Barker
d1f4e95b26
AP_Rally: clarify that rtl altitude is in cm amsl
3 years ago
Peter Barker
a2a63e14b1
AP_Rally: tidy calculation of nearest rally/home
3 years ago
Andrew Tridgell
9b0c8674d6
HAL_SITL: catch ubsan errors into a log file
3 years ago
Andrew Tridgell
88f0a324fd
AP_Math: added rounding functions
...
prevent undefined behaviour in float -> integer types
3 years ago
Andrew Tridgell
e2a83ba428
AP_NavEKF3: fixed undefined behaviour in logging
3 years ago
Andrew Tridgell
a24ed6a7f1
AP_NavEKF2: fixed undefined behaviour in logging
3 years ago
Andrew Tridgell
f55aadfedf
HAL_SITL: fixed undefined behaviour in GPIO
3 years ago
Andrew Tridgell
511b0f69f2
AP_Mission: skip aux function in determining if a takeoff
...
and reset landing sequenece flag on a takeoff command
3 years ago
Iampete1
ecc3ae2d05
AP_Logger: Log Structure: remove comma on included AIS structure
3 years ago
Iampete1
8f7cad39cd
AP_AIS: only include log structures if enabled
3 years ago
Iampete1
60408fd16e
hwdef: skyviper: update AP_AIS_ENABLED to AP_AIS_ENABLED
3 years ago
Iampete1
faa414fbdb
AP_AIS: add dummy methods
3 years ago
Iampete1
e8607c09f1
GCS_MAVLink: send ais message
3 years ago
Iampete1
30fffb491c
AP_Vehicle: add AIS
3 years ago
Iampete1
b94e1c5027
AP_AIS: add singleton
3 years ago
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
3 years ago
Shiv Tyagi
489a27ca19
SITL: fix sim_precland orientation bug
3 years ago
RuffaloLavoisier
0e0c23a8e3
AP_Logger : correct spelling on comment
3 years ago
chobitsfan
a723abf986
AP_Motors: reuse spool_step for code refactoring
3 years ago
Andrew Tridgell
0103776d83
Filter: fixed test_notchfilter for the change in allocate_filters()
...
changed for triple notch
3 years ago
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.
3 years ago
Yuri
565f757f35
AP_Scripting: rover-MinFixType example param caching fix
3 years ago
Yuri
6a74be104f
AP_Scripting: add set_desired_speed binding
3 years ago
Yuri
bc8bdc18c9
AP_Vehicle: add set_desired_speed for use in scripting
3 years ago
Andrew Tridgell
39fd4f01cd
AP_Scripting: fixed SimOnHardware build
...
HAL_MOUNT_ENABLED depends on !HAL_MINIMIZE_FEATURES
3 years ago
Iampete1
56c6233be9
AC_AttitudeControl: remove PosControl_Sub
3 years ago
xiao
084bae21ef
HAL_ChibiOS: hwdef: MFE-PixSurveyA1 rename PixSurveyA1
3 years ago
xiao
39abb13692
HAL_ChibiOS: hwdef: add new hardware MFE-PixSurveyA1
3 years ago
Andrew Tridgell
af5eb44629
hwdef: added telem3 on Pixhawk6X
3 years ago
Iampete1
ea4f050aa8
AP_Scripting: Generator: fix docs generator aliasing
3 years ago
Peter Barker
a647cd9b8f
hwdef: remove redundant 'define HAL_MINIMIZE_FEATURES 0'
3 years ago
Peter Barker
80e70b2fb4
AP_InertialSensor: remove voiding of parameter
...
Clearly this is used - we pass it down
3 years ago
Andrew Tridgell
c29b390e7b
AP_InertialSensor: implemented harmonics in SITL vibration
3 years ago
Andrew Tridgell
6b55073508
SITL: added SIM_VIB_MOT_HMNC parameter
3 years ago
Andy Piper
193375a7e5
AP_InertialSensor: implement triple notches
3 years ago