30 mutable std::mutex _m;
33 mutable wpi::units::second_t _lastConfigTime = _creationTime;
34 mutable wpi::units::second_t _freqConfigStart = 0_s;
void ReportIfFrequent() const
ctre::phoenix::StatusCode SetConfigsPrivate(std::string_view serializedString, wpi::units::second_t timeoutSeconds, bool futureProofConfigs, bool overrideIfDuplicate)
wpi::units::second_t DefaultTimeoutSeconds
The default maximum amount of time to wait for a config.
Definition Configurator.hpp:26
ParentConfigurator(hardware::DeviceIdentifier deviceIdentifier)
Definition Configurator.hpp:37
ctre::phoenix::StatusCode GetConfigsPrivate(std::string &serializedString, wpi::units::second_t timeoutSeconds) const
ParentConfigurator(ParentConfigurator const &)=delete
ParentConfigurator & operator=(ParentConfigurator const &)=delete
The unique identifier for a device.
Definition DeviceIdentifier.hpp:19
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition ExternalFeedbackConfigs.hpp:21
wpi::units::second_t GetCurrentTime()
Get the current timestamp.
Definition Utils.hpp:27
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14