mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
Set speed on all joints to 0 before closing RT socket. Set short timeout on non-RT socket
This commit is contained in:
@@ -99,6 +99,8 @@ void UrRealtimeCommunication::run() {
|
||||
command_string_lock_.unlock();
|
||||
|
||||
}
|
||||
setSpeed(0., 0., 0., 0., 0., 0.);
|
||||
write(sockfd_, command_.c_str(), command_.length());
|
||||
close(sockfd_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user