44 double timeoutSeconds,
45 std::string_view serializedString,
46 bool futureProofConfigs,
47 bool overrideIfDuplicate
62 double timeoutSeconds,
63 std::string &serializedString
76 bool isError, int32_t errorCode,
char const *details,
77 char const *location,
bool getStackTrace =
true
Definition Wrappers.hpp:19
static void ReportStatusCode(ctre::phoenix::StatusCode statusCode, char const *location, bool getStackTrace=true)
Reports a status code.
static ctre::phoenix::StatusCode Device_SetConfigValues(char const *network, int deviceHash, double timeoutSeconds, std::string_view serializedString, bool futureProofConfigs, bool overrideIfDuplicate)
Sets the config value of the device.
static ctre::phoenix::StatusCode Device_GetConfigValues(char const *network, int deviceHash, double timeoutSeconds, std::string &serializedString)
Gets the config value of the device.
static void ReportError(bool isError, int32_t errorCode, char const *details, char const *location, bool getStackTrace=true)
Reports an error.
static uint32_t CompileDeviceHash(int deviceID, char const *model, char const *canbus)
Creates the device hash from provided parameters.
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition Wrappers.hpp:16
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14