13 #ifndef KOBUKI_VERSION_HPP_ 14 #define KOBUKI_VERSION_HPP_ 39 VersionInfo(
const uint32_t &fw,
const uint32_t &hw,
const uint32_t udid0_,
const uint32_t udid1_,
const uint32_t udid2_ ) :
54 static std::string
toString(
const uint32_t &version)
58 ss << ((version & 0x00FF0000) >> 16) <<
"." << ((version & 0x0000FF00) >> 8) <<
"." << (version & 0x000000FF);
59 return std::string(ss.str());
62 static std::string
toString(
const uint32_t &udid0,
const uint32_t &udid1,
const uint32_t &udid2)
66 ss << udid0 <<
"-" << udid1 <<
"-" << udid2;
67 return std::string(ss.str());
70 static std::string getSoftwareVersion();
static std::string toString(const uint32_t &version)
Macros for kobuki_driver.
VersionInfo(const uint32_t &fw, const uint32_t &hw, const uint32_t udid0_, const uint32_t udid1_, const uint32_t udid2_)
static std::string toString(const uint32_t &udid0, const uint32_t &udid1, const uint32_t &udid2)