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

Add field for azimuth #943

Closed
CoolAEW opened this issue Sep 20, 2023 · 4 comments
Closed

Add field for azimuth #943

CoolAEW opened this issue Sep 20, 2023 · 4 comments

Comments

@CoolAEW
Copy link
Contributor

CoolAEW commented Sep 20, 2023

Hello!

Under optional settings, where you enter the latitude and longitude of the antenna, could you add a field for antenna azimuth?

This can help us identify antennas that are close together and map servers could use the data to visualize it.
For example:
image

@aanon4
Copy link
Contributor

aanon4 commented Sep 26, 2023

I'll admit, I've always wanted to azimuth field too, but never been quite sure how to do it well. I've wanted it so when people are setting up new nodes, they have some understanding about whether an antenna is pointing towards them, which seems useful. But I agree, without understanding the beamwidth too, it's not as useful.

Now for many radios with built-in antennas, we actually know the beamwidths, but for some we don't and you'd have to enter it. Not a big issue, but makes the implementation a little more involved.

@CoolAEW
Copy link
Contributor Author

CoolAEW commented Sep 26, 2023

I was thinking just a simple manual field for Azimuth, that would be passed to the sysinfo.json api.
I see no problem with displaying the azimut in the same way as location on the status page aswell.

I've been working on making KN6PLV's meshmap display azimuth based on data from sysinfo.json and this is how I could see it being used, just a simple arrow/triangle to show where the antenna is pointing. Here I just add a transparent image with one corner filled in behind the node icon and rotate it based on azimuth.
image

For me this would be a nice feature to see what nodes are pointing in my direction when adding new nodes

@CoolAEW
Copy link
Contributor Author

CoolAEW commented Sep 26, 2023

The current implementation in meshmap only calculates the direction that a particular link is coming from and not where the antenna is actually pointing. When there are multiple links you get multiple angles displayed, some of those links could even come from a side or back lobe and does not accurately represent the azimuth of the antenna itself.

@aanon4
Copy link
Contributor

aanon4 commented Dec 18, 2023

Done

@aanon4 aanon4 closed this as completed Dec 18, 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