MXP analog output class.
Definition: AnalogOutput.h:17
AnalogOutput(AnalogOutput &&)=default
AnalogOutput & operator=(AnalogOutput &&)=default
void InitSendable(wpi::SendableBuilder &builder) override
Initializes this Sendable object.
int GetChannel() const
Get the channel of this AnalogOutput.
void SetVoltage(double voltage)
Set the value of the analog output.
hal::Handle< HAL_AnalogOutputHandle > m_port
Definition: AnalogOutput.h:56
AnalogOutput(int channel)
Construct an analog output on the given channel.
int m_channel
Definition: AnalogOutput.h:55
double GetVoltage() const
Get the voltage of the analog output.
Helper class for building Sendable dashboard representations.
Definition: SendableBuilder.h:21
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:19
Interface for Sendable objects.
Definition: Sendable.h:16
Definition: AprilTagPoseEstimator.h:15