mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-12 19:10:47 +02:00
Added a service to hand back control to the robot
This way, Ros can be a part of a larger program.
This commit is contained in:
@@ -153,6 +153,16 @@ bool UrDriver::writeKeepalive()
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UrDriver::stopControl()
|
||||
{
|
||||
if (reverse_interface_active_)
|
||||
{
|
||||
vector6d_t* fake = nullptr;
|
||||
return reverse_interface_->write(fake, 0);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void UrDriver::startWatchdog()
|
||||
{
|
||||
handle_program_state_(false);
|
||||
|
||||
Reference in New Issue
Block a user