voxl-slpi-uart-bridge
-
Hi, I am looking at the voxl-slpi-uart-bridge https://gitlab.com/voxl-public/voxl-sdk/core-libs/voxl-slpi-uart-bridge repo. Would this be capable of making one of the J19 uarts available to the apps processor for external sensor connection (not running voxl-px4)?
Specifically using voxl2 mini
I also have some questions about how to use it. Is it an executable you run that creates a virtual uart interface? Or a library that you reference in code. If so, is there a short implementation example anywhere?
Thank you!
-
@jon You can use a J19 UART from the apps processor. Take a look at the code in voxl-elrs (https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-elrs/-/tree/dev?ref_type=heads), specifically the file
src/elrs_slpi.c. This project accesses SLPI UARTs from an AP userspace process through voxl_io, not through POSIX termios. You cannot have a flight controller running at the same time though so PX4 / ArduPilot / etc. would need to be stopped first.