1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 01:50:46 +02:00

Kill servo_thread in urscript. Fixes #15

This commit is contained in:
Thomas Timm Andersen
2015-11-16 10:28:45 +01:00
parent 26e46c66bb
commit 67776ea049

View File

@@ -213,6 +213,7 @@ bool UrDriver::uploadProg() {
cmd_str += "\tend\n";
cmd_str += "\tsleep(.1)\n";
cmd_str += "\tsocket_close()\n";
cmd_str += "\tkill thread_servo\n";
cmd_str += "end\n";
rt_interface_->addCommandToQueue(cmd_str);