12 #include <hal/Types.h>
14 #include "frc/AnalogTriggerOutput.h"
15 #include "frc/ErrorBase.h"
16 #include "frc/smartdashboard/SendableBase.h"
130 AnalogTriggerType type)
const;
136 HAL_AnalogTriggerHandle m_trigger;
138 bool m_ownsAnalog =
false;
Definition: SPIAccelerometerSim.h:18
std::shared_ptr< AnalogTriggerOutput > CreateOutput(AnalogTriggerType type) const
Creates an AnalogTriggerOutput object.
void SetLimitsRaw(int lower, int upper)
Set the upper and lower limits of the analog trigger.
int GetIndex() const
Return the index of the analog trigger.
void SetAveraged(bool useAveragedValue)
Configure the analog trigger to use the averaged vs.
bool GetInWindow()
Return the InWindow output of the analog trigger.
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
void SetLimitsVoltage(double lower, double upper)
Set the upper and lower limits of the analog trigger.
Class to represent a specific output from an analog trigger.
Definition: AnalogTriggerOutput.h:49
void SetFiltered(bool useFilteredValue)
Configure the analog trigger to use a filtered value.
Base class for most objects.
Definition: ErrorBase.h:74
Definition: SendableBase.h:19
Definition: AnalogTrigger.h:22
Definition: SendableBuilder.h:23
AnalogTrigger(int channel)
Constructor for an analog trigger given a channel number.
bool GetTriggerState()
Return the TriggerState output of the analog trigger.