Commit Graph

29952 Commits

Author SHA1 Message Date
Andrew Tridgell
8f3405d308 hwdef: added Pixhawk6X support
a new H753 based board similar to the Pixhawk5X
2022-06-15 17:28:40 +10:00
Andrew Tridgell
9efcad3adf HAL_ChibiOS: added support for ALT_RAM_MAP on H7
for compatibility with the px4 H7 bootloader
2022-06-15 17:28:40 +10:00
Andrew Tridgell
308717d5eb HAL_ChibiOS: enable ITCM and DTCM on H7 at startup
these may have been disabled by the px4 H7 bootloader
2022-06-15 17:28:40 +10:00
Andy Piper
25785e12d9 AP_RCTelemetry: don't spam mode changes on CRSF startup
rewrite device ping bootstrap to avoid ping flood
enable device pings on CRSF in the event of TX loss.
only send pings if not negotiating the version
2022-06-15 17:20:36 +10:00
Andy Piper
9b8ea8475d AP_RCProtocol: reset UART on RX failure for CRSF
update CRSF timestamps to use microseconds
implement RX liveness protocol and implement for CRSF
2022-06-15 17:20:36 +10:00
Andy Piper
ed6f7fb9e9 AP_HAL_ChibiOS: add support for MambaF405 2022 MK4
mark DMA on MambaF405US-I2C UARTs
correct RSSI pin on MambaF405US-I2C
2022-06-15 17:05:41 +10:00
Randy Mackay
34f327404a AP_Mount: Gremsy only enabled on >1MB boards 2022-06-15 09:07:14 +09:00
Randy Mackay
1fca72a831 GCS_MAVLink: add comment re sending locations to mounts 2022-06-15 09:07:14 +09:00
Randy Mackay
e595da41e6 AP_Mount: gremsy uses gimb-dev-att-send to retract gimbal
this replaces the MAV_CMD_USER_1 method
2022-06-15 09:07:14 +09:00
Randy Mackay
14c81099db AP_Mount: add Gremsy driver
Co-authored-by: bugobliterator <siddharthbharatpurohit@gmail.com>

this drivers special features include
sends ATTITUDE and AUTOPILOT_STATE_FOR_GIMBAL
support of RC rate targets
captures and re-forwards gimbal_device_attitude_status
2022-06-15 09:07:14 +09:00
Randy Mackay
6723a0fc55 AP_Mount: handle gimbal_device_attitude_status 2022-06-15 09:07:14 +09:00
Randy Mackay
247697ccc4 AP_Mount: add support for DO_GIMBAL_MANAGER_PITCHYAW mavlink command 2022-06-15 09:07:14 +09:00
Randy Mackay
8092697c1a AP_Mount: backend record RC rate targets 2022-06-15 09:07:14 +09:00
Randy Mackay
f157e5a073 AP_Mount: add set_yaw_lock 2022-06-15 09:07:14 +09:00
Randy Mackay
589102b7d7 AP_Mission: add DO_GIMBAL_MANAGER_PITCHYAW support 2022-06-15 09:07:14 +09:00
Randy Mackay
640a4b1a5f RC_Channel: add mount lock aux function 2022-06-15 09:07:14 +09:00
Randy Mackay
f83b4cdb40 GCS_MAVLink: support sending AUTOPILOT_STATE_FOR_GIMBAL_DEVICE 2022-06-15 09:07:14 +09:00
bugobliterator
4dd66fed4b GCS_MAVLink: forward gimbal-device-information to AP_Mount
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>

