Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/ur_client_library/ur/ur_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class UrDriver
init(config);
}

virtual ~UrDriver() = default;
~UrDriver();

/*!
* \brief Access function to receive the latest data package sent from the robot through RTDE
Expand Down
6 changes: 6 additions & 0 deletions src/ur/ur_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ static const std::string SCRIPT_COMMAND_PORT_REPLACE("{{SCRIPT_COMMAND_SERVER_PO
static const std::string FORCE_MODE_SET_DAMPING_REPLACE("{{FORCE_MODE_SET_DAMPING_REPLACE}}");
static const std::string FORCE_MODE_SET_GAIN_SCALING_REPLACE("{{FORCE_MODE_SET_GAIN_SCALING_REPLACE}}");

UrDriver::~UrDriver()
{
// This will return false if the external control script is not running.
stopControl();
}

void UrDriver::init(const UrDriverConfiguration& config)
{
robot_ip_ = config.robot_ip;
Expand Down
Loading