12 #include "AnalogTriggerOutput.h"
13 #include "HAL/Types.h"
14 #include "SensorBase.h"
36 AnalogTriggerType type)
const;
40 HAL_AnalogTriggerHandle m_trigger;
42 bool m_ownsAnalog =
false;
void SetLimitsVoltage(double lower, double upper)
Set the upper and lower limits of the analog trigger.
Definition: AnalogTrigger.cpp:86
Base class for all sensors.
Definition: SensorBase.h:22
void SetAveraged(bool useAveragedValue)
Configure the analog trigger to use the averaged vs.
Definition: AnalogTrigger.cpp:102
bool GetInWindow()
Return the InWindow output of the analog trigger.
Definition: AnalogTrigger.cpp:145
void SetLimitsRaw(int lower, int upper)
Set the upper and lower limits of the analog trigger.
Definition: AnalogTrigger.cpp:71
Class to represent a specific output from an analog trigger.
Definition: AnalogTriggerOutput.h:48
bool GetTriggerState()
Return the TriggerState output of the analog trigger.
Definition: AnalogTrigger.cpp:163
Definition: AnalogTrigger.h:20
void SetFiltered(bool useFilteredValue)
Configure the analog trigger to use a filtered value.
Definition: AnalogTrigger.cpp:119
std::shared_ptr< AnalogTriggerOutput > CreateOutput(AnalogTriggerType type) const
Creates an AnalogTriggerOutput object.
Definition: AnalogTrigger.cpp:180
AnalogTrigger(int channel)
Constructor for an analog trigger given a channel number.
Definition: AnalogTrigger.cpp:24
int GetIndex() const
Return the index of the analog trigger.
Definition: AnalogTrigger.cpp:133