Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Hard-coded joints for the UR5 #2

Open
AndyZe opened this issue May 1, 2018 · 0 comments
Open

Hard-coded joints for the UR5 #2

AndyZe opened this issue May 1, 2018 · 0 comments

Comments

@AndyZe
Copy link
Contributor

AndyZe commented May 1, 2018

This is a hack in teach_motions.py that will prevent the code from workign on other types of robot. It was necessary because Clearpath's simulation has an extra joint in the MoveGroup vs. Vaultbot:

This is a hack for the UR5 simulation

if len(self.joint_names[arm_index]) == 7:
self.joint_names[arm_index] = self.joint_names[arm_index][:-1]

(Trims off any joints beyond the first 6)

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

No branches or pull requests

1 participant