ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can probably just use Frame::data
directly rather that converting to a printable text string representation, it's an array of 8-bit bytes. Find documentation for boost::array
to find out how to get the data out. (e.g. I think boost::array::data()
is just a pointer to the internal storage which is a C array, which can be statically recast to other data types such as uint64_t if you are sure it has at least 8 bytes.) Or you can iterate over the data array and assemble your 64-bit number.