[go: up one dir, main page]

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

called Result::unwrap() on an Err value: #232

Closed
wzjscut opened this issue Nov 28, 2023 · 2 comments
Closed

called Result::unwrap() on an Err value: #232

wzjscut opened this issue Nov 28, 2023 · 2 comments

Comments

@wzjscut
Copy link
wzjscut commented Nov 28, 2023

called Result::unwrap() on an Err value: UrdfError(Other("failed to execute neither rospack nor ros2 pkg; consider installing ROS or replacing 'package://' with path: No such file or directory (os error 2)"))

what happen?

i don't set any ros command in this urdf.
the urdf source file may be in https://github.com/raisimTech/raisimLib/blob/master/rsc/anymal_c/urdf/anymal_sensored.urdf

@taiki-e
Copy link
Contributor
taiki-e commented Nov 28, 2023

Your urdf has mesh paths starting with pachage://: https://github.com/raisimTech/raisimLib/blob/9f1be941f0eeaeda57fa305c477039ca812d8d6a/rsc/anymal_c/urdf/anymal_sensored.urdf#L12

To (automatically) resolve pachage://, ROS1 or ROS2 is needed as the error message says.

If ROS is not available, you can specify the path or URL corresponding to the package as mentioned in the readme.

https://github.com/openrr/urdf-viz?tab=readme-ov-file#how-to-use

If there are "package://" in mesh tag, but path or URL to package is known and
don't use xacro you can also skip install of ROS by replacing package with path
or URL
.

@taiki-e taiki-e closed this as completed Nov 28, 2023
@wzjscut
Copy link
Author
wzjscut commented Nov 28, 2023

i get it. thanks a lot!

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