34702 Commits

Author SHA1 Message Date
Beat Küng
439fb00aed linux_pwm_out: move protocols to board-specific directories
This also removes the pca9685 output, which was unused, and there's also
pca9685_pwm_out.
2021-02-25 09:28:37 -05:00
斯东Stone
b0a5d431d3
optical_flow/thoneflow: update the data timespan 2021-02-24 21:28:29 -05:00
Daniel Agar
45ba9d1dd5 add all mRo ctrl zero variants to CI 2021-02-24 13:23:21 -05:00
Jacob Crabill
4cca86b5d6 uavcan_v1: Apply feedback from Pavel Kirienko
Co-authored-by: Pavel Kirienko <pavel.kirienko@gmail.com>
2021-02-24 19:22:11 +01:00
JacobCrabill
a7a7e33614 uavcan_v1: Rename Subscription --> Subscriber 2021-02-24 19:22:11 +01:00
JacobCrabill
b5ac6f1eb8 uavcan_v1: Refactor Pub/Sub class constrctors
Each class now sets the 'subject name', and the base class looks for a
parameter following the format uavcan.pub/sub.SUBJECT_NAME.INSTANCE.id
2021-02-24 19:22:11 +01:00
JacobCrabill
c8e66a2f5c uavcan_v1: Rename Publication --> Publisher 2021-02-24 19:22:11 +01:00
JacobCrabill
d1eda5ee84 uavcan_v1: Add missing uavcanv1.cmake for fmu-v4 2021-02-24 19:22:11 +01:00
JacobCrabill
e654fe71f5 uavcan_v1: Fix 'unset' port ID (use 65535) 2021-02-24 19:22:11 +01:00
JacobCrabill
935bf75b61 uavcan_v1: Fix bugs in MixingOutput / EscClient
Also add commented-out code for use with PR-16808
(MixingOutput + output_control)
Bench-tested PWM output on a Pixracer via UAVCANv1 ESC commands from a
Pixhawk 4.
2021-02-24 19:22:11 +01:00
JacobCrabill
04ea1cf5c6 uavcan_v1: Add to EscClient implementation
Add outline of EscServer implementation
Add some comments and cleanup
2021-02-24 19:22:11 +01:00
JacobCrabill
4b73566b76 uavcan_v1: Add Publisher base; Gnss Publisher 2021-02-24 19:22:11 +01:00
JacobCrabill
216a66b535 uavcan_v1: Remove unused vars 2021-02-24 19:22:11 +01:00
JacobCrabill
35f822fca6 uavcan_v1: Working ESC setpoint pub/sub 2021-02-24 19:22:11 +01:00
JacobCrabill
170345040a uavcan_v1: Add rough ESC Client; Reorg Subscribers 2021-02-24 19:22:11 +01:00
JacobCrabill
00814815f4 uavcan_v1: Reorganize uavcan params and Subscriber 2021-02-24 19:22:11 +01:00
JacobCrabill
088014c2e1 uavcan_v1: Basic subscriber working 2021-02-24 19:22:11 +01:00
JacobCrabill
b88e8b6684 uavcan_v1: Increase stack size
Also increases stack frame size limit, which was what the compiler was
throwing an error on.
2021-02-24 19:22:11 +01:00
JacobCrabill
70ff6703b7 uavcan_v1: More work on subscribers and reg access
Now running into issues with running out of stack frame memory
For now I'm going to leave the relevant code in so it's at least
readable, but in its current state it will not compile
2021-02-24 19:22:11 +01:00
JacobCrabill
7d2a6afb79 uavcan_v1: More work on Subscriber class 2021-02-24 19:22:11 +01:00
JacobCrabill
c5184f3b46 uavcan_v1: Update UAVCANv1 DSDL submodule 2021-02-24 19:22:11 +01:00
JacobCrabill
e267dc0206 uavcan_v1: Start adding framework for Subscribers 2021-02-24 19:22:11 +01:00
JacobCrabill
e5cf92f20d uavcan_v1: Refactor RX handling into functions
Cleans up the main transfer-handling loop
2021-02-24 19:22:11 +01:00
David Sidrane
9fd7eb5944 canbootloader:Per UAVCAN call display Percentage not KB 2021-02-24 19:20:15 +01:00
David Sidrane
a1be559978 canbootloader:Remove Rate limiting on FW update 2021-02-24 19:20:15 +01:00
David Sidrane
fd0494555c canbootloader:stm32_boarddeinitialize->board_deinitialize 2021-02-24 19:20:15 +01:00
David Sidrane
944536fa50 canbootloader:Remove duplicated file from bring it back to repo 2021-02-24 19:20:15 +01:00
David Sidrane
500fe5c98c uavcannode_gps_demo:Add UAVCAN bootloader AppDescriptor 2021-02-24 19:20:15 +01:00
David Sidrane
dd3c3098f2 nxp_ucans32k146:Add Can Bootloader build
nxp_ucans32k146:Relocation for Bootloader

