yarp-devices
|
Contains CAN-related utilities.
Functions | |
std::string | msgToStr (std::uint8_t id, std::uint16_t cob, std::size_t len, const std::uint8_t *data) |
Create a string representation of the given CAN message details. | |
std::string | msgToStr (std::size_t len, const std::uint8_t *data) |
Create a string representation of the given CAN message data payload. | |
std::string | msgToStr (std::uint16_t cobId, std::size_t len, const std::uint8_t *data) |
Create a string representation of the given CAN message details. | |
std::string | msgToStr (const can_message &msg) |
Create a string representation of the given CAN message details. | |
template<typename T_int , typename T_frac > | |
void | encodeFixedPoint (double value, T_int *integer, T_frac *fractional) |
Obtain a fixed-point representation given a float value. More... | |
template<typename T_int , typename T_frac > | |
double | decodeFixedPoint (T_int integer, T_frac fractional) |
Obtain a float representation of a fixed-point value. More... | |