LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
rotarySensor.hpp
Go to the documentation of this file.
1
/*
2
* This Source Code Form is subject to the terms of the Mozilla Public
3
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
*/
6
#pragma once
7
8
#include "
okapi/api/control/controllerInput.hpp
"
9
#include "
okapi/api/coreProsAPI.hpp
"
10
11
namespace
okapi
{
12
class
RotarySensor
:
public
ControllerInput
<double> {
13
public
:
14
virtual
~RotarySensor
();
15
21
virtual
double
get
()
const
= 0;
22
};
23
}
// namespace okapi
okapi::ControllerInput
Definition
controllerInput.hpp:9
okapi::RotarySensor
Definition
rotarySensor.hpp:12
okapi::RotarySensor::get
virtual double get() const =0
Get the current sensor value.
okapi::RotarySensor::~RotarySensor
virtual ~RotarySensor()
controllerInput.hpp
coreProsAPI.hpp
okapi
Definition
chassisController.hpp:16
include
okapi
api
device
rotarysensor
rotarySensor.hpp
Generated by
1.9.8