Open BenRJG opened 2 years ago
May I ask why do you use moveit control? We can not duplicate your situation on TM side. Is it possible to use "FeedbackState: tool_pose" please? The below link is a demo get_status__demo_src => demo_get_feedback https://github.com/TechmanRobotInc/tmr_ros1/blob/master/demo/get_status_demo_src/demo_get_feedback.cpp
I'm trying to setup moveit control so that I can use tool_pose to get the positions of the robot, then use these values for setting the position of the robot through moveit. The tool_pose output (which it states the frame_id is "base"):
And the same position with what moveit outputs from move_group_interface.getCurrentPose() which is relative to the world
When using the tool_pose in moveit, it puts it in (what seems to be) a 45° offset from it's actual position.
My assumption from this is to use setPoseReferenceFrame("base"), however this still sends it to the same position, and when looking at RViz you can see that the apparent world and base frames are in the same position. The only other logical reference I could think of was "base_link", but this is rotated 90° in the wrong axis so I'm not sure what tool_pose is actually in relation to?
Any help on this would be much appreciated :)