Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Satellite TV receivers & systems support forums
DISH SETUP: Single sat, Multi-Sat & Motorised
Angle setting on HH motor
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Huevos" data-source="post: 650561" data-attributes="member: 301161"><p>There is a calculator at _http://www.satsig.net/sf.htm</p><p></p><p>One of the things it works out is polar mount rotation.</p><p></p><p>The code below is what it uses so you should be able to fish out the formula from that:[CODE]function rota(satlong,eslat,eslong) {</p><p>// new 26 June 2006 Strictly Copyright (c) 2006 All rights reserved Mitko, Plovdiv, Bulgaria</p><p>pi=3.1415926;</p><p>radius=6378;</p><p>horb = 35786;</p><p>rcentrum=radius+horb;</p><p>alfa=eslat*(pi/180);</p><p>rm=radius*Math.cos(alfa);</p><p>omega=satlong*(pi/180);</p><p>mu=eslong*(pi/180);</p><p>beta=omega-mu;</p><p>os=rcentrum;</p><p>oc=rm*Math.cos(beta);</p><p>ac=rm*Math.sin(beta);</p><p>cs=rcentrum-oc; </p><p>distx=Math.atan(ac/cs);</p><p>landa=beta+distx;</p><p>if (Math.abs(landa*180/pi) >90) return "n/a";</p><p>esrota=landa*180/pi;</p><p>return esrota;</p><p>}</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Huevos, post: 650561, member: 301161"] There is a calculator at _http://www.satsig.net/sf.htm One of the things it works out is polar mount rotation. The code below is what it uses so you should be able to fish out the formula from that:[CODE]function rota(satlong,eslat,eslong) { // new 26 June 2006 Strictly Copyright (c) 2006 All rights reserved Mitko, Plovdiv, Bulgaria pi=3.1415926; radius=6378; horb = 35786; rcentrum=radius+horb; alfa=eslat*(pi/180); rm=radius*Math.cos(alfa); omega=satlong*(pi/180); mu=eslong*(pi/180); beta=omega-mu; os=rcentrum; oc=rm*Math.cos(beta); ac=rm*Math.sin(beta); cs=rcentrum-oc; distx=Math.atan(ac/cs); landa=beta+distx; if (Math.abs(landa*180/pi) >90) return "n/a"; esrota=landa*180/pi; return esrota; } [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Satellite TV receivers & systems support forums
DISH SETUP: Single sat, Multi-Sat & Motorised
Angle setting on HH motor
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top