Commit Graph

59866 Commits

Author SHA1 Message Date
Peter Barker
d8eafc7a51 AP_ADSB: remove unused get_transceiver_status method 2023-09-05 09:59:23 +10:00
Peter Barker
496e6b18ff Copter: accept solo buttons as both long and int 2023-09-05 09:58:53 +10:00
Davide_Lentini
5a996952f6 hwdef: Update defaults.parm luminousbee5 2023-09-05 07:29:26 +10:00
Peter Barker
390b025fa0 SITL: add simulator for TSYS03 temperature sensor 2023-09-05 07:17:00 +10:00
Peter Barker
7e0c178c6c SITL: add temperature to battery simulation 2023-09-05 07:17:00 +10:00
Andrew Tridgell
ef3d42ee9d HAL_ChibiOS: fixed bootloader build with F4 CAN 2023-09-05 06:56:51 +10:00
Andrew Tridgell
a732f846e6 AP_Periph: moved CAN_APP_NODE_NAME to AP_Periph.h
needed by battery driver
2023-09-05 06:56:51 +10:00
Andrew Tridgell
559e85df11 HAL_Linux: inherit CAN stats structure
this allows for the last_transmit_us field
2023-09-05 06:56:51 +10:00
Andrew Tridgell
bc373354fc HAL_ChibiOS: enable CAN stats on AP_Periph for bxCAN interface
this allows for dead interface detection
2023-09-05 06:56:51 +10:00
Andrew Tridgell
78faa5c6b0 AP_Periph: implement can inface masking per message
this prevents sending duplicate messages on an interface when a send
fails on a 2nd interface
2023-09-05 06:56:51 +10:00
Andrew Tridgell
3623d20479 waf: enable CANARD_MULTI_IFACE on AP_Periph if more than one interface 2023-09-05 06:56:51 +10:00
Andrew Tridgell
5c8a29b47e AP_Periph: detect dead interfaces in CAN transmit logic
when an interface has not managed to send a packet for 2s then no
longer consider a failed send a reason to keep the packet in the
transmit queue
2023-09-05 06:56:51 +10:00
Andrew Tridgell
9afc30671f AP_HAL_SITL: added last_transmit_us to CAN stats 2023-09-05 06:56:51 +10:00
Andrew Tridgell
aaa2746bff AP_HAL_Linux: added last_transmit_us to CAN stats 2023-09-05 06:56:51 +10:00
Andrew Tridgell
7c74f9b24b AP_HAL: added last_transmit_us to CAN stats 2023-09-05 06:56:51 +10:00
Andrew Tridgell
d5fbce0547 AP_HAL_ChibiOS: added last_transmit_us to CAN stats 2023-09-05 06:56:51 +10:00
Peter Barker
d40320b1c2 Tools: size_compare_branches.py: blacklist iomcu-f103 for bootloader build 2023-09-04 20:00:10 +10:00
Willian Galvani
e82949d241 AP_HAL_Linux: update Navigator available GPIOs
The comment was wrong. gpio 26 is actually used for the PCA Output Enable signal.
This also adds GPIO18, which is the one broken out to the PWM0 pin
2023-09-04 18:06:37 +10:00
Peter Barker
1d207beee5 mavlink: move reference forward to ardupilot/master 2023-09-04 16:24:07 +10:00
muramura
337ba27370 AP_Logger: Align indentation with others 2023-09-04 13:55:43 +10:00
Peter Barker
f987fa4a4e AP_Vehicle: add missing include for accelcal 2023-09-04 13:55:27 +10:00
muramura
b69dbd0c2e AP_HAL: Delete commented-out processes 2023-09-04 13:55:12 +10:00
Peter Barker
9e0367764d Tools: blacklist iomcu dshot builds when building bootloaders
we don't have the ability to buld bootloaders for these
2023-09-04 13:54:58 +10:00
Andrew Tridgell
9d98244730 Plane: fixed nav_roll/nav_pitch when waiting for VTOL takeoff
the nav_roll_cd and nav_pitch_cd were not being set in the VTOL
takeoff code when disarmed. This led to small increments accumulating
in the stick mixing code, leading to large control surface movements
before arming
2023-09-03 09:51:24 +10:00
Andrew Tridgell
9742997a34 Tools: fixed ccache test for newer ccache version 2023-09-03 09:41:15 +10:00
Peter Barker
668e2fa068 AP_GPS: use correct define for DroneCAN GPS drivers 2023-09-03 08:43:03 +10:00
Peter Barker
e7def98195 AP_DroneCAN: use correct define for DroneCAN GPS drivers 2023-09-03 08:43:03 +10:00
Peter Barker
0355ab45ff AP_RangeFinder: add missing internalerror include 2023-09-03 08:41:10 +10:00
Peter Barker
268dc489c1 AP_OpticalFlow: add missing internalerror include 2023-09-03 08:41:10 +10:00
Peter Barker
a322f7286b AP_DAL: add missing internalerror include 2023-09-03 08:41:10 +10:00
Andrew Tridgell
23e4fba3f7 AP_Scripting: added EFI driver for DLA EFI serial protocol
a simple serial protocol, no CRC, gap framed
2023-09-03 08:34:33 +10:00
Pierre Kancir
a6d5e437ea Tools: fix Indentation contains mixed spaces and tabs 2023-09-02 13:27:25 +10:00
Pierre Kancir
279adeb1b4 Tools: Comparison to False should be cond is False or if not cond: 2023-09-02 13:27:25 +10:00
Pierre Kancir
9f4dbb2727 Tools: Comparison to None should be cond is None 2023-09-02 13:27:25 +10:00
Pierre Kancir
9d76d1e3df Tools: Test for membership should be not in 2023-09-02 13:27:25 +10:00
Pierre Kancir
31ee88adbb Tools: use isinstance for type comparison 2023-09-02 13:27:25 +10:00
Pierre Kancir
d36a028420 Tools: pre-commit: small py3 compliance 2023-09-02 13:27:25 +10:00
Pierre Kancir
1c1fa820b4 Tools: close py file after checking for AP_FLAKE8_CLEAN 2023-09-02 13:27:25 +10:00
Pierre Kancir
904486c846 Tools: fix flake8 test 2023-09-02 13:27:25 +10:00
Rhys Mainwaring
b97e98242b AP_HAL_ESP32: update esp32empty
- Add INS_ACC offsets to param to skip calibration for esp32empty
- Update esp32empty.h
  - Change tabs to whitespace.
  - Define HAL_INS_DEFAULT to HAL_INS_NONE
  - Update wifi details
  - Format comment in esp32empty
  - Update serial defaults and uarts
  - Use IO_MUX for UART_NUM_2 (TX 17, RX 16)
