-
Notifications
You must be signed in to change notification settings - Fork 365
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
Contribution - code snippet for Australian aircraft (traffic.go) #736
Comments
Thanks for the great code. |
Hi jamieqld, thank you! You don't need a specific version to use only the 1090ES. If you only want to use your SDR for 1090, just plug it in and edit the config file accordingly. You can disable/enable which bands appear on the main page so when you restart, you'll only see 1090ES data displayed on the main page. |
@armeniki , Would you be able to help me find/edit the config file. Please guide me as a noob. Thanks |
Hi Jamie, the configuration file is located here:
Change the |
Do I have to SSH into it. |
@jamieqld You do not actually have to edit any files. You can change this in the web interface in either the settings tab or if you do not see a slider there for it you can click on the version number repeatedly on the main page and the developer tab will appear. There are sliders to enable or disable 978 1090 along with GPS AHRS and BARO. |
Thanks Helno, I was able to get that to work. I was able to turn off radio 978 as not needed here is Australia. edit update I know im a noob at this, but very keen to learn. jamie |
You're having problems sshing in, or you're having problems finding the
file after you ssh in?
…On Tue, Aug 14, 2018, 17:57 jamieqld ***@***.***> wrote:
Thanks Helno, I was able to get that to work. I was able to turn off radio
978 as not needed here is Australia.
I still would like to know how to get into /etc/stratux.conf
I tried to ssh with putty
Host: 192.168.10.1
Username:pi
Password:raspberry
no luck.
So please can someone tell me how to do it, I have been looking all night
on here and found nothing to say how to do it.
I know im a noob at this, but very keen to learn.
jamie
VH-XJL
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#736 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANN_wFe_iBN8L07dFaQ8zRwmQTRHG500ks5uQ1XJgaJpZM4V7uzY>
.
|
The file doesn't exist if the system is running on defaults. Once you change a setting, a |
@armeniki - thanks! This is going in master now and you should see it integrated into the latest on the builds site soon (http://updates.stratux.me/builds/). |
* Remove old AHRS replay tools. Add protocol tools. * Typo and path fix. * Change IP Stratux IP address and DHCP range. * Update install and auto-start scripts. * Update make clean. * Add missing files from update scripts. * Update goflying. * Update goflying. * Add alias for 192.168.10.1 for normal webui access. * Adapt `ffMonitor()` to ahrs_approx - only send the FF AHRS packets when FF is detected. * Add dhcpd.conf and interfaces files to .sh update. * Remove sqlite log and stratux.log on update. * Install dhcpd.conf and interfaces file. * stratux.log cleanup. * Remove unused 'CPULoad' status variable. * Typo fix. * Move to cyoung/goflying, 'stratux_master' branch. * Update goflying. * Update goflying. * Change goflying version. * Merge branch 'master' into ahrs_dev_protocolfun # Conflicts: # selfupdate/makeupdate.sh # selfupdate/update_footer.sh * Cleanup. * Add Merlin auto-detect. * Clean up log output. * Update oled package to new 'luma' package name. Fixes cyoung#672. * Change luma usage. cyoung#672. * Use estimate vAcc = 2*hAcc instead of reported vAcc. Fixes cyoung#666. * Turn off PPS output (green LED on GPYes). cyoung#659. * Add NightMode to turn off ACT LED. cyoung#659. * Remove socket listener from fancontrol. Replace with http server. Serve status in JSON format. * Update system uptime warning format. * update readme.md added additional jet tests. * Turn off wireless power management, from D. DeMartini. * Add logrotate conf. Keep two days of logs. Run logrotate on boot. * Add some AHRS and maintenance web calls to documents. * Change deleted AvSquirrel/dump1090 submodule to mirror at stratux/dump1090 * Remove old libimu.so references in selfupdate. * Create function that tracks critical system errors and issues them only once. cyoung#692 * Use addSingleSystemErrorf() instead of tracking error prints individually. cyoung#692. * Change error prints to use addSingleSystemErrorf(). cyoung#692 * Clean up unused imports. cyoung#692 * Upgrade golang version in CircleCI from 1.6 to 1.9.2. * Clean gopath on each CircleCI build. * Install mercurial on CircleCI. * Remove "test" directory from go get in gen_gdl90 make. * Cleanup. cyoung#692 * Remove test build from CircleCI config. * Change CircleCI to test to build master. * Remove unnecessary debug print. * Delete /var/log/stratux* on update. * Simplify "Settings" page. Only display "Hardware" and "Diagnostic" settings when in developer mode. * Make PPM setting a developer option. cyoung#79. * Roll back changes. * Use "N" or "C" regs derived from Mode-S identifier, or default to "Stratux". * RPi3B+ setup. * Add new ForeFlight AHRS and ID GDL90 messages. * Change ForeFlight support note in README. * Update ForeFlight version to 10+ for AHRS support. * gen_gdl90 gracefulShutdown() on system shutdown or reboot request. * Clean up obsolete dangerzone includes. * Fan control failsafe temp. cyoung#663 * Fix gdl90 AHRSGyroHeading reporting. * Comment out ublox8 Glonass / Galileo code. * Increase suggested wait time on updates. * Add info to main status help page. Fixes cyoung#728. * Adds AU tail number decoding from ICAO addr. Contribution by @armeniki. cyoung#736.
* Remove old AHRS replay tools. Add protocol tools. * Typo and path fix. * Change IP Stratux IP address and DHCP range. * Update install and auto-start scripts. * Update make clean. * Add missing files from update scripts. * Update goflying. * Update goflying. * Add alias for 192.168.10.1 for normal webui access. * Adapt `ffMonitor()` to ahrs_approx - only send the FF AHRS packets when FF is detected. * Add dhcpd.conf and interfaces files to .sh update. * Remove sqlite log and stratux.log on update. * Install dhcpd.conf and interfaces file. * stratux.log cleanup. * Remove unused 'CPULoad' status variable. * Typo fix. * Move to cyoung/goflying, 'stratux_master' branch. * Update goflying. * Update goflying. * Change goflying version. * Merge branch 'master' into ahrs_dev_protocolfun # Conflicts: # selfupdate/makeupdate.sh # selfupdate/update_footer.sh * Cleanup. * Add Merlin auto-detect. * Clean up log output. * Update oled package to new 'luma' package name. Fixes cyoung#672. * Change luma usage. cyoung#672. * Use estimate vAcc = 2*hAcc instead of reported vAcc. Fixes cyoung#666. * Turn off PPS output (green LED on GPYes). cyoung#659. * Add NightMode to turn off ACT LED. cyoung#659. * Remove socket listener from fancontrol. Replace with http server. Serve status in JSON format. * Update system uptime warning format. * update readme.md added additional jet tests. * Turn off wireless power management, from D. DeMartini. * Add logrotate conf. Keep two days of logs. Run logrotate on boot. * Add some AHRS and maintenance web calls to documents. * Change deleted AvSquirrel/dump1090 submodule to mirror at stratux/dump1090 * Remove old libimu.so references in selfupdate. * Create function that tracks critical system errors and issues them only once. cyoung#692 * Use addSingleSystemErrorf() instead of tracking error prints individually. cyoung#692. * Change error prints to use addSingleSystemErrorf(). cyoung#692 * Clean up unused imports. cyoung#692 * Upgrade golang version in CircleCI from 1.6 to 1.9.2. * Clean gopath on each CircleCI build. * Install mercurial on CircleCI. * Remove "test" directory from go get in gen_gdl90 make. * Cleanup. cyoung#692 * Remove test build from CircleCI config. * Change CircleCI to test to build master. * Remove unnecessary debug print. * Delete /var/log/stratux* on update. * Simplify "Settings" page. Only display "Hardware" and "Diagnostic" settings when in developer mode. * Make PPM setting a developer option. cyoung#79. * Roll back changes. * Use "N" or "C" regs derived from Mode-S identifier, or default to "Stratux". * RPi3B+ setup. * Add new ForeFlight AHRS and ID GDL90 messages. * Change ForeFlight support note in README. * Update ForeFlight version to 10+ for AHRS support. * gen_gdl90 gracefulShutdown() on system shutdown or reboot request. * Clean up obsolete dangerzone includes. * Fan control failsafe temp. cyoung#663 * Fix gdl90 AHRSGyroHeading reporting. * Comment out ublox8 Glonass / Galileo code. * Increase suggested wait time on updates. * Add info to main status help page. Fixes cyoung#728. * Adds AU tail number decoding from ICAO addr. Contribution by @armeniki. cyoung#736.
* Add info to main status help page. Fixes cyoung#728. * Adds AU tail number decoding from ICAO addr. Contribution by @armeniki. cyoung#736. * update readme Remove line about dangerzone and added kwikEFIS to the list of apps that support Stratux * Revert 0d93623. * Add SoftRF udev rules and "ping" code hack (temporary).
* Add info to main status help page. Fixes cyoung#728. * Adds AU tail number decoding from ICAO addr. Contribution by @armeniki. cyoung#736. * update readme Remove line about dangerzone and added kwikEFIS to the list of apps that support Stratux * Revert 0d93623. * Add SoftRF udev rules and "ping" code hack (temporary). * Update gen_gdl90.go * Update flarm.go
Hi everyone,
I wanted to firstly say thanks for everyone involved with this project!
Secondly, I wanted to contribute a bit of code below, which will enable Australian users to decode the ICAO Mode S HEX into Australian "VH-xxx" tail numbers. This code is in the icao2reg function in the file traffic.go located in the main folder.
I have compiled this successfully and tested it on the latest version (1.4r5) with GoLang v1.10.3.
Cheers,
Armen
The text was updated successfully, but these errors were encountered: