Closed shrutic12 closed 5 months ago
Thanks @shrutic12 for pointing this out.
I think there might be three things happening that cause your observation:
cartesian_controller
s IK solver uses the joint positions that it gets from the robot. However, it also runs an internal control loop to consider external inputs, such as measured force-torque values from the sensor. Depending on sensor noise, there might be small numeric differences in the sub millimeter range. The cartesian_motion_controller
should be closest to what the ROS2 driver says, because it does not consider forces.current_pose
depends on each controller's configuration of the end_effector_link. I assume that the controller from your second image has a different link specified. That's why its orientation is different than the other two.Please reopen if still unclear
Hi! I am using the cartesian controllers with ros2 humble and ur10e robot. I was going to remap the
cartesian_motion_controller/current_pose
,cartesian_compliance_controller/current_pose
andcartesian_force_controller/current_pose
topics to the same topic/current_pose
to make subscription easier. But I noticed on doing an echo on the three topics that the current pose is different for the three topics for the same robot position without moving it at all.The The real values from the teach pendant are : x: -375.27 (mm) y: 168.96 z: 397.74 RX : 2.224 (rad) RY : 2.219 (rad) RZ : 0.0 (rad)
Any ideas why this could be happening?