Commit Graph

57811 Commits

Author SHA1 Message Date
Peter Barker 7461dffb89 AP_RangeFinder: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 34a02fcda9 AP_PiccoloCAN: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 04feb98091 AP_KDECAN: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker b6cb47d3cd AP_EFI: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 80752af077 AP_DroneCAN: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker fea2c8d923 AP_CANManager: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker c88b7586da AP_Arming: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Andy Piper cf20a70c58 AP_HAL_ChibiOS: move LED processing to a separate thread
LED processing on a separate thread allows much longer LED lengths to be handled without
compromising dshot timing or timeouts. The thread is also run at a lower priority to
reflect its lack of flight criticality
2023-04-19 16:45:21 +01:00
Andy Piper 875481b823 AP_HAL: add helper functions for LEDs
add PRIORITY_LED for led output thread
2023-04-19 16:45:21 +01:00
Peter Barker 9c64245590 .github: add DrotekP3Pro bootloader to CI
overflowed and we didn't know about it
2023-04-19 19:05:14 +10:00
Peter Barker da00993354 AP_Bootloader: save a few byts contructing MCU string 2023-04-19 19:05:14 +10:00
Peter Barker c3c758a2e4 hwdef: DrokekP3Pro loses usart3 2023-04-19 19:05:14 +10:00
Rhys Mainwaring 954af207c2 Tools: add COLCON_IGNORE to modules and libraries
- Prevent colcon from searching in modules and libraries for CMakeLists.txt.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-04-19 18:34:15 +10:00
Peter Barker 81f3c6a4c4 AP_Arming: correct prearm check for mission storage file 2023-04-19 18:05:20 +10:00
bugobliterator ef8ebd85dd AP_BoardConfig: resetting the BRD_HEAT_TARG to 45 is not needed anymore
As iomcu fw has right default polarity now.
2023-04-19 17:59:08 +10:00
Andy Piper 7db0c387cc AP_HAL_ChibiOS: update MambaF405v2 for ICM42688, bdshot and DMA on UART1 2023-04-19 17:47:51 +10:00
Andy Piper 38a33a9b96 bootloaders: remove FlywooF745v2 bootloaders 2023-04-19 17:42:26 +10:00
Andy Piper 87a3c34c70 AP_HAL_ChibiOS: add BMI270 and ICM42688 to FlywooF745 2023-04-19 17:42:26 +10:00
Andy Piper 794335bb26 AP_HAL_ChibiOS: remove erroneous FlywooF745v2 2023-04-19 17:42:26 +10:00
Randy Mackay 288de08374 RC_Channel: integrate ZoomType def move out of AP_Camera 2023-04-19 17:31:46 +10:00
Randy Mackay 14ef3870bc AP_Mount: integrate ZoomType def move out of AP_Camera 2023-04-19 17:31:46 +10:00
Randy Mackay a1ae189b17 AP_Camera: move ZoomType def to separate .h 2023-04-19 17:31:46 +10:00
Randy Mackay a8c593d44c AP_Mount: Siyi driver comment re zoom decrement 2023-04-19 17:31:46 +10:00
Randy Mackay 9c72cf2a1e AP_Camera: move some includes to backend
also remove some redundant includes
2023-04-19 17:31:46 +10:00
Randy Mackay 82d03e45e0 AP_Scripting: integrate camera_state_t scope change 2023-04-19 17:31:46 +10:00
Randy Mackay a9cc32d304 AP_Camera: reduce camera_state_t scope 2023-04-19 17:31:46 +10:00
Randy Mackay ea1836304a AP_Scripting: ViewPro driver supports zoom pct 2023-04-19 17:31:46 +10:00
Randy Mackay 4090c50e8f AP_Scripting: camera set_zoom binding replaces set_zoom_step 2023-04-19 17:31:46 +10:00
Randy Mackay ddaff85166 AP_Mission: set_zoom replaces set_zoom_step 2023-04-19 17:31:46 +10:00
Randy Mackay 9100123efe RC_Channel: set_zoom replaces set_zoom_step 2023-04-19 17:31:46 +10:00
Randy Mackay 5b7f9c874d AP_Mount: set_zoom replaces set_zoom_step 2023-04-19 17:31:46 +10:00
Randy Mackay 6603a6c8c5 AP_Camera: set_zoom replaces set_zoom_step 2023-04-19 17:31:46 +10:00
bugobliterator b1c4cf9923 AP_DroneCAN: fix DroneCAN run for SITL 2023-04-19 17:26:57 +10:00
Andrew Tridgell 42192b2800 AP_DroneCAN: cope with 16 bit limit on event timeout
use a smaller process() time while waiting for node startup
2023-04-19 17:26:57 +10:00
Andrew Tridgell 761297a068 AP_HAL_SITL: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell d5effcdf92 AP_HAL_Linux: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell d1e50cb0c8 AP_HAL: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell 86b6f3a2c6 AP_HAL_ChibiOS: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Peter Barker 7088286ebf AP_Compass: use new vector methods to make for more compact code
The check for zero-length magnetic field on the primary is redundant given the one on the loop
2023-04-19 14:25:06 +10:00
Peter Barker 2271827c9d autotest: add tests for compass prearms 2023-04-19 14:25:06 +10:00
Peter Barker f1eec8482b AC_AttitudeControl: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker ce8afaf57b AP_NavEKF3: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker a3c5926040 AP_Mount: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker 0b2e1e7989 AP_Math: allow conversion of a quaternion into an rpy Vector3f
There are several places in the code that can use this
2023-04-19 14:24:45 +10:00
Ryan Friedman 4b5570886f .vscode: Don't override editor defaults
This prevents devs from using their own repo settings

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-18 14:13:38 -07:00
Iampete1 4186edad3f AP_DroneCAN: move to hal.util->snprintf to keep g++ 7.5.0 happy 2023-04-18 17:44:29 +01:00
Andrew Tridgell 14d2318859 AP_BoardConfig: on debug builds enable the debug pins by default
this saves a step in debugging
2023-04-18 14:35:21 +10:00
Peter Barker 5121b33c03 hwdef: remove more features from SkyViper 2023-04-18 11:45:39 +10:00
Peter Barker 271571e29c AP_GPS_NMEA: fix stringop truncation failure on g++ 9 2023-04-18 11:44:57 +10:00
Peter Barker 95d8719465 Tools: remove CANTester 2023-04-18 11:43:58 +10:00