We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3ef73 commit 3e1ecf8Copy full SHA for 3e1ecf8
ur_robot_driver/src/urscript_interface.cpp
@@ -70,6 +70,12 @@ class URScriptInterface : public rclcpp::Node
70
m_secondary_stream = std::make_unique<urcl::comm::URStream<urcl::primary_interface::PrimaryPackage>>(
71
this->get_parameter("robot_ip").as_string(), urcl::primary_interface::UR_SECONDARY_PORT);
72
m_secondary_stream->connect();
73
+
74
+ auto program_with_newline = std::string("textmsg(\"urscript_interface connected\")\n");
75
+ size_t len = program_with_newline.size();
76
+ const auto* data = reinterpret_cast<const uint8_t*>(program_with_newline.c_str());
77
+ size_t written;
78
+ m_secondary_stream->write(data, len, written);
79
}
80
~URScriptInterface() override = default;
81
0 commit comments