also forward gimbal_device_attitude_status
2022-06-15 09:07:14 +09:00
Randy Mackay
c19d5391d9 AP_Vehicle: add get_rate_bf_targets method 2022-06-15 09:07:14 +09:00
Randy Mackay
0975da6068 AP_Mount: remove virtual distructor from backend 2022-06-15 09:07:14 +09:00
Randy Mackay
b6d7601a55 AP_Mount: SToRM32 minor comment fix
also move definitions to cpp file
2022-06-15 09:07:14 +09:00
Tom Pittenger
c28db6d91c AP_HAL_ChibiOS: Durandal hwdef to enable Sagetech MXS driver by default for CI to test against 2022-06-14 07:10:17 -07:00
Tom Pittenger
7b681d55a8 AP_ADSB: fix sagetech MXS SDK linking error 2022-06-14 07:10:17 -07:00
Chuck Faber
c0b2b679a1 AP_ADSB: Added Sagtetech MXS Driver and it's SDK 2022-06-14 07:10:17 -07:00
Tom Pittenger
0645aee865 AP_ADSB: Driver cleanup and refactor 2022-06-14 07:10:17 -07:00
Tom Pittenger
07be987073 AP_HAL_ChibiOS: enable SagetechMXS driver by default only for CUAV-X7 and CubeOrange 2022-06-14 07:10:17 -07:00
mateksys
71b9e80c04 hwdef: added more PWM options in MatekL431-Dshot 2022-06-14 18:59:52 +10:00
Andy Piper
4068337971 AP_HAL_ChibiOS: correct UART RX stats 2022-06-14 10:25:17 +10:00
Andrew Tridgell
064b6c8a9d AP_ESC_Telem: use send_struct mavlink function
saves some flash, cpu and stack, but means we need a cast
2022-06-14 10:11:03 +10:00
Andy Piper
619fa021e7 AP_GyroFFT: make sure the parameters are updated at least once on startup 2022-06-14 10:09:18 +10:00
Andy Piper
24e47ea08d AP_Arming: make sure FFT gets initialized when arming checks are off 2022-06-14 10:09:18 +10:00
James Harton
b963be7ee8 AP_HAL_ChibiOS: Add on-board baro support to iFlight BeastH7 V2 target.
iFlight's own website says that there is no barometer on this device,
however on my one there is a DPS310 connected on I2C.  This PR adds
support for the on-board baro but leaves it as optional.
2022-06-14 09:46:46 +10:00
Peter Barker
5a1d4f3bf5 AP_AHRS: update rotation based on board_orient parameter 2022-06-12 17:32:11 +10:00
Andrew Tridgell
7928fa6e69 Filter: added a NotchFilter test suite 2022-06-12 15:39:44 +10:00
Andrew Tridgell
7c782dda88 Filter: fixed ordering of samples in notch reset 2022-06-12 15:39:44 +10:00
Andrew Tridgell
d653499efc AP_InertialSensor: count filters to match notch options
this allows for much more complex filter setups as long as not
filtering on all IMUs
2022-06-12 15:39:44 +10:00
Andrew Tridgell
d07761cfd9 Filter: fixed reset of notch filters
when we reset a notch we need to init the stored values to the current
value, rather than assuming that zero is the right value

