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
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
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
500fe5c98c
uavcannode_gps_demo:Add UAVCAN bootloader AppDescriptor
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
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
Lorenz Meier
aacbc04730
PX4IO: Robustify upgrade process
...
These changes remove the two code paths to updates (forceupdate and update) and try to reboot and bootload IO independent of its state, wether it is in bootloader mode already, safety switch is off or if it is in "nominal state" (running and safety on). This ensures that there are no conditions where user error or boot sequence can prevent a successful upgrade. The only state where an upgrade will not be done is if the system is fully armed.
2021-02-21 19:56:16 -05:00
Daniel Agar
1956cd8ff1
cmake: add px4io binary as ExternalProject build byproduct
...
- needed for incremental px4io changes to actually make it all the way through to the ROMFS
2021-02-21 14:04:26 -05:00
Daniel Agar
414f9f81d9
move fake GPS to standalone module
2021-02-20 14:13:36 -05:00
jciberlin
64342f568d
Ghost protocol
...
ghst: add ghost protocol
2021-02-20 11:29:57 +01:00
Lorenz Meier
4984c19700
PX4 IO: Retry upgrades of IO
...
This adds robustness to system timing and bad link.
2021-02-20 11:07:53 +01:00
alexklimaj
ed20bc92c3
Fix uavcannode build
2021-02-20 10:49:08 +01:00
Alex Mikhalev
06e2bca3a6
batt_smbus: Use orb_publish_auto
2021-02-18 07:52:26 -05:00
Alex Mikhalev
93b1a148b7
batt_smbus: Pass device address to base class
...
Fixes a warning printed at runtime
Signed-off-by: Alex Mikhalev <alex@corvus-robotics.com>
2021-02-18 07:52:26 -05:00
Daniel Agar
4678201da4
update libuavcan to latest
2021-02-17 22:47:35 -05:00
David Sidrane
8c2678bca1
uavcan_servers:Reworked file naming and use ROM fs as fall back
...
Supporting direct down loads from ROMFS with preferece give to the
files fould on the SD card first. This will allow a user to provide
an updated uavcan firware on the SD card, and there is no overhead
of coping files from the ROM FS to the SD card.
2021-02-17 22:47:35 -05:00
David Sidrane
5ea56af5f0
canbootloder:Make support for ALT Bootloader an Option
2021-02-17 22:47:35 -05:00
David Sidrane
05c0deae14
UavcanNode:Only write alt id not booted by PX4
2021-02-17 22:47:35 -05:00
David Sidrane
71c4f5a05b
UavcanNode:Support Dynamic Node ID allocation
2021-02-17 22:47:35 -05:00
David Sidrane
e4b519aca0
UavcanNode:Add support for the Alternate bootloader app shared
2021-02-17 22:47:35 -05:00
David Sidrane
b27beac50c
UavcanNode:Add feed back to bootloader that the App ran 30S
2021-02-17 22:47:35 -05:00
David Sidrane
7a6ed0281b
uavcan bootloader:Add support alt boot_alt_app_shared
2021-02-17 22:47:35 -05:00
David Sidrane
da67537291
Uavcan Node Pets the watchdog
2021-02-17 22:47:35 -05:00
David Sidrane
77d0eae40b
Add SMT32F4xxx Watchdog driver
2021-02-17 22:47:35 -05:00
David Sidrane
8747b343d9
Non-compliant nodes support
...
WorkQueueManager:Increase UAVCAN stack size
2021-02-17 22:47:35 -05:00
David Sidrane
760e47bbf9
uavcan bootloader use new AppDes
2021-02-17 22:47:35 -05:00
Daniel Agar
6d42fe28bf
Update submodule GPS drivers to latest Wed Feb 17 12:42:56 UTC 2021
2021-02-17 21:14:56 -05:00
Daniel Agar
a416731656
drivers/heater: add logging and minor improvements
...
- new heater_status logging message
- run continously at low rate until configured sensor is found
- fix px4io fd bugs (fd open/close/ioctl must be same thread)
2021-02-16 15:16:19 -05:00
Daniel Agar
44df0fb7a2
Analog Devices ADIS16448 rewrite
...
- new IMU driver structure with state machine (no sleeps in bus thread)
- verify all configured registers and trigger reset on failure
- detect if DIO1 or DIO2 are actually connected for data ready interrupt usage
- don't use CRC-16 on burst transfers except for verified lots
2021-02-16 10:29:07 +01:00