10#include <units/dimensionless.h>
11#include <units/length.h>
Definition Configuration.hpp:17
Configs that affect the ToF Proximity detection.
Definition ProximityParamsConfigs.hpp:25
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
constexpr ProximityParamsConfigs()=default
units::dimensionless::scalar_t MinSignalStrengthForValidMeasurement
The minimum allowable signal strength before determining the measurement is valid.
Definition ProximityParamsConfigs.hpp:70
std::string ToString() const override
std::string Serialize() const final
constexpr ProximityParamsConfigs & WithProximityThreshold(units::length::meter_t newProximityThreshold)
Modifies this configuration's ProximityThreshold parameter and returns itself for method-chaining and...
Definition ProximityParamsConfigs.hpp:86
constexpr ProximityParamsConfigs & WithMinSignalStrengthForValidMeasurement(units::dimensionless::scalar_t newMinSignalStrengthForValidMeasurement)
Modifies this configuration's MinSignalStrengthForValidMeasurement parameter and returns itself for m...
Definition ProximityParamsConfigs.hpp:141
units::length::meter_t ProximityThreshold
Threshold for object detection.
Definition ProximityParamsConfigs.hpp:37
constexpr ProximityParamsConfigs & WithProximityHysteresis(units::length::meter_t newProximityHysteresis)
Modifies this configuration's ProximityHysteresis parameter and returns itself for method-chaining an...
Definition ProximityParamsConfigs.hpp:114
units::length::meter_t ProximityHysteresis
How far above and below the threshold the distance needs to be to trigger undetected and detected,...
Definition ProximityParamsConfigs.hpp:54
Definition motor_constants.h:14