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 c5aecf0 commit 622fd9dCopy full SHA for 622fd9d
src/ur/ur_driver.cpp
@@ -568,7 +568,8 @@ bool UrDriver::sendScript(const std::string& program)
568
{
569
if (primary_client_ == nullptr)
570
571
- return false;
+ throw std::runtime_error("Sending script to robot requested while there is no primary client initialized. "
572
+ "This should not happen.");
573
}
574
return primary_client_->sendScript(program);
575
0 commit comments