cyhex / xplane_ahrs2nmea

X-Plane 12 AHRS (Attitude and heading reference system) to NMEA converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

X-Plane 12 AHRS to NMEA

X-Plane 12 AHRS (Attitude and heading reference system) to NMEA converter Since X-Plane 12 for mac/linux does not offer direct NMEA output to serial/socket.

This script reads AHRS messages, translate to NMEA output and writes to a destination (can be TCP / UDP socket or serial interface)

Tested with X-Plane 12 on Mac m1 with naviter-condor-dongle (CP210x USB to UART Bridge) and SeeYou Navigator v2.6.x

Setup

python3 -m venv  .venv
source .venv/bin/activate
pip install -r requirements.txt

edit ahrs_nmea.py to match your destination

Start X-Plane in Settings -> Network -> Enable transmit to a single mapping app with your ip/port

Start converter script:

python3 ahrs_nmea.py

Resources

About

X-Plane 12 AHRS (Attitude and heading reference system) to NMEA converter

License:MIT License


Languages

Language:Python 100.0%