Skip to content

Commit be63761

Browse files
committed
Increase buffer size when setting up RTDE fields
1 parent c29fdfa commit be63761

File tree

2 files changed

+404
-534
lines changed

2 files changed

+404
-534
lines changed

src/rtde/rtde_client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void RTDEClient::setupOutputs(const uint16_t protocol_version)
287287
unsigned int num_retries = 0;
288288
size_t size;
289289
size_t written;
290-
uint8_t buffer[8192];
290+
uint8_t buffer[65536];
291291
URCL_LOG_INFO("Setting up RTDE communication with frequency %f", target_frequency_);
292292

293293
while (num_retries < MAX_REQUEST_RETRIES)
@@ -717,4 +717,4 @@ std::vector<std::string> RTDEClient::splitVariableTypes(const std::string& varia
717717
return result;
718718
}
719719
} // namespace rtde_interface
720-
} // namespace urcl
720+
} // namespace urcl

0 commit comments

Comments
 (0)