diff --git a/ur_rtde_driver/src/rtde/rtde_client.cpp b/ur_rtde_driver/src/rtde/rtde_client.cpp index d0a3a71..d9e512b 100644 --- a/ur_rtde_driver/src/rtde/rtde_client.cpp +++ b/ur_rtde_driver/src/rtde/rtde_client.cpp @@ -67,7 +67,7 @@ bool RTDEClient::init() tmp_version = dynamic_cast(package.get()); if (!tmp_version->accepted_) { - throw UrException("Neither protocol version 1 nor 2 were accepted by the robot. This should not happen!"); + throw UrException("Neither protocol version 1 nor 2 was accepted by the robot. This should not happen!"); } } @@ -110,7 +110,7 @@ bool RTDEClient::start() std::unique_ptr> package; stream_.write(buffer, size, written); if (!pipeline_.getLatestProduct(package, std::chrono::milliseconds(1000))) - throw UrException("Could not get respone to rtde communication start request from robot. This should not happen!"); + throw UrException("Could not get response to RTDE communication start request from robot. This should not happen!"); rtde_interface::ControlPackageStart* tmp = dynamic_cast(package.get()); return tmp->accepted_; }