this matters when switching IMUs in flight when we are only running
notch filters on the active gyro
2022-06-12 15:39:44 +10:00
Andrew Tridgell
a37f268dc6 Ap_Inertialsensor: by default only run harmonic notch on the active gyro
this should save quite a lot of CPU. Only the active gyro impacts
vehicle flight
2022-06-12 15:39:44 +10:00
Andrew Tridgell
9e3a29bf86 Filter: added EnableOnAllIMUs option to harmonic notch filter 2022-06-12 15:39:44 +10:00
Peter Barker
39b7f63140 AP_Beacon: stop passing serialmanager into beacon constructor 2022-06-11 16:02:37 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
d3eae308da Filter: NFC spell corrections in comments 2022-06-11 08:43:03 +09:00
Andrew Tridgell
c01e21dcb3 AP_FETtecOneWire: cleanup mask handling
use unsigned masks
2022-06-10 13:46:43 +10:00
Andrew Tridgell
3a1fc0f338 AP_ESC_Telem: disable ESC telem with zero channels
this prevents a build error and saves flash
2022-06-10 13:46:43 +10:00
Andrew Tridgell
cd8ff2b37a AP_ESC_Telem: added ESC_TLM_MAV_OFS parameter
this allows for the ESC telemetry to be remapped to a lower range for
GCS displays. Users often want their quadplane ESCs to show up as ESCs
1 to 8 instead of the high numbers used internally
2022-06-10 13:46:43 +10:00
Andrew Tridgell
42624bdbeb AP_Vehicle: added parameter table for ESC telemetry 2022-06-10 13:46:43 +10:00
Andrew Tridgell
aedf465049 AP_ESC_Telem: support ESC telem for ESCs 13 to 32
also fix a mavlink buffer starvation issue
2022-06-10 13:46:43 +10:00
Randy Mackay
a358357951 AP_Scripting: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay
2a264b0331 SRV_Channel: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay
85b9e6e57c GCS_MAVLink: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay
533a16287e AP_CANManager: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay
d503246be2 AP_Arming: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay
02faacf448 AP_ToshibaCAN: remove support 2022-06-10 12:08:05 +09:00
Andrew Tridgell
d85fe81537 AP_EFI: fixed bug in Lutan driver
we need to send an initial request pkt if no data from Lutan
2022-06-09 21:10:37 +10:00
Andrew Tridgell
9ddd1afb34 AP_EFI: added DroneCAN EFI driver 2022-06-09 21:10:37 +10:00
Andrew Tridgell
465dbd89f4 AP_UAVCAN: support DroneCAN EFI 2022-06-09 21:10:37 +10:00
Andrew Tridgell
085413865a hwdef: added MatekL431-EFI 2022-06-09 21:10:37 +10:00
Andrew Tridgell
0fad35112f AP_EFI: allow EFI to be used in AP_Periph 2022-06-09 21:10:37 +10:00
Andrew Tridgell
998072f600 AP_Scripting: setup axis filters when starting an axis 2022-06-09 13:15:13 +10:00
Andrew Tridgell
4bc697dfa2 AP_Scripting: added QUIK_AUTO_SAVE option
allows tuning with 2 position switch
2022-06-09 13:15:13 +10:00
Andy Piper
fafa4158dd AP_HAL_ChibiOS: hwdef for MambaH743v4
support BMI270 on MambaH743v4 and increase flash SPI clock
add bi-directional dshot to MambaH743
add README and pinout for MambaH743
2022-06-08 21:44:21 +10:00
Andy Piper
11f5d1974a AP_InertialSensor: don't print error when probing non-existant BMI270
fix device locking at startup on BMI270
2022-06-08 21:44:21 +10:00
Andy Piper
f666ed8ec7 AP_Logger: support W25N01GV flash chips
add separate driver for W25N01GV triggered via HAL_LOGGING_DATAFLASH_DRIVER
move flash_test() into AP_Logger_Block.
cleanup use of 4k sector commands to account for chips that only have block commands
2022-06-08 21:44:21 +10:00
Andy Piper
6cacdd1b34 AP_InertialSensor: properly reset MPU6000 signal path at startup
failure to reset the signal path as per the register spec leads to
very poor temperature response early on in startup.
2022-06-08 17:44:17 +10:00
Andy Piper
fe29324828 AP_RCProtocol: check for bad frames in CRSF decoding. 2022-06-08 17:35:03 +10:00
Iampete1
702245f89e AP_Math: calc_lowpass_alpha_dt: remove unused constrain 2022-06-08 17:11:08 +10:00
Andrew Tridgell
eed14b3688 AP_Airspeed: fixed autotest for copter param parse
This command was failing:

  Tools/autotest/param_metadata/param_parse.py --vehicle Copter

I don't understand why it starts to fail now, but this is the fix
2022-06-08 09:23:04 +10:00
Pierre Kancir
83dd5be637 AP_NavEKF: fix line ending 2022-06-08 08:16:42 +09:00
Pierre Kancir
0c9060753e AP_MSP: fix line ending 2022-06-08 08:16:42 +09:00
Pierre Kancir
22dae61c80 AP_ADSB: fix line ending 2022-06-08 08:16:42 +09:00
Pierre Kancir
b43dd7ba27 SITL: fix python files exec permissions 2022-06-08 08:16:42 +09:00
Pierre Kancir
21890000f7 AP_NavEKF3: fix python files exec permissions 2022-06-08 08:16:42 +09:00
Pierre Kancir
58ceecc4bf AP_HAL: fix python files exec permissions 2022-06-08 08:16:42 +09:00
Pierre Kancir
b835395cf9 SITL: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
Pierre Kancir
231c15a3f9 AP_ONVIF: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
Pierre Kancir
b909a110cd AP_HAL_ChibiOS: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
Peter Barker
ea7f71a1a7 AP_EFI: emit ignition voltage as unknown in EFI_STATUS 2022-06-08 08:15:15 +09:00
Henry Wurzburg
0853acd7e2 AP_Scripting: update QUIKTUNE readme file 2022-06-08 08:55:02 +10:00
Henry Wurzburg
d55fd76443 AP_Scripting: modify QUIKTUNE for audio monitorin in TX 2022-06-08 08:55:02 +10:00
murata
c65425e3ac AP_Scripting: Changed NULL to nullptr 2022-06-07 11:59:23 +09:00
murata
0b357faf7e AP_Motors: Resolve Issue 20894 2022-06-07 10:02:11 +10:00
Michał
6f7abab036 AP_WheelEncoder: fix WheelEncoder_Quadrature timestamp.
Convert timestamp to ms from us.
2022-06-07 09:59:27 +10:00
Peter Barker
38bbb2361e AP_HAL: set AP_STATS_ENABLED default value 2022-06-07 09:57:32 +10:00
Pradeep
183352cdfe AP_Periph: choose node stats - build files
Added - AP_Stat library and AP_STATS_ENABLED build options
2022-06-07 09:57:32 +10:00
Pradeep
03f7df39dd hwdefs: choose node stats - CarbonixF405 and CarbonixL496
Added definition to enable node statistics
AP_Periph: choose node stats - CarbonixF405 and CarbonixL496

