mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
Made sure to stop any executing trajectory when the driver is halted
This commit is contained in:
@@ -291,6 +291,9 @@ bool UrDriver::start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UrDriver::halt() {
|
void UrDriver::halt() {
|
||||||
|
if (executing_traj_) {
|
||||||
|
UrDriver::stopTraj();
|
||||||
|
}
|
||||||
sec_interface_->halt();
|
sec_interface_->halt();
|
||||||
rt_interface_->halt();
|
rt_interface_->halt();
|
||||||
close(incoming_sockfd_);
|
close(incoming_sockfd_);
|
||||||
|
|||||||
Reference in New Issue
Block a user