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

Is there a function to load a URDF to a DHRobot? Or alternatively a function to back out the DH parameters from an ERobot loaded from a URDF? #417

Open
jpenaloza1211 opened this issue Feb 14, 2024 · 0 comments

Comments

@jpenaloza1211
Copy link

jpenaloza1211 commented Feb 14, 2024

Describe the bug
I am working on loading custom robots using URDFs and would like to be able to create both versions from a single URDF for my work.

Version information
PyPI roboticstoolbox-python 1.1.0

To Reproduce
I've tried to load in a URDF as an ERobot and then convert to DHRobot by passing in the links but the DHRobot class expects DHLinks.

`
robot_path = os.path.join(os.getcwd(), 'models')

UR5 = UR5eCustom(robot_path)

UR5_dh = DHRobot(UR5.links)`

I've also tried to create my robot class based on the DHRobot class but the DHRobot class doesn't take in the URDF and convert it to DHLinks.

Expected behavior
Just looking for a function to be able to easily switch between a DHRobot and an ERobot or a way to create both types of robots from the same URDF.

Environment (please complete the following information):

  • Ubuntu 22.04
  • Python 3.10

Additional comment
I've seen the Peter Corke paper for switching between ets and dh, but want to ask if that functionality exists in this library before resorting to implementing it myself.

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

1 participant