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

Fixed jitter issues

This commit is contained in:
Simon Rasmussen
2017-07-07 20:08:15 +02:00
parent 210e0086bf
commit 40fc986e7b

View File

@@ -23,6 +23,7 @@ bool URStream::read(uint8_t* buf, size_t buf_len, size_t &total)
while(remainder > 0 && TCPSocket::read(buf_pos, remainder, read))
{
TCPSocket::setOptions(getSocketFD());
if (initial)
{
remainder = be32toh(*(reinterpret_cast<int32_t*>(buf)));