We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e091563 commit 4aad523Copy full SHA for 4aad523
ur_robot_driver/include/ur_robot_driver/hardware_interface.h
@@ -138,7 +138,6 @@ class URPositionHardwareInterface : public hardware_interface::SystemInterface
138
139
bool robot_program_running_;
140
bool non_blocking_read_;
141
-
142
bool position_interface_in_use_;
143
144
std::unique_ptr<urcl::UrDriver> ur_driver_;
ur_robot_driver/src/hardware_interface.cpp
@@ -393,7 +393,8 @@ return_type URPositionHardwareInterface::write()
393
if (pos_diff_sum != 0.0)
394
position_interface_in_use_ = true;
395
}
396
- else if (position_interface_in_use_)
+
397
+ if (position_interface_in_use_)
398
{
399
ur_driver_->writeJointCommand(urcl_position_commands_, urcl::comm::ControlMode::MODE_SERVOJ);
400
0 commit comments