Commit Graph

56874 Commits

Author SHA1 Message Date
Andrew Tridgell 13f033ac92 mavlink: update submodule 2023-03-07 20:35:13 +09:00
Peter Barker 25dd8caf2e board_types.txt: move rFCU and rGNSS to different IDs
these are clashing with board IDs already in-tree
2023-03-07 21:13:57 +11:00
Andrew Tridgell 06ac5258ea Tools: added board ID for rFCU and rGNSS 2023-03-07 17:31:54 +11:00
Randy Mackay e6ad42b851 Copter: fix terrain offset reset 2023-03-07 13:41:35 +11:00
Leonard Hall 6930e8872d Sub: Add support for terrain altitude time constant 2023-03-07 13:41:35 +11:00
Leonard Hall 7978347044 Copter: Add support for terrain altitude time constant 2023-03-07 13:41:35 +11:00
Leonard Hall 6344faeb29 AC_WPNav: Provide terrain altitude for surface tracking 2023-03-07 13:41:35 +11:00
Peter Barker 518fece88d AP_Mount: remove redundant constructors
just copy in the one from the parent class
2023-03-07 13:40:54 +11:00
Andrew Tridgell 9cda7b5ccc AP_Compass: drop MMC5xx3 sample rate to 100Hz
this was consuming too much of the I2C bus sampling at 1kHz
2023-03-06 17:24:29 -08:00
Andrew Tridgell 2781f65d56 AP_Periph: limit peripheral mag to 25Hz by default
we only read mag on the vehicles at 10Hz. Some magnetometers were
reporting data at 500Hz (see MMC5xx3 driver)

