11#include <units/impedance.h>
12#include <units/temperature.h>
Configs related to using an independent thermister for automatically disabling a motor when a thresho...
Definition ExternalTempConfigs.hpp:34
units::impedance::kiloohm_t ThermistorR0
The thermistor resistance for the connected NTC thermistor as measured at 25'C.
Definition ExternalTempConfigs.hpp:71
constexpr ExternalTempConfigs & WithThermistorMaxTemperature(units::temperature::celsius_t newThermistorMaxTemperature)
Modifies this configuration's ThermistorMaxTemperature parameter and returns itself for method-chaini...
Definition ExternalTempConfigs.hpp:97
constexpr ExternalTempConfigs & WithTempSensorRequired(signals::TempSensorRequiredValue newTempSensorRequired)
Modifies this configuration's TempSensorRequired parameter and returns itself for method-chaining and...
Definition ExternalTempConfigs.hpp:158
constexpr ExternalTempConfigs & WithThermistorBeta(units::temperature::kelvin_t newThermistorBeta)
Modifies this configuration's ThermistorBeta parameter and returns itself for method-chaining and eas...
Definition ExternalTempConfigs.hpp:118
signals::TempSensorRequiredValue TempSensorRequired
Whether a temperature sensor should be required for motor control.
Definition ExternalTempConfigs.hpp:78
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
std::string ToString() const override
units::temperature::kelvin_t ThermistorBeta
Beta K value for the connected NTC thermistor.
Definition ExternalTempConfigs.hpp:60
constexpr ExternalTempConfigs()=default
constexpr ExternalTempConfigs & WithThermistorR0(units::impedance::kiloohm_t newThermistorR0)
Modifies this configuration's ThermistorR0 parameter and returns itself for method-chaining and easie...
Definition ExternalTempConfigs.hpp:140
units::temperature::celsius_t ThermistorMaxTemperature
Threshold for thermal faulting a custom motor.
Definition ExternalTempConfigs.hpp:49
Definition Configuration.hpp:17
Definition motor_constants.h:14
Whether a temperature sensor should be required for motor control.
Definition SpnEnums.hpp:4938
static constexpr int Required
Temperature sensor is required for motor control.
Definition SpnEnums.hpp:4944