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

create at least one example that sources a resource (e.g. urdf file) from drake #11

Closed
RussTedrake opened this issue Jul 24, 2017 · 6 comments

Comments

@RussTedrake
Copy link
Contributor

now that we've seen issues with finding resources (with FindResource) from external repos, I think it's important that we capture that in our example here. @siyuanfeng-tri was the one who battled through it most recently.

@stonier
Copy link
Contributor

stonier commented Jul 26, 2017

+1

@stonier
Copy link
Contributor

stonier commented Jul 26, 2017

@siyuanfeng-tri would the double pendulum demo be an appropriate candidate to make an example of here?

@siyuanfeng-tri
Copy link

@stonier yeah sure. Any model would fine. Last time I tried this, I was having trouble loading a abs path urdf into an RBT. FindResource complains that the file is not within drake basically.

@jwnimmer-tri
Copy link
Contributor

Yes, never pass an absolute path to FindResource -- on the tin, it says to use relative paths.

@jwnimmer-tri
Copy link
Contributor

(If you have an absolute path, then you can just call AddModelInstanceFromUrdfFile (or similar) directly.)

@stonier
Copy link
Contributor

stonier commented Nov 7, 2017

Resolved by #52

@stonier stonier closed this as completed Nov 7, 2017
@stonier stonier assigned stonier and unassigned jamiesnape Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants