1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 01:50:46 +02:00

Removed hardcoded velocity limit in vel_based ros_control

This commit is contained in:
Thomas Timm Andersen
2015-10-30 12:48:30 +01:00
parent 3f0b03a768
commit 14e9a25dd8

View File

@@ -163,10 +163,6 @@ void UrHardwareInterface::write() {
< prev_joint_velocity_command_[i] - max_vel_change_) {
cmd[i] = prev_joint_velocity_command_[i] - max_vel_change_;
}
if (cmd[i] > M_PI/2.)
cmd[i] = M_PI/2.;
else if (cmd[i] < -M_PI/2.)
cmd[i] = -M_PI/2.;
prev_joint_velocity_command_[i] = cmd[i];
}
robot_->setSpeed(cmd[0], cmd[1], cmd[2], cmd[3], cmd[4], cmd[5], max_vel_change_*125);