Motion Master
|
Namespaces | |
namespace | common |
Functions | |
void | common::from_json (const nlohmann::json &j, UiPdoMapping &p) |
Deserialize a JSON object into a UiPdoMapping structure. More... | |
void | common::from_json (const nlohmann::json &j, UiConfigJson &r) |
Deserialize a JSON object into a UiConfigJson structure. More... | |
std::string | common::convertParameterValueToString (const ParameterValue &value) |
Converts a ParameterValue to a string representation. More... | |
void | common::logParametersMap (const std::unordered_map< std::pair< uint16_t, uint8_t >, Parameter > ¶metersMap, bool sortParameters=true) |
Logs the contents of a map of parameters with an option to sort them. More... | |
std::vector< uint8_t > | common::readBinaryFile (const std::string &filename) |
Reads the contents of a binary file into a vector of uint8_t. More... | |
std::string | common::joinStrings (const std::vector< std::string > &list, const std::string &delimiter) |
Joins a list of strings into a single string with a delimiter. More... | |
std::string | common::formatMacAddress (const std::string &originalMacAddress) |
Formats a MAC address string to ensure each component is two digits and uppercase. More... | |