Commit Graph

59026 Commits

Author SHA1 Message Date
Andrew Tridgell 0333e92cbc hwdef: update SIYI_N7 hwdef
the N7 isn't the same as the Durandal. It has 1 CAN bus, and 2 less
UARTs, and an extra compass. This fixes the hwdef.dat to match the
schematic
2023-08-06 09:23:45 +10:00
Andrew Tridgell 18a04b276e Tools: update SIYI_N7 bootloader 2023-08-06 09:23:45 +10:00
Andrew Tridgell e1fad5ee38 AP_Compass: allow override of IST8310 orientation
this allows for vendor GPS modules and internal compass which use a
different orientation
2023-08-06 09:23:45 +10:00
Andrew Tridgell 5af7fdf330 AP_Networking: use host byte order addresses internally
this should make the lua API easier to handle, as it can manipulate
uint32_t easily
2023-08-06 09:20:08 +10:00
Andrew Tridgell 8ddaf17184 AP_Vehicle: update networking at 10Hz 2023-08-06 09:20:08 +10:00
Andrew Tridgell fd70f5c7d7 AP_Networking: split ChibiOS code into its own backend 2023-08-06 09:20:08 +10:00
Andrew Tridgell 5705c68954 AP_Networking: cleanup parameter handling and fixed lwip config 2023-08-06 09:20:08 +10:00
Tom Pittenger 8bddd4168b AP_HAL_ChibiOS: update hwdefs for eth 2023-08-06 09:20:08 +10:00
Tom Pittenger d59c3d7de0 AP_HAL_ChibiOS: remove common_eth.ld 2023-08-06 09:20:08 +10:00
Tom Pittenger 772465fef3 AP_HAL_ChibiOS: fix whitespace 2023-08-06 09:20:08 +10:00
Tom Pittenger 1e9d00fecb AP_Networking: cleanup 2023-08-06 09:20:08 +10:00
Tom Pittenger 88cc72f0ee AP_Periph: add networking 2023-08-06 09:20:08 +10:00
bugobliterator f84572a545 AP_HAL_ChibiOS: remove legacy define WATCHDOG_DISABLED 2023-08-06 09:20:08 +10:00
bugobliterator 724b0908e0 AP_Networking: panic if bad memory alignment 2023-08-06 09:20:08 +10:00
bugobliterator cf6fd6717b AP_HAL_ChibiOS: fix alignment for Ethernet safe memory 2023-08-06 09:20:08 +10:00
bugobliterator cdab1067f0 modules: update ChibiOS 2023-08-06 09:20:08 +10:00
Tom Pittenger 9698291920 AP_HAL_ChibiOS: fix unused var compile error 2023-08-06 09:20:08 +10:00
Tom Pittenger 6d3c5e7a61 AP_Networking: cleanup defines 2023-08-06 09:20:08 +10:00
bugobliterator 13acf60c7e AP_Networking: fix allocation of mac trx buffers 2023-08-06 09:20:08 +10:00
bugobliterator 5c657cad9a AP_HAL_ChibiOS: disable AP_Periph_Heavy for CubePilot-CANMod 2023-08-06 09:20:08 +10:00
bugobliterator 7bdee92d77 AP_HAL_ChibiOS: disable CAN2 on CubePilot-CANMod 2023-08-06 09:20:08 +10:00
bugobliterator a3cb939723 bootloaders: add CubePilot-CANMod_bl 2023-08-06 09:20:08 +10:00
bugobliterator 4e39318920 AP_HAL_ChibiOS: disable watchdog on CubePilot-CANMod 2023-08-06 09:20:08 +10:00
bugobliterator 50ae1ca7e8 AP_HAL_ChibiOS: update CubePilot-CANMod to support Networking 2023-08-06 09:20:08 +10:00
Tom Pittenger a4984cb595 AP_Networking: bugfixes for dynamic battery malloc 2023-08-06 09:20:08 +10:00
bugobliterator 558f0272d6 AP_Networking: dynamically allocate memory for MAC Peripheral 2023-08-06 09:20:08 +10:00
bugobliterator e6b51df7cd AP_HAL_ChibiOS: dynamically allocate memory for MAC Peripheral 2023-08-06 09:20:08 +10:00
Tom Pittenger 1aff011e52 AP_Networking: astyle changes 2023-08-06 09:20:08 +10:00
Tom Pittenger 90dc58be29 AP_Networking: Enable DHCP as default, add example to default netmasks 2023-08-06 09:20:08 +10:00
Tom Pittenger ec65b5175b AP_HAL_ChibiOS: update Networking hwdef's param defaults 2023-08-06 09:20:08 +10:00
Tom Pittenger f5a1525fd8 AP_Networking: new library 2023-08-06 09:20:08 +10:00
Tom Pittenger 291226eb5d AP_HAL_ChibiOS: hwdef add support for Networking 2023-08-06 09:20:08 +10:00
Tom Pittenger f66327d97d AP_HAL_ChibiOS: Ethernet related memory allocations 2023-08-06 09:20:08 +10:00
Tom Pittenger 3b79ff0ad3 AP_HAL_ChibiOS: add hooks to compile Networking 2023-08-06 09:20:08 +10:00
Tom Pittenger d841d250d8 AP_HAL_ChibiOS: allow HW without HW_RNG to SW-based create psuedo-random 2023-08-06 09:20:08 +10:00
Tom Pittenger f885cb2eb6 Tools/ardupilotwaf: add support for Networking 2023-08-06 09:20:08 +10:00
Tom Pittenger 169a7b1c73 AP_Vehicle: add support for Networking 2023-08-06 09:20:08 +10:00
Tom Pittenger 3bd1b3f7ed AP_Periph: add support for Networking 2023-08-06 09:20:08 +10:00
Andrew Tridgell 1cc83223af autotest: fixed using GNU screen for opening gdb
screen doesn't start the process in the current working directory
2023-08-06 09:15:30 +10:00
Ryan Friedman 2d68e1f40d Tools: Add missing GNU screen that's required for autotest
* Tools/autotest/pysim/util.py requires screen for GDB; it doens't support any other terminal types

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-06 07:18:46 +10:00
Peter Barker c99b5e5d47 autotest: remove copter wait_for_alt
use common wait_altitude instead
2023-08-05 20:05:08 +10:00
Henry Wurzburg 86afb1d66b AP_RangeFinder:correct nooploop max dist 2023-08-05 20:04:41 +10:00
Asif Khan 2141f06967 AP_Camera: add time based triggering support 2023-08-05 18:52:57 +10:00
Leonardo Garcia 903a9a1a22 Reserve board ID for M10059G 2023-08-05 18:36:00 +10:00
Peter Barker eadde74541 autotest: add blimp autotest framework 2023-08-05 09:51:44 +10:00
Peter Hall 83339c9088 Plane: add steering to AETR log msg 2023-08-05 08:41:05 +10:00
Iampete1 045cde5fcf Plane: output rudder and steering directly removing steering_control struct 2023-08-05 08:41:05 +10:00
Andrew Tridgell 3534417a12 AP_Terrain: fixed assumption that HOME is on the ground
this fixes height_above_terrain() to give a correct value when HOME is
not on the ground after the user has done a DO_SET_HOME with a
home position that is not at ground level
2023-08-05 08:31:02 +10:00
Andrew Tridgell 2e2c7b50ad Plane: cope with home altitude change while navigating
this fixes a bug where a change of home altitude would cause a sudden
height demand change. This copes with 3 situations:

 - flying with AMSL alt demand. Changing home altitude makes for no change
 - flying with AGL alt demand. Changing home altitude requires update of next_WP_loc
 - flying with home relative alt demand. Changing home altitude changes demand at end of current navigation leg
2023-08-05 08:31:02 +10:00
Karol Pieniący abc78d1169 libraries: fix delay after subsequent Robotis servo detections
This fix probably reflects the original intention of the code author, because without it delays set in detect_servos() are ignored.
Without this fix Dynamixel XC330-T288-T does not start and enters something like a "soft bricked" state (no errors reported, but not responding to any commands). This adds a delay after ping messages so that servos have time to respond to the pings and are ready to be configured further.
2023-08-04 08:55:55 +10:00