nxp_ucans32k146:can_boot enable CAN

nxp_ucans32k146:Save Space use Non Optimize memcpy

nxp_ucans32k146:Increase to 24K

nxp/ucans32k146:Canbootloader LED Driver

nxp_ucans32k146:Can bootloader shut down CAN

nxp_ucans32k146:Use NVMEEPROM for Paramaters

nxp_ucans32k146:Use bootloader AppDescriptor

px4 mtd:Support onchip emulated eeprom
2021-02-24 19:20:15 +01:00
David Sidrane
62c0c96749 canbootloader:Use Micro hal and arch selection
nxp/s32k14x:board_identity: Return length of mfguid

nxp/s32k14x:CAN driver

nxp/s32k14x:Drver Added ABORT on error

canbootloader:Use N words for first word

canbootloader:Ensure the up_progmem API always defined
2021-02-24 19:20:15 +01:00
David Sidrane
ea255234da nuttx:[BACKPORT] s32k1xx:Support ramfunc 2021-02-24 19:20:15 +01:00
Beat Küng
46b9acac6d mag_calibration: fix typo 2021-02-24 17:27:31 +01:00
Beat Küng
558fe18dfe sitl: add 'commander takeoff' to history 2021-02-24 17:27:31 +01:00
Beat Küng
836c7c6575 StickAccelerationXY: brake a bit faster
The drag is based on max_acc/max_vel, which means that increasing the
maximum velocity leads to slower braking (at the same starting speed).

Especially a combination of small max_acc (slow responsiveness) with high
max_vel led to an exceedingly high braking distance.
This improves that while still being smooth.
2021-02-24 17:27:31 +01:00
Beat Küng
1be4163506 mc_pos_control_params: increase velocity limits a bit
I hit those on my vehicle
2021-02-24 17:27:31 +01:00
Beat Küng
ad9688e63c mc: remove unused param definitions MPC_JERK_MIN and MPC_DEC_HOR_SLOW 2021-02-24 17:27:31 +01:00
Matthias Grob
a637f282ce FunctionsTest: cover lerp 2021-02-24 17:27:31 +01:00
Beat Küng
14bf9cf753 mc: add SYS_VEHICLE_RESP param to configure vehicle responsiveness 2021-02-24 17:27:31 +01:00
Beat Küng
2a0a82fd90 param: add commit_no_notification(T val) API 2021-02-24 17:27:31 +01:00
David Sidrane
3ef93823f4 srgbled:Fix warning 2021-02-24 08:05:39 -08:00
Daniel Agar
5f3e883f2c
sensors/vehicle_imu: vehicle_imu_status include accel/gyro full raw FIFO sample rate 2021-02-24 08:13:53 -05:00
Ryan Johnston
cec31fd685 Remove mkblctrl from default.cmake
Mkblctrl needs to be removed for the build to now succeed.
2021-02-24 08:54:22 +01:00
Ryan Johnston
45dde177ee Remove mkblctrl from default.cmake
Mkblctrl needs to be removed for the build to succeed.
2021-02-24 08:53:35 +01:00
David Sidrane
dd736f8540 holybro_can-gps-v1:Ensure yeild is used for FLASH programing 2021-02-23 17:45:25 -05:00
David Sidrane
84b3f51c6b ark_can-flow:Ensure yeild is used for FLASH programing 2021-02-23 17:45:25 -05:00
David Sidrane
d8b9def3f8 cuav_an-gps-v1:Ensure yeild is used for FLASH programing 2021-02-23 17:45:25 -05:00
Daniel Agar
6c3262c54b cmake cleanup src/drivers/imu 2021-02-23 15:58:36 -05:00
Daniel Agar
11ad41f7cb delete old imu/mpu6000 driver 2021-02-23 15:58:36 -05:00
Daniel Agar
4364e23633 delete unused imu/bmi160 2021-02-23 15:58:36 -05:00
Daniel Agar
f9705c96f7 delete unused imu/bma180 2021-02-23 15:58:36 -05:00