mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
Set reference frame for twist to base_frame_
This commit is contained in:
@@ -618,7 +618,7 @@ private:
|
||||
std::vector<double> tcp_speed =
|
||||
robot_.rt_interface_->robot_state_->getTcpSpeedActual();
|
||||
geometry_msgs::TwistStamped tool_twist;
|
||||
tool_twist.header.frame_id = tool_frame_;
|
||||
tool_twist.header.frame_id = base_frame_;
|
||||
tool_twist.header.stamp = joint_msg.header.stamp;
|
||||
tool_twist.twist.linear.x = tcp_speed[0];
|
||||
tool_twist.twist.linear.y = tcp_speed[1];
|
||||
|
||||
Reference in New Issue
Block a user