#!/bin/csh -f
#+
# gotobase -- move the telescope to return to the base coordinates
#
# Purpose:
#	Return to the position previously marked as "base" using the
#	"markbase" script.
#
# Usage:
#	gotobase
# 
# Arguments:
#	none
# 
# Output:
#	none
# 
# Exit values:
#	 0 = normal completion
#	 1 = wrong number of arguments
#
# Example:
#	1) return to the position marked as base:
#		gotobase
#
#-
# Modification history:
#	Date unknown	RWG	Original version
#	2000-Jul-05	GDW	Added documentation
#-----------------------------------------------------------------------

# check args...
if (${#argv} != 0) then
  echo "Usage: gotobase"
  exit 1
endif

# set current to base...
modify -s dcs raoff=0 decoff=0 rel2base=true