- Update scheduler
  - Disable initialisation check in timer thread if HAL_INS_NONE
  - Print main loop rate every 10s
  - Remove serial(n)->begin() calls

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-09-02 09:43:14 +10:00
Rhys Mainwaring
732b074bee AP_InertialSensor: update to support esp32
- Remove whitespace
- Remove instance checks in AP_InertialSensor_NONE timer update

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-09-02 09:43:14 +10:00
arshPratap
062f82b3af Tools : Added custom ROS-2 serivce definition for switching drive modes 2023-09-01 17:49:33 +10:00
Anthony Luo
43eacbee33 AP_Logger: fix typo in AP_Logger.h 2023-09-01 17:49:00 +10:00
Peter Barker
e6284fe879 AP_HAL: correct compilation for SimOnHardware 2023-09-01 17:48:30 +10:00
Vincent Poon
1b6148cba8 hwdef: Restore I2C2 on HolybroG4_GPS
I2C2 was removed by mistake previously, causing LED Driver to not function.
2023-09-01 13:44:23 +10:00
Peter Barker
5d1fbdf9d3 AP_Periph: define external hal symbol to correct compilation 2023-09-01 13:13:07 +10:00
Andrew Tridgell
c32d95cbfc AP_CANManager: update docs 2023-09-01 13:04:59 +10:00
Andrew Tridgell
789aab7fee Tools: update periph README.md 2023-09-01 13:04:59 +10:00
Andrew Tridgell
b612c245bd Tools: added build_peripherals.py
useful for testing that changes in AP_Periph have not broken any builds
2023-09-01 13:04:59 +10:00
Andrew Tridgell
0c38dada6c AP_Periph: re-structure peripheral code
split into separate cpp files and avoid static functions
2023-09-01 13:04:59 +10:00