/*
  Michael Simmons
  Master Project: 
   gRAPI: an indoor four-wheeled robot API for a gumstix connex
  
  Last Modified: 17 Feb 2009
  
  Header file for RSnsr class
  
  The RSnsr Class extends the Srf10 class
*/

#ifndef RSNSR_H
#define RSNSR_H

#include "Srf10.h"

class RSnsr : public Srf10
{
  private:
    int dist1;
    int dist2;
    int low, mid, high;
    int curDist;
    bool oldFlag;

  public:
    RSnsr(int handle, int addr, char rt = 'c' );
    int mReadS();
}; // RSnsr

#endif
