Skip to content

Commit 04fb589

Browse files
Added a test to retrieve all RTDE outputs and added latest URSim to CI matrix
1 parent bb45713 commit 04fb589

File tree

3 files changed

+413
-1
lines changed

3 files changed

+413
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
ROBOT_MODEL: 'ur5e'
2222
URSIM_VERSION: '5.9.4'
2323
PROGRAM_FOLDER: 'tests/resources/dockerursim/programs/e-series'
24+
- DOCKER_RUN_OPTS: --network ursim_net
25+
BEFORE_INIT: 'apt-get update -qq && apt-get install -y iproute2 iputils-ping && ip addr && ping -c5 192.168.56.101'
26+
CTEST_OUTPUT_ON_FAILURE: 1
27+
ROBOT_MODEL: 'ur20'
28+
URSIM_VERSION: 'latest'
29+
PROGRAM_FOLDER: 'tests/resources/dockerursim/programs/e-series'
2430

2531
steps:
2632
- uses: actions/checkout@v1

src/rtde/rtde_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ void RTDEClient::setupOutputs(const uint16_t protocol_version)
254254
unsigned int num_retries = 0;
255255
size_t size;
256256
size_t written;
257-
uint8_t buffer[4096];
257+
uint8_t buffer[8192];
258258
URCL_LOG_INFO("Setting up RTDE communication with frequency %f", target_frequency_);
259259
if (protocol_version == 2)
260260
{

0 commit comments

Comments
 (0)