Replies: 6 comments
-
Can you share your complete URDF file? If it was generated from the Xacro in https://github.com/ros-industrial/fanuc/tree/melodic-devel/fanuc_m710ic_support you should be able to share it (BSD-3-Clause license). |
Beta Was this translation helpful? Give feedback.
-
OK, we can look at the frames of this robot description using e.g. the following script: $ git clone https://github.com/robot-descriptions/robot_descriptions.py
$ cd robot_descriptions.py
$ python examples/display_urdf_frames.py fanuc_m710ic_description It seems (to be double checked) that the red dot you mentioned corresponds to the import pinocchio as pin
from robot_descriptions.loaders.pinocchio import load_robot_description
robot = load_robot_description("fanuc_m710ic_description")
pin.forwardKinematics(robot.model, robot.data, pin.neutral(robot.model))
transform_link_6_to_world = robot.data.oMi[6]
transform_link_1_to_world = robot.data.oMi[1]
transform_link_6_to_link_1 = transform_link_1_to_world.actInv(
transform_link_6_to_world
)
print(f"Translation in mm: {1000. * transform_link_6_to_link_1.translation}") Running this example yields:
(I ran Hoping this helps! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
OK, sounds good. Let's convert this topic to a discussion so we don't have to close it (issues are rather for things to fix and closed when done). |
Beta Was this translation helpful? Give feedback.
-
Right. With the small offset modification in urdf file, I managed to validate the urdf file conforms to fanuc sw positions for m710ic70 robot. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I would like being able to simulate a fanuc m710ic/70 robot (same mechanics as m710ic/50)
I first was starting from ROS urdf file, but I have problems with the robot origin.
robot origin in Fanuc sw is defined on the red point :
When I am loading the urdf file, and check home position, this origin (z axis translation)is not taken into account .
Here is the output of each joint:
it should be :
I have seen in the urdf file there is a joint named "base_link-base" for "Fanuc World Coordinates transform", but I don't really understand how it can be taken into account
the urdf I am using is is : ```
Beta Was this translation helpful? Give feedback.
All reactions