#!/bin/csh -f #+ # markbase -- set the base telescope coordinates to the current coordinates # # Purpose: # Reset the telescope BASE corodinates to be the current # coordinates of the telescope; i.e., reset the RA and Dec # offsets to zero. This might be useful when you are about to # undertake and operation which will require numerous telescope moves # and you want to be able to return to the starting position. # In this case, use "markbase" before your first move, and then use # "gotobase" to return to the starting position. # # Usage: # markbase # # Arguments: # none # # Output: # none # # Exit values: # 0 = normal completion # 1 = wrong number of arguments # # Example: # 1) set the base coordinates to the current coordinates: # markbase # #- # Modification history: # Date unknown RWG Original version # 2000-Jul-05 GDW Added documentation #----------------------------------------------------------------------- # check args... if (${#argv} != 0) then echo "Usage: markbase" exit 1 endif # set base to current... modify -s dcs mark=true