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

Position Ambiguity using GPS #157

Closed
LasersAreGreat opened this issue Jul 10, 2018 · 5 comments
Closed

Position Ambiguity using GPS #157

LasersAreGreat opened this issue Jul 10, 2018 · 5 comments

Comments

@LasersAreGreat
Copy link

Hello. Firstly, let me say that direwolf is awesome! I've setup a couple of igates in the last week with it and couldn't be happier. Thank you for all the work you've put into it!

One of the igates I setup is a mobile igate in my car, running on a raspberry pi and using the onboard wifi to igate packets that are received. I want the igate's rough position to be shared, but I would rather not share my exact position. I know that position ambituity is the solution here, but can't seem to find that option for tbeacon. Is there any way to add position ambiguity? If not, can that please be considered as a feature request?

Thank you.

@LasersAreGreat
Copy link
Author

I should clarify, I tried the ambiguity option (and the short "ambig") with tbeacon, but it throws an error. It seems that for TBEACON, ambiguity is not an option

@wb2osz
Copy link
Owner

wb2osz commented Jul 22, 2018

What do you mean by "throws an error?" Please provide more details. What is in the configuration file? What do you see on the screen?

This seems to work OK for me.

Configuration file:

mycall abcdef
gpsnmea com4
tbeacon delay=0:35 every=1
tbeacon delay=0:40 every=1 ambiguity=1
tbeacon delay=0:45 every=1 ambig=2
tbeacon delay=0:50 every=1 ambig=3
tbeacon delay=0:55 every=1 ambig=4

Result:

[0L] ABCDEF>APDW15:!4237.13N/07120.84W-
[0L] ABCDEF>APDW15:!4237.1 N/07120.8 W-
[0L] ABCDEF>APDW15:!4237. N/07120. W-
[0L] ABCDEF>APDW15:!423 . N/0712 . W-
[0L] ABCDEF>APDW15:!42 . N/071 . W-

@LasersAreGreat
Copy link
Author

Here is the output I get when running direwol (I made the error line bold)f:

Reading config file /home/pi/direwolf/direwolf.conf
Config file, line 488: Invalid option keyword, ambiguity.
Audio device for both receive and transmit: plughw:1,0 (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.
Note: PTT not configured for channel 0. (Ignore this if using VOX.)
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.

The relevant line (488) of the config file is this:

TBEACON sendto=IG delay=1 every=5 ambiguity=1 overlay=S symbol="igate" COMMENT="RX-only mobile igate"

I get the same error whether I use TBEACON or IBEACON

@wb2osz
Copy link
Owner

wb2osz commented Jul 22, 2018

What version are you using? From the revision history, it looks like this new option was added June 2017, after version 1.4. In other words, you need version 1.5.

@LasersAreGreat
Copy link
Author

I realized that I had been checking out the latest release, rather than the dev version when troubleshooting this. So, I just got the dev version and it works fine. Thank you for the help and sorry for the time spent on this.

@wb2osz wb2osz closed this as completed Jul 22, 2018
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