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
5
using namespace
Robot
;
6
using namespace
Robot::Globals
;
7
8
9
DistanceSensor::DistanceSensor() { ; }
10
11
int
DistanceSensor::get_distance() {
12
return
distance_sensor
.get();
13
}
Robot::Globals
Definition
globals.cpp:20
Robot::Globals::distance_sensor
pros::Distance distance_sensor(10)
Robot
Definition
auton.h:8
src
electronics
distance.cpp
Generated on Sat Jan 11 2025 13:28:26 for 1516X High Stakes by
1.13.1