10 #include "HAL/HAL.hpp"
11 #include "AnalogTriggerOutput.h"
12 #include "SensorBase.h"
31 std::shared_ptr<AnalogTriggerOutput>
CreateOutput(AnalogTriggerType type)
const;
Definition: AnalogTrigger.h:16
Class to represent a specific output from an analog trigger.
Definition: AnalogTriggerOutput.h:57
std::shared_ptr< AnalogTriggerOutput > CreateOutput(AnalogTriggerType type) const
Creates an AnalogTriggerOutput object.
Definition: AnalogTrigger.cpp:156
void SetAveraged(bool useAveragedValue)
Configure the analog trigger to use the averaged vs.
Definition: AnalogTrigger.cpp:87
void SetLimitsVoltage(float lower, float upper)
Set the upper and lower limits of the analog trigger.
Definition: AnalogTrigger.cpp:72
Base class for all sensors.
Definition: SensorBase.h:20
bool GetInWindow()
Return the InWindow output of the analog trigger.
Definition: AnalogTrigger.cpp:125
AnalogTrigger(int32_t channel)
Constructor for an analog trigger given a channel number.
Definition: AnalogTrigger.cpp:23
uint32_t GetIndex() const
Return the index of the analog trigger.
Definition: AnalogTrigger.cpp:115
void SetLimitsRaw(int32_t lower, int32_t upper)
Set the upper and lower limits of the analog trigger.
Definition: AnalogTrigger.cpp:59
bool GetTriggerState()
Return the TriggerState output of the analog trigger.
Definition: AnalogTrigger.cpp:141
void SetFiltered(bool useFilteredValue)
Configure the analog trigger to use a filtered value.
Definition: AnalogTrigger.cpp:103