Function robotiq_driver::crc_utils::compute_crc
Defined in File crc_utils.hpp
Function Documentation
-
uint16_t robotiq_driver::crc_utils::compute_crc(const std::vector<uint8_t> &data)
Compute the CRC for the CRC-16 MODBUS protocol.
- Parameters:
data – The data to compute the CRC for.
- Returns:
A 16-bits CRC.