Changeset 15005 for trunk/FACT++


Ignore:
Timestamp:
03/09/13 16:40:38 (12 years ago)
Author:
tbretz
Message:
Implemented alternating wobble positions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/Main.js

    r14998 r15005  
    753753    if (point)
    754754    {
    755         var wobble = parseInt(run/4)%2;
     755        // Change wobble position every four runs,
     756        // start with alternating wobble positions each day
     757        var wobble = (parseInt(run/4) + parseInt(new Date()/1000/3600/24-0.5))%2;
    756758
    757759        //console.out("  Move telescope to '"+source+"' "+offset+" "+wobble);
Note: See TracChangeset for help on using the changeset viewer.