Rover API Documentation
rover_hcsr04.hpp File Reference

Go to the source code of this file.

Classes

class  rover::RoverHCSR04
 RoverHCSR04 is a class that is inherited from RoverSensor abstract class. RoverHCSR04 class contains member functions and variables to set up and read from HCSR-04 ultrasonic sensors that are embedded on the rover. More...
 

Namespaces

 rover
 rover Namespace contains classes to manage Rover sensors, gpio, buzzer, buttons, driving, utilities, and cloud.
 

Variables

static const int TRIG0 = 7
 HC-SR04 Sensor Trigger Pin for Front Sensor Socket (in wiringPi format) More...
 
static const int ECHO0 = 0
 HC-SR04 Sensor Echo Pin for Front Sensor Socket (in wiringPi format) More...
 
static const int TRIG1 = 1
 HC-SR04 Sensor Trigger Pin for Rear Sensor Socket (in wiringPi format) More...
 
static const int ECHO1 = 2
 HC-SR04 Sensor Echo Pin for Rear Sensor Socket (in wiringPi format) More...
 

Variable Documentation

const int ECHO0 = 0
static

HC-SR04 Sensor Echo Pin for Front Sensor Socket (in wiringPi format)

const int ECHO1 = 2
static

HC-SR04 Sensor Echo Pin for Rear Sensor Socket (in wiringPi format)

const int TRIG0 = 7
static

HC-SR04 Sensor Trigger Pin for Front Sensor Socket (in wiringPi format)

const int TRIG1 = 1
static

HC-SR04 Sensor Trigger Pin for Rear Sensor Socket (in wiringPi format)