12 #include <HAL/Types.h> 14 #include "AnalogTriggerOutput.h" 15 #include "SensorBase.h" 37 AnalogTriggerType type)
const;
41 HAL_AnalogTriggerHandle m_trigger;
43 bool m_ownsAnalog =
false;
void SetLimitsVoltage(double lower, double upper)
Set the upper and lower limits of the analog trigger.
Definition: AnalogTrigger.cpp:87
Base class for all sensors.
Definition: SensorBase.h:20
void SetAveraged(bool useAveragedValue)
Configure the analog trigger to use the averaged vs.
Definition: AnalogTrigger.cpp:103
bool GetInWindow()
Return the InWindow output of the analog trigger.
Definition: AnalogTrigger.cpp:146
void SetLimitsRaw(int lower, int upper)
Set the upper and lower limits of the analog trigger.
Definition: AnalogTrigger.cpp:72
Class to represent a specific output from an analog trigger.
Definition: AnalogTriggerOutput.h:49
bool GetTriggerState()
Return the TriggerState output of the analog trigger.
Definition: AnalogTrigger.cpp:164
Definition: AnalogTrigger.h:21
void SetFiltered(bool useFilteredValue)
Configure the analog trigger to use a filtered value.
Definition: AnalogTrigger.cpp:120
std::shared_ptr< AnalogTriggerOutput > CreateOutput(AnalogTriggerType type) const
Creates an AnalogTriggerOutput object.
Definition: AnalogTrigger.cpp:181
AnalogTrigger(int channel)
Constructor for an analog trigger given a channel number.
Definition: AnalogTrigger.cpp:25
int GetIndex() const
Return the index of the analog trigger.
Definition: AnalogTrigger.cpp:134