10 #include <hal/Types.h>
12 #include "frc/ErrorBase.h"
13 #include "frc/smartdashboard/Sendable.h"
14 #include "frc/smartdashboard/SendableHelper.h"
18 class SendableBuilder;
64 hal::Handle<HAL_AnalogOutputHandle> m_port;
void SetVoltage(double voltage)
Set the value of the analog output.
MXP analog output class.
Definition: AnalogOutput.h:23
AnalogOutput(int channel)
Construct an analog output on the given channel.
double GetVoltage() const
Get the voltage of the analog output.
Base class for most objects.
Definition: ErrorBase.h:104
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
Interface for Sendable objects.
Definition: Sendable.h:17
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
int GetChannel()
Get the channel of this AnalogOutput.
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:28
Definition: SendableBuilder.h:23