/****************************************************************************/
/* Copyright (c) 2000 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : _kearfott.cc                                                  */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 02/07/2000                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
/*-----------------------------------------------------------------------*
  CLASS: kearfott

  DESCRIPTION: Main file for octans driver

  AUTHOR: Hans Thomas

  $Id: _kearfottPlayback.cc,v 1.1 2001/08/02 02:52:41 hthomas Exp $
 *-----------------------------------------------------------------------*/
#include <sys/sched.h>
#include <errno.h>
#include "System.h"
#include "Kearfott.h"
#include "Syslog.h"
#include "Task.h"



int main(int argc, char **argv)
{
     Boolean debug = True;
     Kearfott *kearfott = 0;

     if (argc != 2) {
       printf("usage: kearfottPlayback filename\n");
       exit(1);
     }

     try {
       kearfott = new Kearfott((char *)(argv[1]));
       kearfott->displayNavigationMessages(50);
       kearfott->run();
     }
     catch(Exception e) {
       Syslog::write("kearfott - caught Exception: %s\n", e.msg);
     }
     catch(...) {
       Syslog::write("kearfott - Exception caught\n");
     }

     delete kearfott;

     return 0;
}
