ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

unknown_publisher: Ignoring transform for child_frame_id "link1"

asked 2018-11-19 01:05:11 -0500

jungduri gravatar image

updated 2019-10-25 13:51:57 -0500

jayess gravatar image

Hello. Currently I want to simulate random robot, which not provide ROS related files at all, to ROS environment.

Most of manufacturer provide 3D cad file(.step).

And I do some search to make urdf file from cad file, finally I figure it out THERE IS a add-in function in solidworks(wiki.ros.org/sw_urdf_expor....

However, unfortunately, it shows error message as below.

[ERROR] [1542609991.430536188]: Ignoring transform for child_frame_id "link1" from authority "unknown_publisher" because of a nan value in the transform (-nan -nan -nan) (-nan -nan -nan -nan)

[ERROR] [1542609991.430645045]: Ignoring transform for child_frame_id "link1" from authority "unknown_publisher" because of an invalid quaternion in the transform (-nan -nan -nan -nan)

[ERROR] [1542609991.430670924]: Ignoring transform for child_frame_id "link2" from authority "unknown_publisher" because of a nan value in the transform (-nan -nan -nan) (-nan -nan -nan -nan)

[ERROR] [1542609991.430689004]: Ignoring transform for child_frame_id "link2" from authority "unknown_publisher" because of an invalid quaternion in the transform (-nan -nan -nan -nan)

https://github.com/Jungduri/HX300L.git Here is the code that I made.

OS: ubuntu 16.04 LTS(VMware) ROS: kinetic

Any comments will helpful. Thank you

edit retag flag offensive close merge delete

Comments

that is correct, you need to check the correct axis in the joint.

nabihandres gravatar image nabihandres  ( 2019-10-25 08:09:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-11-19 02:06:16 -0500

gvdhoorn gravatar image

First issue: some of the joints don't have their axis property set correctly (this one for instance). That would be something to check and fix.

edit flag offensive delete link more

Comments

@gvdhoorn, It works. It makes matrix all zero? So it didn't work?

jungduri gravatar image jungduri  ( 2018-11-19 03:43:35 -0500 )edit

Sometimes the SolidWorks2URDF plugin has difficulty detecting the correct mates/axis. It's not a perfect plugin (but what software is).

gvdhoorn gravatar image gvdhoorn  ( 2018-11-19 04:03:03 -0500 )edit

I'm getting a similar error and it would be worth mentioning what you mean by axis property being correctly set? How should it be set? For instance here is my code. What's going wrong here https://github.com/rsankhye97/gantry_urdf/tree/main/src/end_effector_slide_gantry

rsankhye97 gravatar image rsankhye97  ( 2023-01-12 16:19:24 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-11-19 01:04:22 -0500

Seen: 4,129 times

Last updated: Oct 25 '19