Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is bug calculating robot link positions in robot #26

Open
sprhawk opened this issue Feb 27, 2024 · 7 comments
Open

There is bug calculating robot link positions in robot #26

sprhawk opened this issue Feb 27, 2024 · 7 comments

Comments

@sprhawk
Copy link
Contributor

sprhawk commented Feb 27, 2024

I'm using this model or this one

image

Left one is result of import urdf or xacro, right one is create assembly from urdf or xacro

And I try to use Set Placement to move some additional models via assembly LCS, but it seems the calculation of Placement is based on parent's Origin, not considered on hierarchy of Links. ( links of transformation of Placements )

@galou
Copy link
Owner

galou commented Feb 28, 2024

Do you have a ROS2 port of the package so that I don't need to port it myself?

@sprhawk
Copy link
Contributor Author

sprhawk commented Feb 28, 2024

Do you have a ROS2 port of the package so that I don't need to port it myself?

edi_arm_description.zip

Take a try.

@galou
Copy link
Owner

galou commented Feb 28, 2024

The link to the file is broken.

@sprhawk
Copy link
Contributor Author

sprhawk commented Feb 28, 2024

The link to the file is broken.

updated again

@galou
Copy link
Owner

galou commented Feb 28, 2024

I can open robot.xacro by importing it as a Robot but the files go2_full.urdf and go2.urdf cannot be opened in CROSS because they cannot be parsed by the underlying library urdf_parser_py. The issue is the presence of <?xml version="1.0" encoding="utf-8"?>. Remove it to make urdf_parser_py happy.

I didn't find the file go2_description.urdf in your archive.

@sprhawk
Copy link
Contributor Author

sprhawk commented Feb 29, 2024

I can open robot.xacro by importing it as a Robot but the files go2_full.urdf and go2.urdf cannot be opened in CROSS because they cannot be parsed by the underlying library urdf_parser_py. The issue is the presence of <?xml version="1.0" encoding="utf-8"?>. Remove it to make urdf_parser_py happy.

I didn't find the file go2_description.urdf in your archive.

Dose it show in correct position ? like the image I posted in right ?

@galou
Copy link
Owner

galou commented Feb 29, 2024

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants