12class DutyCycleEncoder;
47 void Set(
double value);
Class for supporting duty cycle/PWM encoders, such as the US Digital MA3 with PWM Output,...
Definition DutyCycleEncoder.h:26
Class to control a simulated duty cycle encoder.
Definition DutyCycleEncoderSim.h:19
DutyCycleEncoderSim(int channel)
Constructs from a digital input channel.
void SetConnected(bool isConnected)
Set if the encoder is connected.
void Set(double value)
Set the position.
double Get()
Get the position.
DutyCycleEncoderSim(const DutyCycleEncoder &encoder)
Constructs from a DutyCycleEncoder object.
bool IsConnected()
Get if the encoder is connected.
C++ wrapper around a HAL simulator boolean value handle.
Definition SimDevice.h:611
C++ wrapper around a HAL simulator double value handle.
Definition SimDevice.h:536