stratux
stratux copied to clipboard
uAvionix Ping USB support
uAvionix Ping USB support
Setup
-
Stratux version: Stratux 1.6r1-eu029 by b3nn0 (EU)
-
Stratux config:
SDR
- [X] single using uAvionix Ping USB via USB
- [ ] dual
GPS
- [X] yes
- [ ] no type:
AHRS
- [ ] yes
- [X] no
power source: 12V to 5V
usb cable: 10 centimeters
-
EFB app and version: Easy VFR 4
EFB platform: iOS 17
EFB hardware: iPad Mini + iPhone 14
-
Description of your issue: I'm using Stratux built with uAvionix PingUSB device. This patch is to add the MavLink protocol to the stratux in order to enable the USB-Serial PingUSB device.
Devices
- Ping EFB
USB Serial based with 1090 ES Protocol (Currently supported by Stratux) https://uavionix.com/downloads/pingefb/uAvionix-pingEFB-ADS-B-receiver-quick-start-guide.pdf
- Ping USB
USB Serial based with MavLink Protocol (This patch) https://uavionix.com/products/pingusb/
Protocol
Traffic Report Message
- Packet Id=246 from uAvionix Ping Integration Guide.pdf
- https://www.google.com/search?q=mavlink+uavionix+integration+guide
MavLink
- https://mavlink.io/en/guide/serialization.html#v1_packet_format
Compilation
Environment
- Stratux EU with latest version
- Remount the Stratux in RW /boot/cmdline.txt
- apt update and install all the development tools
- Install Go compiler
- Create Go Environement
- Modify main/ping.go
- Make and copy the executable
Patch Ping.go
This patch was compiled overwriting the main/ping.go file. stratux-serial-ping.zip
Features
- Support uAvionix Ping USB connected via USB to enable MavLink protocol
- Bearingless target emulation
- RSSI Emulation
Test
Tested with 20 hours of flight at sea level up to 8000ft in Europe/Italy.
Integration on mainstream
Best integration is to add as second protocol option like "PingEFB" and "PingUSB" switch and rename it as pingusb.go
Improvements
- Split ping.go to pingefb.go and pingusb.go
- Test with multiple disconnect-reconnection of the USB
- Improve the crosscheck with valid data field
- Improve Altitude integration with Stratux
- Improve RSSI for bearingless traffic