Added definition to enable node statistics
2022-06-07 09:57:32 +10:00
Randy Mackay
5651d8761d AP_Mount: remove unimplemented send_gimbal_report 2022-06-07 09:27:47 +10:00
Randy Mackay
3ac5ad8e33 GCS_MAVLink: remove unused send_gimbal_report 2022-06-07 09:27:47 +10:00
Randy Mackay
8c19af72e0 GCS_MAVLink: learn routes even on private channels
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-06-06 15:50:13 +10:00
Andrew Tridgell
19063a46a0 AP_InertialSensor: fixed build with logging disabled
fixes CubeOrange-periph build
2022-06-06 14:50:40 +10:00
Andrew Tridgell
180c516b53 AP_BoardConfig: fixed build with logging disabled
fixes CubeOrange-periph build
2022-06-06 14:50:40 +10:00
Andrew Tridgell
6832eab8a5 AP_GPS: fixed build without logging 2022-06-06 14:50:40 +10:00
Andrew Tridgell
2c962e46c1 AP_Logger: don't compiler AP_Logger.cpp if logging not enabled
for some reason this fixes f103-GPS build, even though the code wasn't
referenced
2022-06-06 14:50:40 +10:00
Andrew Tridgell
a15cf3192d AP_Logger: save crash_dump.bin to sdcard on boot
on each boot write crash_dump.bin to the microSD if it is available
this makes it easier for users to send in their crash dumps, and less
likely they will overwrite it with a fw update
2022-06-06 14:50:40 +10:00
Andrew Tridgell
45c016ea13 AP_Param: make configured_in_storage() private
prevent future bugs using the wrong method
2022-06-06 13:11:50 +10:00
Andrew Tridgell
d512dc0b00 RC_Channel: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
be33f77725 AP_VideoTX: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
943b262eef AP_RPM: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
5413893c91 AP_RangeFinder: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
72470e290c AP_NavEKF: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
d5670ace3b AP_NavEKF3: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
aafec1fbe7 APM_Control: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
e807a74976 AP_HAL_ChibiOS: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Andrew Tridgell
b2e43d1dee AP_Motors: fixed override of MOT_PWM_MIN/MAX in defaults.parm
need to check configured() not configured_in_storage()
2022-06-06 13:11:50 +10:00
Andrew Tridgell
540dcc554f AP_UAVCAN: added a check for memory corruption in the pool 2022-06-05 16:03:35 +10:00
Andrew Tridgell
541de85354 AP_UAVCAN: added dynamically allocated pool size param
allow for smaller pool size to save memory
2022-06-05 16:03:35 +10:00
Randy Mackay
29a1aed1e3 AP_Mount: backend gets minor comment fix 2022-06-03 19:43:54 +09:00
Randy Mackay
6303a7d958 AP_Mount: Alexmos minor comment fix 2022-06-03 19:43:51 +09:00
bugobliterator
68f0863fb6 AP_HAL_ChibiOS: remove peripheral power down in bootloader 2022-06-03 16:41:22 +10:00
bugobliterator
2726de9b7a AP_HAL_ChibiOS: split the CubeOrange hwdef into inc and dat so the inc can be properly reused 2022-06-03 16:41:22 +10:00
bugobliterator
026ca4adae AP_HAL_ChibiOS: update to using H757 chipset in cubeorange+ 2022-06-03 16:41:22 +10:00
Randy Mackay
b4e5e16d56 RC_Channel: minor spelling fix 2022-06-03 11:56:18 +09:00
Randy Mackay
9e8f000ac2 AP_Mount: minor spelling fix 2022-06-03 11:56:18 +09:00
Andy Piper
7b733da2ea AP_HAL: correct assert 2022-06-01 15:49:32 +01:00
Andy Piper
d3e57be6e5 AP_HAL: save a sliding window array of frequency bins
calculate frequency average from sliding window
2022-06-01 15:49:32 +01:00
Andy Piper
044aaf3004 AP_HAL_Empty: save a sliding window array of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper
061ddf7a3f AP_HAL_SITL: save a sliding window of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper
58b04db242 AP_HAL_ChibiOS: save a sliding window of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper
684cf996e1 AP_GyroFFT: save a sliding window of output frequency bins
allow configuration of DSP averaging frames via FFT_NUM_FRAMES
2022-06-01 15:49:32 +01:00
Andrew Tridgell
c02aef8a50 AP_Logger: allow for new log msgs in Replay
this makes replay tuning and code testing much easier as up to 10 new
log messages can be added in the replay code
2022-06-01 17:07:41 +10:00
Maxim Buzdalov
e71ced7984 AP_Scripting: Fix parameter name in find_serial, add description
The argument to find_serial is not the protocol name, but the number of instance that can run the Scripting protocol (28).
The matching doc update is in https://github.com/ArduPilot/ardupilot_wiki/pull/4346.
2022-05-31 15:00:57 +01:00
Andrew Tridgell
6f3b760d0b AP_Filesystem: fixed gets() posix compat function
it needs to stop at end of line
2022-05-31 09:26:43 +10:00
Andrew Tridgell
74c4f3c9a9 AP_NavEKF3: log set source events 2022-05-31 09:17:37 +10:00
Andrew Tridgell
8430fc1002 AP_DAL: added set source events for EKF3 2022-05-31 09:17:37 +10:00
Mark Whitehorn
6f789ead55 AP_Math: add unit test for rc_input_to_roll_pitch 2022-05-31 08:08:17 +09:00
Leonard Hall
1a21c6da1e AP_Math: Move rc_input_to_roll_pitch conversion 2022-05-31 08:08:17 +09:00
Randy Mackay
6ac864ec2f AP_Mission: support NAV_ATTITUDE_TIME command 2022-05-31 07:50:16 +09:00
Andy Piper
1899962175 AP_OSD: update parameter menu flightmodes for plane and copter. 2022-05-30 11:16:39 +09:00
Iampete1
ecc86b6a4b AC_AttitudeControl: reduce alt hold min lean angle to 5deg on plane 2022-05-27 08:17:14 +10:00
TunaLobster
53a5043ac4 AP_ICEngine: Change throttle_override to pass in current throttle value 2022-05-26 11:30:41 -07:00
TunaLobster
9e26556408 AP_ICEngine: Add redline governor and RPM filter
Adds a top end governor to protect the engine from exceeding design limits. Similar to idle governor.
Adds a LPF at 0.5 Hz for RPM.
2022-05-26 11:30:41 -07:00
Peter Barker
db9228ea3e AP_DAL: correct error path in max_distance_cm_orient 2022-05-26 20:26:50 +10:00
Ryan Beall
eb790c6c0b AP_Baro.cpp: Add in notes for standard day model accuracy 2022-05-26 11:32:45 +10:00
Ryan Beall
5dda9ac9d0 AP_Baro.cpp: no need to set and save FIELD_ELV
parameter gets reset on boot
2022-05-26 11:32:45 +10:00
Ryan Beall
cfa0690ab1 AP_Baro.cpp: Move parameter to end of list 2022-05-26 11:32:45 +10:00
Ryan Beall
9f1620f346 AP_Baro.cpp: if not define out AP Periph 2022-05-26 11:32:45 +10:00
Ryan Beall
f9840386bc AP_Baro.cpp: fix fabsf and use non-fixed temperature for calibration 2022-05-26 11:32:45 +10:00
Ryan Beall
16f0df04dc AP_Baro.cpp: Atmospheric Model Correction 2022-05-26 11:32:45 +10:00
Randy Mackay
27b66443b2 AP_Vehicle: mode reason added for dead reckon failsafe 2022-05-25 20:05:21 +09:00
Randy Mackay
86eea9468a AP_Arming: add DEADRECKON_FAILSAFE disarm reason 2022-05-25 20:05:21 +09:00
Randy Mackay
5b40808ee8 AP_Logger: error subsystem added for dead reckon failsafe 2022-05-25 20:05:21 +09:00
Randy Mackay
eafb118b47 AP_NavEKF3: set filter status dead_reckoning bit 2022-05-25 20:05:21 +09:00
Randy Mackay
6553b9145a AP_NavEKF: filter status gets dead_reckoning bit 2022-05-25 20:05:21 +09:00
Randy Mackay
e37bf9ad53 AP_NavEKF3: drag fusion for att and velAiding
also add dragTimeout
2022-05-25 20:05:21 +09:00
Randy Mackay
61c4643aed AP_NavEKF3: minor comment fix 2022-05-25 20:05:21 +09:00
Peter Barker
e9426b2ff3 AP_ExternalAHRS: correct compilation if AP_Baro_ExternalAHRS isn't available 2022-05-25 18:19:00 +10:00
Peter Barker
c5f1d1db28 AP_Generator: inhibit maintenance warning based on GEN_OPTIONS bit 2022-05-25 18:17:05 +10:00
Peter Barker
bc0befc737 AP_Generator: mask MaintenanceRequired out from error bits in prearm
Turns out the generator sets this bit when it reaches the
maintenance-required state.

