Josh Henderson
fb28b39206
AP_BattMonitor: remove old parameter conversion to allow setting BATT_MONITOR to 0
2021-11-16 11:58:01 +11:00
Shiv Tyagi
a747a4a19a
AP_Devo_Telem: fix gpsDdToDmsFormat method
...
This fixes gpsDdToDmsFormat method to correctly convert decimal degrees to degrees minutes with less precision loss
2021-11-16 11:37:10 +11:00
Peter Barker
514368537b
GCS_MAVLink: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
6b9ef0aba8
AP_Vehicle: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
f4651f0287
AP_Scripting: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
65b335ae0c
AP_Notify: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
55cdbd208d
AP_Motors: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
ff58afd4a2
AP_Mission: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
64aaf9d93d
AP_Frsky_Telem: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
13dc37fdcc
AP_DAL: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
a729ba165e
AP_Arming: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
8e15bf09a6
AC_AttitudeControl: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
fd128066ad
GCS_MAVLink: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
c090ddc65c
AP_Vehicle: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
6b4de23630
AP_Scripting: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
4eaba21e15
AP_Notify: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
9e8126d07c
AP_Motors: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
6fef352b8f
AP_Mission: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
39a4f0b3b2
AP_Frsky_Telem: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
c153225ccf
AP_Arming: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
38479905c0
AC_AttitudeControl: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Pierre Kancir
4037104f59
AP_UAVCAN: hide -Wcast-function-type warning on GCC11
2021-11-13 17:28:30 +11:00
Shiv Tyagi
516eafa45b
AP_Rangefinder: fail RF prearm checks for NoData/NotConnected statuses
...
Earlier we only failed RF checks if we could not detect an RF instance but we should also fail it if the RF is not connected or we receive no data.
2021-11-13 09:47:39 +09:00
Iampete1
c83ff858b8
Remove AP_SpdHgtControl
2021-11-13 08:05:39 +11:00
Iampete1
e0f03a3e09
AP_TECS: no longer child of SpdHgtController
2021-11-13 08:05:39 +11:00
Iampete1
7bf1fe1277
AP_Soaring: remove SpdHgt and use TECS direct
2021-11-13 08:05:39 +11:00
Iampete1
1c195d01b8
AP_Landing: remove SpdHgt and use TECS direct
2021-11-13 08:05:39 +11:00
Iampete1
29455adab4
AP_L1_Control: remove SpdHgt and use TECS direct
2021-11-13 08:05:39 +11:00
Peter Barker
eb6da9512f
AP_HAL_SITL: quieten i2c-device-creation diagnostics
2021-11-12 10:17:28 +11:00
Peter Barker
60453b2250
SITL: quieten MKFIFO warning in case of EEXIST
2021-11-12 09:56:28 +11:00
Peter Barker
5e18f98b8e
AP_RCProtocol: number all of the RC Protocols supported
...
Needed this as soon as we got the RC_PROTOCOL bitmask
2021-11-12 09:00:45 +11:00
Andy Piper
00da3520bc
Filter: set output slew rate to zero when max is zero.
2021-11-11 08:13:23 +09:00
Andy Piper
819645d1f6
AC_AutoTune: set slew rate to 0 while twitching
2021-11-11 08:13:23 +09:00
Andy Piper
e84a05d5ba
AC_PID: add slew_rate modifier
2021-11-11 08:13:23 +09:00
Bill Geyer
d2c37daa66
AP_Motors: change internal variable names and methods for mid collective to be more accurate
2021-11-10 16:45:17 -05:00
Bill Geyer
183b5e9e6d
AP_Motors: update H_SV_MAN parameter to reflect zero thrust collective
2021-11-10 16:45:17 -05:00
Bill Geyer
d02097bf1c
AP_Motors: add protection for new tradheli parameters
2021-11-10 16:45:17 -05:00
Bill Geyer
1a50dce206
AP_Motors: coll setup uses actual blade pitch angle
2021-11-10 16:45:17 -05:00
Andrew Tridgell
c3442d0143
hwdef: added alternative Durandal 20602 IMU
2021-11-11 08:28:51 +11:00
Patrick José Pereira
6ac7c2dbea
AP_HAL_Linux: Update SPIDevice for Navigator R4
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-11-10 18:11:34 -03:00
Patrick José Pereira
176c70b5ff
AP_HAL: Update Navigator board to R4
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-11-10 18:11:34 -03:00
Patrick José Pereira
91ea129be3
AP_Compass: Add support to AK09915
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-11-10 18:11:34 -03:00
torsten
14c9de4d95
AP_FETtecOneWire: reset buf_used
...
if byte is missing due to electrical noise it can now resync
2021-11-11 07:44:57 +11:00
Andrew Tridgell
3f936baf5c
AC_AttitudeControl: adjust docs for rate max limits
...
after discussion with Leonard
2021-11-11 07:22:38 +11:00
bugobliterator
6d07a512e9
StorageManager: fix storage manager counts and merge common areas
2021-11-10 19:03:59 +11:00
Andrew Tridgell
71faeb926c
RC_Channel: added fixed wing autotune rc option
2021-11-10 18:46:34 +11:00
Jaime
5d117c6ae7
hwdef: CubeOrange Enable Serial2 and Serial3 in bootloader hwdef
2021-11-10 18:10:20 +11:00
bugobliterator
60e0bec628
AP_Common: add support for setting custom external buffer
2021-11-10 17:21:35 +11:00
bugobliterator
09096cb355
AP_HAL_SITL: add get_storage_ptr method
2021-11-10 17:21:35 +11:00
bugobliterator
f57f106c7f
AP_HAL_Linux: add get_storage_ptr method
2021-11-10 17:21:35 +11:00
bugobliterator
7a1044309c
AP_HAL_ESP32: add get_storage_ptr method
2021-11-10 17:21:35 +11:00
bugobliterator
b025c17ec4
AP_HAL_ChibiOS: add get_storage_ptr method
2021-11-10 17:21:35 +11:00
bugobliterator
6d4ac999d0
AP_HAL: add get_storage_ptr method
2021-11-10 17:21:35 +11:00
bugobliterator
528e57c2ae
AP_Filesystem: add support for downloading raw storage via ftp sysfs
2021-11-10 17:21:35 +11:00
Iampete1
6c29eb73d2
AP_Motors: Coax: correct array indexnig offset
2021-11-10 11:52:19 +09:00
Iampete1
291ab5b5f2
AP_Motors: Coax: remvoe servo outs from motor mask
2021-11-10 11:52:19 +09:00
Willian Galvani
4c756fd7ef
AP_Compass: update MMMC5XX3 driver to support only mmc5983
...
Registers changed
Product ID changed
Data is now Big endian
Results are now 18 bits instead of 16, but we only consume 16.
Added SPI support
Co-authored-by: Patrick Pereira <patrickelectric@gmail.com>
Co-authored-by: Jacob Walser <jwalser90@gmail.com>
2021-11-10 11:38:25 +11:00
Iampete1
1771481779
AP_Compass: never override custom orentation in calabration
2021-11-10 09:28:54 +11:00
Kirill Shilov
f97182f48a
hwdef: AIRLink board support
2021-11-10 08:47:21 +11:00
Andrew Tridgell
e1c9da85b9
AP_BoardConfig: allow for heater polarity setting on FMU
2021-11-10 08:47:21 +11:00
Andrew Tridgell
f7bc7b0d9b
HAL_ChibiOS: support more enable pins for late enable
2021-11-10 08:47:21 +11:00
Andrew Tridgell
61cc86b911
GCS_MAVLINK: fixed build of boards with APJ_BOARD_ID>32768
...
this impacts modalai_fc_v1
2021-11-10 08:46:52 +11:00
Peter Barker
7c774d02bb
AP_RCProtocol: remove pointless 100kbaud speed change
...
added.opened is set to false. Next time we check_added_uart, the baud
rate is unconditionally set in each of the phases. Thus this line has
no effect except to confuse the reader
2021-11-10 07:04:47 +11:00
Samuel Tabor
266fbabb6f
AP_Landing: Fix slope calculation.
2021-11-10 06:55:14 +11:00
Peter Barker
065cb2decb
AP_GPS_UBLOX: tidy reading of uart data
...
Neither of the return types used for data and numc were actually correct for the values being returned from the uartdriver functions.
2021-11-09 10:31:25 +11:00
Peter Barker
e95aedd748
AP_Logger: tidy construction of backends
2021-11-09 10:18:10 +11:00
murata
511dec01c5
AP_WindVane: Make the char_to_hex method a common method
2021-11-09 10:16:25 +11:00
murata
1e91dfe9d6
AP_Common: Make the char_to_hex method a common method
2021-11-09 10:16:25 +11:00
murata
8743ca226c
AP_AIS: Make the char_to_hex method a common method
2021-11-09 10:16:25 +11:00
Michael du Breuil
f08866639e
AP_GPS: Novatel respect the auto config disable parameter
2021-11-09 10:05:26 +11:00
Michael du Breuil
eedcb9aded
AP_GPS: Isolate the header to be only set once
...
Also wrap up some common whitespace issues
2021-11-09 10:05:26 +11:00
Randy Mackay
9c1ca781f6
AP_HAL_ChibiOS: update for renamed BRD_HEAT_ parameters
2021-11-09 08:02:57 +09:00
Randy Mackay
ad0a5aa260
AP_BoardConfig: rename TEMPMGN_LOW to HEAT_LOWMGN
...
also these renames are included
BRD_IMU_TARGTEMP becomes BRD_HEAT_TARG
BRD_IMUHEAT_P/I/IJAX become BRD_HEAT_P/I/IMAX
2021-11-09 08:02:57 +09:00
Peter Barker
63f87a863c
AP_RCProtocol: use switch statement for 3-frame check
...
Forces new protocol implementer to consider whether a 3-frame check is
required
2021-11-09 09:06:45 +11:00
Andrew Tridgell
12c10dce32
AP_InertialSensor: fixed comments on IMU types supported
2021-11-09 08:05:03 +11:00
Hwurzburg
47028f136e
AP_Motors: change build option name to new standard
2021-11-08 19:13:00 +09:00
Andrew Tridgell
ad29135384
AP_Scripting: added plane aerobatics example
2021-11-08 21:08:52 +11:00
Andrew Tridgell
9ccfbe9813
AP_Scripting: added bindings for NAV_SCRIPT_TIME support
2021-11-08 21:08:52 +11:00
Andrew Tridgell
527d9b38e6
AP_Vehicle: added nav_script_time methods
...
for supporting aerobatics in scripts
2021-11-08 21:08:52 +11:00
Andrew Tridgell
ca00eceb98
AP_Mission: support NAV_SCRIPT_TIME
2021-11-08 21:08:52 +11:00
Andrew Tridgell
86c481b4b0
AP_NavEKF3: fixed switch to non-zero primary on disarm
...
if EK3_PRIMARY is not zero then we were not switching to it when
disarmed
2021-11-07 10:11:52 +11:00
Iampete1
0f1d3c4fc4
AP_Scripting: Docs: document arguments
2021-11-07 08:01:32 +11:00
Andrew Tridgell
f91c948fd0
AP_SerialManager: disable unused RX/TX pins on uarts
2021-11-07 07:00:35 +11:00
Andrew Tridgell
61ffe188d4
HAL_ChibiOS: implement disable_rxtx()
2021-11-07 07:00:35 +11:00
Andrew Tridgell
51da1c3eff
AP_HAL: added disable_rxtx() to UARTs
2021-11-07 07:00:35 +11:00
Andrew Tridgell
97aee6f45e
HAL_ChibiOS: fixed regex error for GPIOs
2021-11-07 07:00:35 +11:00
Peter Barker
306bd0a4ab
SIM_GPS: make writing of data w/out byteloss more efficient
2021-11-06 16:56:14 +11:00
Peter Barker
13bd2379cf
SITL: use SITL::SerialDevice in place of pipe for communication
2021-11-06 16:54:07 +11:00
Peter Barker
9ebd0cdeed
AP_HAL_SITL: use SITL::SerialDevice in place of pipe for communication
2021-11-06 16:54:07 +11:00
Peter Barker
a88464c928
SITL: send sv_info from both GPS instances
...
Without sv_info we don't get the correct ublox type, meaning we get the wrong lag time, meaning EKF2 gets rather more annoyed than it should when we do loops in SITL.
2021-11-05 23:18:11 +11:00
Andrew Tridgell
8a4001817b
HAL_ChibiOS: added support for Pixhawk5X
2021-11-05 14:30:43 +11:00
Andrew Tridgell
5f15432e07
HAL_ChibiOS: allow for NODMA patterns
...
this makes it easy to disable DMA on I2C
2021-11-05 14:30:43 +11:00
Andrew Tridgell
7f2bcf927c
HAL_ChibiOS: allow setting of armed pin
2021-11-05 14:30:43 +11:00
Andrew Tridgell
c77dfae9a4
HAL_ChibiOS: adjust modalai for INA2xx batt mon change
2021-11-05 14:30:43 +11:00
Andrew Tridgell
75dfa6bae4
AP_BattMonitor: support other INA2xx battery monitors
...
added parameters for I2C bus and address. Tested on INA231 and INA226
This allows any 2M flash board to use an INA2xx battery monitor
2021-11-05 14:30:43 +11:00
Andrew Tridgell
34ba3e4782
AP_HAL: make set_soft_armed() virtual
2021-11-05 14:30:43 +11:00
Peter Barker
f7d42a3f3b
GCS_MAVLink: add board ID to AUTOPILOT_VERSION mavlink msg
...
Co-authored-by: durka
2021-11-05 14:10:46 +11:00
Peter Barker
ce352410e1
AP_Vehicle: move EFI to AP_Vehicle
2021-11-05 09:22:17 +11:00
Hwurzburg
0b5123b194
AP_Motors: add Y4 Frame type to Quadcopters
2021-11-05 07:39:27 +11:00
bugobliterator
85284d1bc0
GCS_MAVLink: remove use of AP_BattMonitor if AP_Periph and Battery disabled
2021-11-05 07:38:43 +11:00