Function robotiq_driver::data_utils::to_hex(const std::vector<uint16_t>&)

Function Documentation

std::string robotiq_driver::data_utils::to_hex(const std::vector<uint16_t> &bytes)

Convert a sequence of uint16_t into a sequence of hex numbers.

Parameters:

bytes – The sequence of bytes.

Returns:

A string containing the sequence of hex numbers.