Mask it out from the error bits so the user can still fly.

Add some periodically-run code to complain about maintenance-required,
separate from the prearm checks.
2022-05-25 18:17:05 +10:00
Peter Barker
c496985e37 SITL: SIM_RichenPower sets MaintenanceRequired error flag
Turns out the generator does set this flag when the generator reaches
its maintenance required state.
2022-05-25 18:17:05 +10:00
bugobliterator
1934b4a738 AP_HAL: move function definitions to cpp to save flash 2022-05-25 18:14:46 +10:00
bugobliterator
76d6170ec9 AP_HAL_ChibiOS: add mechanism to set register rw register using device name for SPI 2022-05-25 18:14:46 +10:00
bugobliterator
e26ffc4ec5 AP_HAL: add mechanism to set register rw register using device name for SPI 2022-05-25 18:14:46 +10:00
Peter Barker
4272b2c264 AP_AccelCal: limit COMMAND_ACKs accepted for vehicle pose confirmation 2022-05-25 17:55:55 +10:00
Peter Barker
be21091619 GCS_MAVLink: pass mavlink_command_ack_t to accelcal library
The library needs to look at the content of the packet.  Given that GCS_MAVLink is already within handle_command_ack, decoding it there makes sense.
2022-05-25 17:55:55 +10:00
Peter Barker
dcc1818ee2 AP_AccelCal: pass mavlink_command_ack_t to accelcal library
The library needs to look at the content of the packet.  Given that GCS_MAVLink is already within handle_command_ack, decoding it there makes sense.
2022-05-25 17:55:55 +10:00
Peter Barker
dd2283d73b AP_Airspeed: add SITL backend 2022-05-25 17:52:44 +10:00
Andy Piper
0cd3636dfb AR_Motors: make sure ESC type is initialized early 2022-05-25 17:06:08 +10:00
Andy Piper
3d9639181e AP_Motors: make sure ESC type is initialized early 2022-05-25 17:06:08 +10:00
Andy Piper
e95d116979 SRV_Channel: add BLHeli_S ESC type 2022-05-25 17:06:08 +10:00
Andy Piper
cabaef6173 AP_HAL_ChibiOS: add BLHeli_S ESC type and use it to control bitwidths 2022-05-25 17:06:08 +10:00
Andy Piper
35a37cb84b AP_HAL: add BLHeli_S ESC type and use it to control bitwidths
adjust BLHeli_S bitwidth and ticks to support more ESC variants.
2022-05-25 17:06:08 +10:00
Ruffalo-sunghwan
988eb67298 AP_Common : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
e4a4fbe17a AP_ADSB : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
499c5dfc96 AP_Compass : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
746e85740f AP_FETtecOneWire : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
001643eb4f AP_Airspeed : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
3f1779a5a1 AP_Landing : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
7fb9d21cbf AC_AttitudeControl : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
40071aacc6 AP_Torqeedo : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
286e0f261e AP_TECS : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
86cd266010 AP_RangeFinder : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
51451d29e1 GCS_MAVLink : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
5a4d61e3a4 AP_NavEKF3 : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
dc07747199 SITL : correct comment spelling 2022-05-24 20:27:45 +09:00
Ruffalo-sunghwan
e0d14d900a SRV_Channel : correct comment spelling 2022-05-24 20:27:45 +09:00
Peter Barker
e6e45eda97 SITL: populate rangefinder ranges for inbuilt sims
These values are returned for the SITL rangefinder backend, type=100
2022-05-24 10:38:57 +10:00
Peter Barker
51246fda45 AP_RangeFinder: enable SITL rangefinder for sim-on-hardware 2022-05-24 10:38:57 +10:00
Peter Barker
73190d075a SITL: add support for SIM_OH_MASK (sim-on-hardware output enable mask 2022-05-24 10:35:32 +10:00
Peter Barker
2913c8d9e9 AP_HAL_ChibiOS: add support for SIM_OH_MASK (sim-on-hardware output enable mask 2022-05-24 10:35:32 +10:00
Peter Barker
488509353a SITL: add support for Plane SITL-on-hw 2022-05-24 10:35:32 +10:00
Peter Barker
16883565e2 AP_HAL: add support for Plane SITL-on-hw 2022-05-24 10:35:32 +10:00
Peter Barker
0f48557ec2 AP_HAL: fix compilation for sitl-on-hw 2022-05-24 10:35:32 +10:00
Andy Piper
ccbe62589e AP_Logger: add W25Q128 variant 2022-05-24 10:32:34 +10:00
Andrew Tridgell
cf4768454f AP_BoardConfig: expose BRD_SAFETYENABLE on all boards
default BRD_SAFETYENABLE to 0 on boards with no safety switch, which
gives us the same behaviour as before, but users can choose to enable
the safety

this fixes two problems:

  - CAN servos and ESCs work on boards with no safety switch
    (eg. MatekH743 with CAN)

  - during startup we could get spurious outputs before out aircraft
    type is setup
2022-05-22 14:58:12 +10:00
Andrew Tridgell
c8b328c3a1 HAL_ChibiOS: always start with safety enabled
we want it enabled during early boot to prevent incorrect ESC and
servo output
2022-05-22 14:58:12 +10:00
Peter Barker
c8f1d2f023 AP_MSP: allow baro backends to be individually compiled out
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00
Peter Barker
e2f5443a1e hwdef: skyviper-v2450: compile in only ICM20789 2022-05-22 12:11:45 +10:00
Peter Barker
8cd0922f01 AP_UAVCAN: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Peter Barker
b863f8a331 AP_Baro: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Andrew Tridgell
11a06aa6cb SRV_Channel: re-fixed typo 2022-05-22 12:07:37 +10:00
Andrew Tridgell
cc06327526 AP_UAVCAN: allow CAN output for function==0 and allow for 32 CAN servos 2022-05-22 12:07:37 +10:00
Andrew Tridgell
aa9083e94c SRV_Channel: only support 32 channels on 2M flash boards
save flash on smaller boards
2022-05-22 12:07:37 +10:00
Andrew Tridgell
e185e1252b SRV_Channel: added a SERVO_32_ENABLE parameter
save on param count for most users
2022-05-22 12:07:37 +10:00
Andrew Tridgell
ed01d33ef8 SRV_Channel: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
4557c8ad04 AP_ToshibaCAN: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
7f6196b550 AP_RobotisServo: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
f00a227b33 AP_Motors: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
bb8ebeebe2 AP_KDECAN: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
f530761174 AP_HAL_Linux: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
113b4cec38 AP_HAL: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
7aea559bdb AP_HAL_ESP32: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Andrew Tridgell
1d9abefbb1 AP_HAL_ChibiOS: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00