Proper position and checksum validation for linear actuator C++ library