Skip to content

Commit e77410c

Browse files
committed
Change status to set_state in start_interfaces
1 parent 2cf021f commit e77410c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ur_robot_driver/src/hardware_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ hardware_interface::return_type URPositionHardwareInterface::prepare_command_mod
11821182
[&](const std::string& item) { return item == FREEDRIVE_MODE_GPIO; }),
11831183
control_modes[i].end());
11841184
}
1185-
if (key == tf_prefix + TOOL_CONTACT_GPIO + "/tool_contact_status") {
1185+
if (key == tf_prefix + TOOL_CONTACT_GPIO + "/tool_contact_set_state") {
11861186
stop_modes_[i].push_back(StoppingInterface::STOP_TOOL_CONTACT);
11871187
control_modes[i].erase(std::remove_if(control_modes[i].begin(), control_modes[i].end(),
11881188
[&](const std::string& item) { return item == TOOL_CONTACT_GPIO; }),

0 commit comments

Comments
 (0)