by sampling more slowly the data is accumulated and averaged on the
node which saves a lot of bandwidth
2023-03-06 17:24:29 -08:00
Tom Pittenger 3c65b5e5a0 RC_Channel: add AUX_FUNC::BATTERY_MPPT_ENABLE 2023-03-07 11:42:24 +11:00
Tom Pittenger f413f82345 AP_BattMonitor: add external MPPT on-off control 2023-03-07 11:42:24 +11:00
Henry Wurzburg eeb72637ec AP_GPS:make Unicore reset to rover in all cases 2023-03-07 10:57:20 +11:00
Iampete1 77540dff07 AP_inertialSensor: BatchSampler: add enabled and initalised getters 2023-03-07 10:56:16 +11:00
Iampete1 89e5a7a300 AP_Arming: INS: add batchsampler init check 2023-03-07 10:56:16 +11:00
Andy Piper 027ffefa41 bootloaders: Pixhawk6C-bdshot bootloaders 2023-03-07 10:35:08 +11:00
Andy Piper 30c9512c86 bootloaders: QioTekZealotH743-bdshot bootloaders 2023-03-07 10:35:08 +11:00
Andy Piper 3607709d16 AP_HAL_ChibiOS: bdshot version of Pixhawk6C 2023-03-07 10:35:08 +11:00
Andy Piper 7cdbc6169f AP_HAL_ChibiOS: bdshot version of QioTekZealotH743 2023-03-07 10:35:08 +11:00
Andrew Tridgell 5b5f7836df Tools: rebuild IO firmware with force heater feature support 2023-03-07 10:33:24 +11:00
Andrew Tridgell 1d0bcbf3a1 hwdef: force enable heater on PixPilot-V6 2023-03-07 10:33:24 +11:00
Andrew Tridgell 2f1c38e13a AP_IOMCU: support forcing heater to enabled with a feature bit 2023-03-07 10:33:24 +11:00
Peter Barker 9fd4298377 AP_SerialLED: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Peter Barker d9aa0c9cf0 AP_Notify: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Peter Barker a647f79371 AP_HAL_ChibiOS: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Iampete1 d97bd6f5c3 Plane: titrotor: is_motor_tilting: dont cast to uint8 2023-03-07 10:28:11 +11:00
Peter Hall 9ac488d500 AP_Scripting: add binding to set motors external limits 2023-03-07 10:12:30 +11:00
Peter Hall bbb9e66196 AP_Motors: add method for scripting to set external limit flags 2023-03-07 10:12:30 +11:00
Peter Hall 23fb73085a AP_Scripting: add bindings to get throttle, forward, lateral and spool state from motors 2023-03-07 10:12:30 +11:00
Andrew Tridgell bc3fc9a317 AP_Scripting: added bindings for motors roll, pitch, yaw outputs 2023-03-07 10:12:30 +11:00
Peter Barker 7fe547cfce Tools: add support for MAV_CMD_DO_SET_ROI_NONE 2023-03-07 08:06:01 +09:00
Peter Barker f8c2ceced7 GCS_MAVLink: add support for MAV_CMD_DO_SET_ROI_NONE 2023-03-07 08:06:01 +09:00
Andrew Tridgell eae518329d AP_RAMTRON: added MB85RS256TY
new 32k FRAM
2023-03-07 07:57:46 +11:00
Andrew Tridgell a4a52c3e8c AP_Periph: cope with peripherals with i2c only rangefinders
if no uart then still check for non-uart sensors
2023-03-06 19:48:07 +11:00
Andrew Tridgell 7be6fe9841 hwdef: use AP_PERIPH_PROBE_CONTINUOUS for dedicated rangefinders
these are used with sensors that may take a long time to startup and
the delay won't cause any issues as there are no other sensors
supported
2023-03-06 19:48:07 +11:00
Andrew Tridgell d3bf7fc946 AP_Periph: rename CAN_PROBE_CONTINUOUS to AP_PERIPH_PROBE_CONTINUOUS 2023-03-06 19:48:07 +11:00
Andrew Tridgell e300db5be0 AP_RangeFinder: allow re-init if no sensors found
needed for AP_Periph with slow startup sensors or sensors that power
on separately to the CAN node
2023-03-06 19:48:07 +11:00
Peter Barker 05c996bfcc SITL: correct use of uninitialised stack data in SIM_Gimbal 2023-03-06 14:18:59 +11:00
Peter Barker 93cb56b5f2 AP_Mount: create and use AP_Mount_config.h 2023-03-06 14:03:00 +11:00
Andrew Tridgell 6770982a98 GCS_MAVLink: support rename in FTP 2023-03-05 09:42:48 +11:00
Andrew Tridgell cf79843661 AP_Filesystem: support file rename 2023-03-05 09:42:48 +11:00
Iampete1 a021489580 AP_Scripting: lua_bindings: use local varable for AP_Scripting, don't get every time 2023-03-05 09:42:05 +11:00
Iampete1 36498cb4a0 AP_HAL: GPIO: PWMSource: add destructor to detach interurupt 2023-03-05 09:42:05 +11:00
Iampete1 54a9239e62 AP_Scripting: fix PWMSource deletion crash 2023-03-05 09:42:05 +11:00
Tarik Agcayazi 2bb8294685 AP_Winch: Fix baud rate handling
Correct baud rate is 38400. Confirmed with manufacturer, and with a winch on v1.02. Also confirmed w/ manufacturer that newest winches on v1.04 also use 38400. Removed if statement forcing baud rate of 115200 to be consistent with documentation, and to avoid issues in future if manufacturer changes baud rate again.
2023-03-04 07:59:23 +09:00
Peter Barker 6a20916a35 hwdef: adjust SkyViper config for define change 2023-03-03 20:59:06 +11:00
Peter Barker ade654b251 Copter: use AP_WINCH_ENABLED in place of WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Peter Barker 8ccd0ccd3a AP_Winch: add and use AP_WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Peter Barker f47e60d1ea AP_HAL_ChibiOS: add and use AP_WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Peter Barker fb98ef21aa AP_Mount: replace check_instance with get_instance 2023-03-03 17:35:39 +11:00