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:
@@ -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))
|
while(remainder > 0 && TCPSocket::read(buf_pos, remainder, read))
|
||||||
{
|
{
|
||||||
|
TCPSocket::setOptions(getSocketFD());
|
||||||
if (initial)
|
if (initial)
|
||||||
{
|
{
|
||||||
remainder = be32toh(*(reinterpret_cast<int32_t*>(buf)));
|
remainder = be32toh(*(reinterpret_cast<int32_t*>(buf)));
|
||||||
|
|||||||
Reference in New Issue
Block a user