107 #endif // ISONARSENSOR_H
virtual int setEnable(int e)
Enable or disable the sensor object.
Definition: isonarsensor.h:86
virtual long getRange_cm()
Get the range in centimeters from the last ranging cycle.
Definition: isonarsensor.h:70
virtual int isEnabled()
Return the enable status of the sensor.
Definition: isonarsensor.h:101
virtual long trigger()
Trigger the sensor to start a ranging session.
Definition: isonarsensor.h:44
virtual long getRange_in()
Get the range in inches from the last ranging cycle.
Definition: isonarsensor.h:57
Virtual interface class for any type of sonar sensor.
Definition: isonarsensor.h:12