Skip to content

Commit 69823df

Browse files
committed
Use socket connection restrictions also for secondary stream
With the current implementation this will be connected before the RTDE connection.
1 parent b22c4ed commit 69823df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ur/ur_driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void UrDriver::init(const UrDriverConfiguration& config)
7272
new comm::URStream<primary_interface::PrimaryPackage>(robot_ip_, urcl::primary_interface::UR_PRIMARY_PORT));
7373
secondary_stream_.reset(
7474
new comm::URStream<primary_interface::PrimaryPackage>(robot_ip_, urcl::primary_interface::UR_SECONDARY_PORT));
75-
secondary_stream_->connect();
75+
secondary_stream_->connect(socket_connection_attempts_, socket_reconnection_timeout_);
7676

7777
primary_client_.reset(new urcl::primary_interface::PrimaryClient(robot_ip_, notifier_));
7878

0 commit comments

Comments
 (0)