head	1.2;
access;
symbols
	Validate1:1.1;
locks; strict;
comment	@# @;


1.2
date	2000.01.12.23.08.20;	author pean;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.10.18.42.57;	author pean;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Checked in for Rob.
@
text
@##############################################################
#
# PURPOSE: Convert binary files generated by the flight code into
#          Matlab-readable ASCII files.
# AUTHOR:  rsm
# DATE:    99/12/20
# NOTES:   See the companion Matlab script loadData.m
#          00/1/11: The -a option, which supposedly checks file existance
#                   doesn't appear to work.  -f determines regularity.
#
#
##############################################################
#
  if [ -f simulation.log ]
  then
    echo "Converting simulation.log"
    logToMatlab simulation.log > dataS.m
  fi

  if [ -f navigation.log ]
  then
    echo "Converting navigation.log"
    logToMatlab navigation.log > dataN.m
  fi

  if [ -f dynamicControl.log ]
  then
    echo "Converting dynamicControl.log"
    logToMatlab dynamicControl.log > dataD.m
  fi

  if [ -f ctd.log ]
  then
    echo "Converting ctdlog.log"
    logToMatlab ctdlog.log > dataCTD.m
  fi

  if [ -f parosci.log ]
  then
    echo "Converting parosci.log"
    logToMatlab parosci.log > dataPS.m
  fi


  if [ -f psa916.log ]
  then
   echo "Converting psa916.log"
   logToMatlab psa916log.log > dataPSA.m
  fi

#  if [ -f gps.log ]
#  then
#   echo "Converting gps.log"
#   logToMatlab gps.log > dataGPS.m
#  fi

  if [ -f kvhInclinometer.log ]
  then
    echo "Converting kvhInclinometer"
    logToMatlab kvhInclinometer.log > dataINC.m
  fi

  if [ -f kvhCompass.log ]
  then
    echo "Converting kvhCompass"
    logToMatlab kvhCompass.log > dataCOM.m
  fi


@


1.1
log
@Initial checkin to CVS
@
text
@d8 2
d11 1
d14 5
a18 2
echo "Converting simulation.log"
logToMatlab simulation.log > dataS.m
d20 5
a24 2
echo "Converting navigation.log"
logToMatlab navigation.log > dataN.m
d26 5
a30 2
echo "Converting dynamicControl.log"
logToMatlab dynamicControl.log > dataD.m
d32 36
@
