1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 10:00:48 +02:00

Fixed a bug related to malformed RT messages in 3.0.

updated readme
This commit is contained in:
Thomas Timm Andersen
2015-09-16 16:16:11 +02:00
parent 834136a997
commit a48642f1aa

View File

@@ -304,7 +304,7 @@ void RobotStateRT::unpack(uint8_t * buf) {
offset += sizeof(len);
len = ntohl(len);
if (len > 1500) {
if (version_ < 3.1 & len > 1044) {
//In 3.0, every 3rd? package is malformed...?
val_lock_.unlock();
return;