kpreid / shinysdr

Software-defined radio receiver application built on GNU Radio with a web-based UI and plugins. In development, usable but incomplete. Compatible with RTL-SDR.
https://shinysdr.switchb.org/
GNU General Public License v3.0
1.07k stars 115 forks source link

Show rotator azimuth on the map. #120

Closed quentinmit closed 5 years ago

quentinmit commented 5 years ago

This adds the azimuth information from hamlib to the map. (Elevation would be amusing with WebGL, but I didn't see a way to plumb that through.)

mathisono commented 5 years ago

interesting... are you tracking LEO satellites? If so this probably doesn't apply. The database only lets you set Lat,Long for stations on the ground. If one wanted to plot a satellite in GEOstationary orbit on with a station marker in 3D space on the globe?

I like that webGL renders what Rotcld reads. Are you proposing a control interface for Rotcld? I use gpredict but I dont know how the Rotcld acts when two programs are using it?

kpreid commented 5 years ago

@mathisono Satellite orbits on the map and as targets for tuning/aiming are already on the big todo list. It's why there's already a dependency on PyEphem (that's currently only used to draw the sun on the map).

mathisono commented 5 years ago

The short fall in gpredict is that it relies on TLE... 2 line data does not adapt to tracking the moon, or other objects once they leave orbit. I could only track StarMan's trip when TLE stops being generated with in that model.

I dont know how pyorbital can calculate TLE and has an astronomy module. https://pyorbital.readthedocs.io/en/feature-moon-phase/moon_calculations.html
https://pyorbital.readthedocs.io/en/latest/ http://pytroll.github.io/ https://github.com/pytroll/pyorbital

Im not up on my orbital mechanics on order to load jpl data. !
https://ssd.jpl.nasa.gov/?ephemerides

Sorry I missed the todo list~

quentinmit commented 5 years ago

I'm ready with my followon PR to add geodesy as a dep and drive rotators, but AFAICT I can't get GitHub to set up a chain of pull requests, so I'm going to hold off on sending that until this PR is merged.