Skip to content

Commit c5844e1

Browse files
committed
revert unnecessary change
1 parent ae18a4c commit c5844e1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/ur_client_library/ur/ur_driver.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -880,12 +880,9 @@ class UrDriver
880880
secondary_stream_->close();
881881
}
882882

883-
protected:
883+
private:
884884
void init(const UrDriverConfiguration& config);
885885

886-
std::unique_ptr<comm::URStream<primary_interface::PrimaryPackage>> primary_stream_;
887-
std::unique_ptr<comm::URStream<primary_interface::PrimaryPackage>> secondary_stream_;
888-
889886
/*!
890887
* \brief Reconnects the secondary stream used to send program to the robot.
891888
*
@@ -905,6 +902,8 @@ class UrDriver
905902
std::unique_ptr<control::TrajectoryPointInterface> trajectory_interface_;
906903
std::unique_ptr<control::ScriptCommandInterface> script_command_interface_;
907904
std::unique_ptr<control::ScriptSender> script_sender_;
905+
std::unique_ptr<comm::URStream<primary_interface::PrimaryPackage>> primary_stream_;
906+
std::unique_ptr<comm::URStream<primary_interface::PrimaryPackage>> secondary_stream_;
908907

909908
size_t socket_connection_attempts_ = 0;
910909
std::chrono::milliseconds socket_reconnection_timeout_ = std::chrono::milliseconds(10000);

0 commit comments

Comments
 (0)