iFly GPS Forum

We have a new Forum!  Go here to get started: https://adventurepilot.community.forum.  
The new forum is easier to use and much more capable than the old, we hope you will join our community! 

Below is a copy of the old forum. This will remain available for a short period so you can access and review the information contained here. To continue a conversation, or start a new one, please register and create a post at our new forum location.
HomeHomeDiscussionsDiscussionsiFly General Di...iFly General Di...Data input formats to iFlyGPSData input formats to iFlyGPS
Previous
 
Next
New Post
3/5/2017 11:16 AM
 

<p>Jeff, you're not over your head at all. You pointed me to the right direction because I was very reluctant to delve into the code in the go language. In the Stratux project, you will find code written in many languages, probably to satisfy the egos of the many coders who needed to show off their skills in the obscure. Thanks to your help and hopefully from Adventure Pilot I can get a handle into how GDL90 gets augmented with AHRS data.<br /> <br /> Actually, once the formats are defined, it is not a difficult project in the software sense because Navworx did all the heavy lifting as to translating the raw GPS/WAAS data into GDL90 format. I have seen some AHRS boards that have built-in Kalman filtering so that relieves me of another burden. Kalman filtering smoothens out data that tends to jbe "noisy" and projects the data, in this case the pitch, roll and yaw, the time frame following the last observation. Think of it as a debounce chip for continuous data.</p>

 
New Post
3/8/2017 2:12 PM
 

TY, I have it it is described in the file app-vendor-integration.md. Here's the poop:

### Protocol & network information

Stratux uses GDL90 protocol over port 4000 UDP. All messages are sent as **unicast** messages. When a device is connected to the stratux Wi-Fi network and a DHCP lease is issued to the device, the IP of the DHCP lease is added to the list of clients receiving GDL90 messages.


The GDL90 is "standard" with the exception of three non-standard GDL90-style messages: `0xCC` (stratux heartbeat), `0x5358` (another stratux heartbeat), and `0x4C` (AHRS report).

### How to recognize stratux

In order of preference:

1. Look for `0xCC` (or `0x5358`) GDL90 heartbeat message. This is sent at the same time as the GDL90 heartbeat (0x00) message.
2. Look for Wi-Fi network that **starts with** "stratux".
3. Detect 192.168.10.0/24 Wi-Fi connection, verify stratux status with JSON response from ws://192.168.10.1/status.

 
New Post
3/8/2017 4:37 PM
 
FWIW, a lot of Stratux users including me change the SSID, so method #2 won't work in those cases.

The developer of Stratux just shipped me a tiny AHRS board that will be here in another day or so, and I have a link to a Stratux version that will support it. So if your personal AHRS development is a burden instead of a labor of love, you may want to hold off a little longer. From the pics, his AHRS board is slightly larger than a thumbnail and slips onto the pins with no wiring required. I can't wait to try it out!

Jeff Nokomis Clark, Mooney M20G, iFly app on ASUS ZenPad Z8s, ASUS ZenFone AR, ASUS Windows 10 tablet, Stratux ADS-B w AHRS
 
New Post
3/9/2017 7:21 AM
 
Jeff Clark wrote:
The developer of Stratux just shipped me a tiny AHRS board
Do you think the sensors are different than those on the RY836AI?
 
New Post
3/9/2017 8:08 AM
 
merricke wrote:
Do you think the sensors are different than those on the RY836AI?


Not sure what the RY uses, but this is in the release notes:
It requires an MPU-9250 sensor

It's a public beta release of a different branch of Stratux software; you can try it yourself or check out the code:
github.com/westphae/stratux/releases

You might also want to join the Stratux Slack group. There's AHRS discussions and other development info, as well as a "hangar talk" area. It requires signing up, so this link may not work until you sign up but it'll get you close. Look for the "stratuxadsb" group:

stratuxadsb.slack.com


Jeff Nokomis Clark, Mooney M20G, iFly app on ASUS ZenPad Z8s, ASUS ZenFone AR, ASUS Windows 10 tablet, Stratux ADS-B w AHRS
 
Previous
 
Next
HomeHomeDiscussionsDiscussionsiFly General Di...iFly General Di...Data input formats to iFlyGPSData input formats to iFlyGPS