Recent topics Log in
Search Profile
Memberlist Usergroups
Log in to check your private messages
Register
Plot an intercept course, Mr. Sulu!
Goto page Previous  1, 2

Post new topic   Reply to topic
SpaceTrace Forum Forum Index » Suggestions » Plot an intercept course, Mr. Sulu!
View previous topic :: View next topic  
Author Message
Liderant
1st Rear Admiral
1st Rear Admiral


Joined: 26 Aug 2003
Posts: 273
Location: Venezuela

 Post Posted: Fri Aug 05, 2005 2:25 am    Post subject:
Reply with quote

yes, that could be done. that is what i meant with the program i made to calculate possible coords, but i have to sit down to remember the code
 Back to top »
View user's profile Send private message Send e-mail
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Fri Aug 05, 2005 8:04 am    Post subject:
Reply with quote

in the fleetscreen there is already a small hint about the vector:
behind the small vector-icons for up or down, there are three hidden numbers in the sourcecode (for example 11;9;-1 ) they represent the ratio of how much the vecctor is going up or down.

if this helps you calculating it, we could add decimals to that, so you could program a javascript that shows you in a popup the possible target coordinates
 Back to top »
View user's profile Send private message
Liderant
1st Rear Admiral
1st Rear Admiral


Joined: 26 Aug 2003
Posts: 273
Location: Venezuela

 Post Posted: Fri Aug 05, 2005 9:03 am    Post subject:
Reply with quote

the question about those numbers is, why over 15? i mean the number goes from 0 to 15. What does 15 represent?
 Back to top »
View user's profile Send private message Send e-mail
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Fri Aug 05, 2005 1:14 pm    Post subject:
Reply with quote

the imaginary vector in 15 px long, so if you have a 15 in x-direction, then the others must be both 0

i started the javascript here:

http://www.spacetrace.com/forum/viewtopic.php?p=45991#45991
 Back to top »
View user's profile Send private message
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Fri Aug 05, 2005 1:46 pm    Post subject:
Reply with quote

i added more decimals after the hidden vector now it looks for example like:
11.528;9.597;-0.075
 Back to top »
View user's profile Send private message
Liderant
1st Rear Admiral
1st Rear Admiral


Joined: 26 Aug 2003
Posts: 273
Location: Venezuela

 Post Posted: Fri Aug 05, 2005 7:51 pm    Post subject:
Reply with quote

i am working on it. But there is something i might need. Is it possible to add an exact clock to the probe window? I mean, to see the hour (with seconds included) when you saw the probe data.
 Back to top »
View user's profile Send private message Send e-mail
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Mon Aug 08, 2005 12:17 am    Post subject:
Reply with quote

thats easy:

just save the time in a javascript variable

http://en.selfhtml.org/javascript/objekte/date.htm
 Back to top »
View user's profile Send private message
Liderant
1st Rear Admiral
1st Rear Admiral


Joined: 26 Aug 2003
Posts: 273
Location: Venezuela

 Post Posted: Mon Aug 08, 2005 2:40 am    Post subject:
Reply with quote

how?
 Back to top »
View user's profile Send private message Send e-mail
admin
Board Admin
Board Admin


Joined: 09 Jan 2002
Posts: 2938

 Post Posted: Mon Aug 08, 2005 6:31 pm    Post subject:

Code:
    <script type="text/javascript">
<!--

 var jetzt = new Date();
 var now = jetzt.getTime() / 1000;
 
 alert(now );
 
 var date1970 = new Date(1970,0,1,1,0,0);
 var first = ( date1970.getTime() / 1000 ) / 3600;
 
 alert(first );
//-->
</script>

hope this helps

(and the link)
 Back to top »
View user's profile Send private message
Display posts from previous:   
SpaceTrace Forum Forum Index » Suggestions » Plot an intercept course, Mr. Sulu!
Post new topic   Reply to topic All times are GMT + 1 Hour
Goto page Previous  1, 2

Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Solaris phpBB theme/template by Jakob Persson
Copyright © Jakob Persson 2003



Powered by phpBB © 2001, 2002 phpBB Group

Impressum