May 2, 2001 J. D. Monnier A few startracker notes: ------------------------ From what I can see in the code, you need to set the following shared memory variables to track on telescope 1: [similar for telescope 2,etc] st_data->detector = CCD_NEW; st_data->resolution = COARSE; st_data->T_int = 10; //10; // or whatever, in ms. st_data->blocked[0] = 0; // Tel 1 is not blocked st_data->blocked[1] = 1; // Tel 2 is blocked st_data->blocked[2] = 1; // Tel 3 is blocked st_data->active[0] = 1; //1 = ACTIVE st_data->active[1] = 0; st_data->active[2] = 0; [The above steps should be automatically carried out by ST_Scheduler] To track on a star -- then send a CMD: in the shell: startracker -a_command CMD_CLOSE CMD_CLOSE --> close the loop When a star is detected (based on threshold) then it should change the FSM_state[tel#] from ST_SEE_NOTHING to ST_DRAGGING then to ST_TRACKING [All this is documented in StarTracker.h by SMorel] The piezo voltages will quickly go to the rails when a star is detected if the actual tip-tilt mirrors are not plugged in since it keeps trying to move the image but it won't budge (the feedback loop is subverted).