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