1516X High Stakes 2.0
Codebase for 1516X High Stakes season
Loading...
Searching...
No Matches
distance.cpp
Go to the documentation of this file.
1#include "globals.h"
2#include "pros/misc.h"
3#include "electronic/distance.h"
4
5using namespace Robot;
6using namespace Robot::Globals;
7
8
9DistanceSensor::DistanceSensor() { ; }
10
11int DistanceSensor::get_distance() {
12 return distance_sensor.get();
13}
pros::Distance distance_sensor(10)
Definition auton.h:8