Ticket #8459 (closed defect: fixed)
Opened 3 years ago
Last modified 2 years ago
[PATCH] Calculate correct Azimuth positioning for Diseqc Rotor
|Reported by:||Pieter Hoekstra <pieter@…>||Owned by:||robertm|
|Component:||MythTV - DVB||Version:||0.23rc2|
|Severity:||medium||Keywords:||diseqc rotor azimuth|
I'm not 100% sure this is a mythtv bug or my misunderstanding.
When positioning a rotor using GotoXX-diseqc (Diseqc1.3) commands, Myth calculates the Azimuth-angle for the current latitude/longitude.
This Azimuth is visible when running "mythbackend -v important,channel"
When I compare the Azimuth with other software, like kaffeine, SMWLink (www.smw.se/FreeSoftware.htm), xdipo (http://panteltje.com/panteltje/satellite/) or sites like http://www.dishpointer.com http://www.satsig.net/ssazelm.htm myth seems a few degrees wrong... Example: For my location the Astra19.2E satellite should point to 15.3E, but myth calculates 13.5E
I have attached a patch that calculates the same value as the calculators above.
The current code also calculates the elevation, I removed those lines in the patch.
comment:1 Changed 3 years ago by janne
comment:2 Changed 3 years ago by robertm
- Status changed from new to assigned
comment:3 Changed 2 years ago by robertm
- Owner changed from janne to robertm
comment:4 Changed 2 years ago by Github
- Status changed from assigned to closed
- Resolution set to fixed
- Milestone changed from unknown to 0.25