Commit Graph

40170 Commits

Author SHA1 Message Date
JacobCrabill 05a2a32150 fixup! Update submodules nuttx, apps
New Branch: px4/pr-fdcan-socketcan-latest

Includes IRQ -> work queue updates
2022-05-04 08:36:02 -07:00
JacobCrabill 5d63091d35 mro_ctrl-zero-h7-oem: Update socketcan NuttX config 2022-04-12 15:57:21 -07:00
JacobCrabill 7092e1074c fmu-v4: Add SocketCAN board config 2022-04-12 15:57:21 -07:00
JacobCrabill 02891125fd boards: Fix CONFIG_DISABLE_PTHREAD
Previously, the default was 'n'.  Now, the default is based on
CONFIG_DEFAULT_SMALL, so to re-enable, it must be set to 'n' in
defconfig.
2022-04-12 15:57:21 -07:00
JacobCrabill d6c505ad96 boards: Fix cpuload breakage from nuttx-10.3.0
Add CONFIG_SCHED_INTSTRUMENTATION_SWITCH=y to all boards with
CONFIG_SCHED_INTSTRUMENTATION=y
2022-04-12 15:57:21 -07:00
JacobCrabill 88100f516d boards: Changes for nuttx-10.3.0
sed -i 's/arm_arch.h/arm_internal.h/g'
2022-04-12 15:57:21 -07:00
JacobCrabill e37382edcb boards: Update NuttX configs for NuttX 10.3.0
Rename USER_ENTRYPOINT -> INIT_ENTRYPOINT
Rename USERMAIN_STACKSIZE -> INIT_STACKSIZE
2022-04-12 15:57:21 -07:00
JacobCrabill 093abc42fb nuttx/px4/common: Rename MTDIOC_XIPBASE -> BIOC_XIPBASE
Reuired by nuttx-10.2.0
2022-04-12 15:57:21 -07:00
JacobCrabill 6230f72ce7 uavcan_v1: Fix UavcanEscController / MixingOutput
+ Fix bug: lack of use of CONFIG_UAVCAN_V1_ESC_CONTROLLER
+ Properly initialize _esc_controller and _mixing_output
2022-04-12 15:57:21 -07:00
JacobCrabill 369f7e9e85 boards: update SocketCAN / UAVCANv1 board configs 2022-04-12 15:57:21 -07:00
JacobCrabill 1dfb98714d uavcan_v1: Publishers now SubscriptionCallbackWorkItems
Publishers now register the UavcanNode WorkItem for callback upon update
to uORB topics, triggering Publisher updates and immediate transmission

This should resolve transmission latency issues
2022-04-12 15:57:21 -07:00
JacobCrabill 2096e3ebf2 uavcan_v1: Add Publishers dir to includes 2022-04-12 15:57:21 -07:00
JacobCrabill d3ac2a0869 uavcan_v1: SocketCAN set 'can_fd' based on CONFIG 2022-04-12 15:57:21 -07:00
JacobCrabill aba7e592c3 uavcan_v1: Immediate transmit() from Publishers
Add 'do_transmit()' to UavcanNode
Add 'transmit()' to Publisher base class to call do_transmit()
Call transmit() after canardTxPush from Publishers
2022-04-12 15:57:21 -07:00
JacobCrabill 8cd4055da9 mro/ctrl-zero-h7-oem: Start adding socketcan support 2022-04-12 15:57:21 -07:00
JacobCrabill 03ab57d80c cubeorange: Add TX_DEADLINE support 2022-04-12 15:57:21 -07:00
JacobCrabill e128227293 HACK: Disable SO_TIMESTAMP in uavcan_v1 temporarily while bringing up H7 SocketCAN driver 2022-04-12 15:57:21 -07:00
JacobCrabill 0a77f87715 mavlink: Replace CONFIG_NET with CONFIG_NET_UDP
Allows use of SocketCAN w/o also enabling UDP support in NuttX
2022-04-12 15:57:21 -07:00
JacobCrabill 8662dd83ab Orange Cube: Add socketcan target 2022-04-12 15:57:14 -07:00
JacobCrabill 99cad3ea9f Update submodules nuttx, apps 2022-04-12 15:55:57 -07:00
Konrad e080fab8f6 Set up landing gear logic for tiltrotor and tailsitter VTOL. Gear is set down when in hover mode, esle gear is set up. 2022-03-21 09:30:04 +01:00
Konrad d7de67844f Set up landing gear logic for standard VTOL. Gear is set down when in hover mode, else gear is set up. 2022-03-21 09:30:04 +01:00
Daniel Agar c86d5769ea boards: px4_fmu-v2_{fixedwing,multicopter} module selection changes to save flash 2022-03-19 14:43:45 -04:00
Daniel Agar 475bd42ab8 sensors: add 2nd static notch and migrate existing parameters
- new static notch filter configured via IMU_GYRO_NF1_FRQ and IMU_GYRO_NF1_BW
 - existing notch parameters IMU_GYRO_NF_FREQ and IMU_GYRO_NF_BW become
IMU_GYRO_NF0_FRQ and IMU_GYRO_NF0_BW
2022-03-19 14:38:04 -04:00
Daniel Agar afeab9587e gyro_fft: peak detection exclude side FFT buckets
- when estimating the peak frequency the magnitude of side buckets will
be factored in, so it doesn't make sense to potentially treat them as
separatey detected peaks
2022-03-19 14:37:36 -04:00
Matthias Grob 9ab99a7689 MatrixHelperTest: don't rely on FLOAT_EQ accepting FLT_EPSILON inaccuracy 2022-03-18 13:35:18 +01:00
Thomas Stastny 144697bb6a MatrixHelperTest: correct wrap compare values 2022-03-18 13:35:18 +01:00
benjinne 620f25503c Add geofence predict param (#17795) 2022-03-18 11:44:13 +01:00
Thomas Debrunner 5b0fc8f507 print_load: Removed unused variable to fix compilation on macos 2022-03-18 10:42:19 +01:00
Daniel Agar 36e6527013 ROMFS: MAV_TYPE cleanup
- set MAV_TYPE as a parameter default per vehicle type, or airframe if necessary
 - cleanup MAV_TYPE param metadata and commander helper to only include
what's currently used in PX4
2022-03-17 09:28:10 -04:00
Matthias Grob cde7b1bc41 Matrix: remove deprecated minimal test framework 2022-03-17 13:02:22 +01:00
Matthias Grob 91493307b9 Matrix: convert vector test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 4b63f6b29a Matrix: convert vector assignment test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob f4b53d2762 Matrix: convert vector3 test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob ddfd62dfc2 Matrix: convert vector2 test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob be28aeb3ee Matrix: convert upper right triangle test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 4d43aad847 Matrix: convert transpose test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob b3cc18c6de Matrix: convert square test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 555ed9b9d8 Matrix: convert slice test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 46df8ab60c Matrix: convert set identity test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 831f0e9aac Matrix: convert scalar multiplication test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 38d742f1b5 Matrix: convert pseudo inverse test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 57e443c4a4 Matrix: convert multiplication test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 719898f1e3 Matrix: convert least squares test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob fddcf342e9 Matrix: convert inverse test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob f5ec4b2339 Matrix: convert integral test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 7c9e28c168 Matrix: convert helper test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 0c4c3a917c Matrix: convert hat vee test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 8f695a5613 Matrix: convert filter test to gtest 2022-03-17 13:02:22 +01:00
Matthias Grob 79e8152f05 Matrix: convert dual test to gtest 2022-03-17 13:02:22 +01:00