Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uAvionix Ping USB support #259

Closed
3 of 6 tasks
stefanux2 opened this issue Nov 6, 2023 · 2 comments
Closed
3 of 6 tasks

uAvionix Ping USB support #259

stefanux2 opened this issue Nov 6, 2023 · 2 comments

Comments

@stefanux2
Copy link

uAvionix Ping USB support

Reporting the original issue from the US version: cyoung#879

Introduction

The attached patch will enable the uAvionix Ping USB support via USB port and also all MavLink compatible traffic reported devices.

The pinUSB device does not have an internal GPS and is featuring MavLink.

Officially more than 100 units are up and running worldwide.

Setup

  1. Stratux version: Stratux 1.6r1-eu029 by b3nn0 (EU)

  2. Stratux config:

    SDR

    • single using uAvionix Ping USB via USB
    • dual

    GPS

    • yes
    • no
      type:

    AHRS

    • yes
    • no

    power source: 12V to 5V

    usb cable: 10 centimeters

  3. EFB app and version: PingUSB with Easy VFR 4 + SkyDemon + Foreflight

    EFB platform: iOS 17

    EFB hardware: iPad Mini + iPhone 14

  4. 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

  1. 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

  1. Ping USB

USB Serial based with MavLink Protocol (This patch)
https://uavionix.com/products/pingusb/

Protocol

Traffic Report Message

MavLink

Compilation

Environment

  1. Stratux EU with latest version
  2. Remount the Stratux in RW /boot/cmdline.txt
  3. apt update and install all the development tools
  4. Install Go compiler
  5. Create Go Environement
  6. Modify main/ping.go
  7. Make and copy the executable

Download Patch Ping.go

This patch was compiled overwriting the main/ping.go file.
stratux-serial-ping.zip

Features

  1. Support uAvionix Ping USB connected via USB to enable MavLink protocol
  2. Bearingless target emulation
  3. RSSI Emulation

Test

Tested with 20+ hours of flight at sea level up to 8000ft in Europe/Italy.
MavLinkWorking

Integration on mainstream

Best integration is to add as second protocol option like "PingEFB" and "PingUSB" switch and rename it as pingusb.go

Improvements

  1. Split ping.go to pingefb.go and pingusb.go
  2. Test with multiple disconnect-reconnection of the USB
  3. Improve the crosscheck with valid data field
  4. Improve Altitude integration with Stratux
  5. Improve RSSI for bearingless traffic
@b3nn0
Copy link
Owner

b3nn0 commented Nov 6, 2023

Could you create a proper pull request with this, so I can properly review it?

stefanux2 added a commit to stefanux2/stratux that referenced this issue Nov 7, 2023
The attached patch will enable the uAvionix Ping USB support via USB port and also all MavLink compatible traffic reported devices.

The pinUSB device does not have an internal GPS and is featuring MavLink.

Officially more than 100 units are up and running worldwide.

Patch Version 2:
- Improved poor signal positioning
- Unified source pingEFB and pingUSB
- Improved Altitude and Vertical speed
- MavLink Mesage id 246 supported
- Bearingless target emulation
- RSSI Emulation 0NM up to 30+
stefanux2 added a commit to stefanux2/stratux that referenced this issue Nov 7, 2023
Patch Version 3:
+ If a working device is disconnected the system will try to reconnect every 10s
b3nn0 pushed a commit that referenced this issue Nov 12, 2023
The attached patch will enable the uAvionix Ping USB support via USB port and also all MavLink compatible traffic reported devices.

The pinUSB device does not have an internal GPS and is featuring MavLink.

Officially more than 100 units are up and running worldwide.

Patch Version 2:
- Improved poor signal positioning
- Unified source pingEFB and pingUSB
- Improved Altitude and Vertical speed
- MavLink Mesage id 246 supported
- Bearingless target emulation
- RSSI Emulation 0NM up to 30+
b3nn0 pushed a commit that referenced this issue Nov 12, 2023
Patch Version 3:
+ If a working device is disconnected the system will try to reconnect every 10s
@b3nn0
Copy link
Owner

b3nn0 commented Nov 15, 2023

Was implemented here: #261

@b3nn0 b3nn0 closed this as completed Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants