Closed gavanderhoorn closed 5 years ago
If/when #5 and #6 (or an alternative) are merged, I'll rebase this PR.
I believe it would be good to merge this change before the next sync, as @k-okada mentioned in #6, as having proper and usable models available from the start is important.
Note: I've used joint limits (in degrees) from datasheets of the supported robot variants found on-line. I believe they are correct, but they should be checked.
Just remembered: if 78c9ee5 gets merged, the MoveIt configuration packages will need to be recreated / updated, as the name of the robot changes, and MoveIt uses that for namespacing parameters and other resources.
That should not take too much time, but I omitted it from this PR.
Incorrect joint limit fixed @matsui-hiro.
And rebased on master
to include the Travis setup.
Thanks @gavanderhoorn I'll merge.
As per subject.
This PR mostly improves ease-of-use when trying to integrate KHI robot macros into workcells. It does this in two ways:
khi_
: this avoids name clashes with other macrosprefix
argument to the macros: this allows xacro to automatically updatejoint
andlink
names whenever a KHI macro is called. This can be used when adding two instances of the same robot model to a scene (giving each a different prefix, such asleft_
andright_
) or when adding a KHI robot model to a larger scene, where names likebase_link
andjoint3
are already used by other modelsThe other commits in this PR introduce use of some convenience functions that
xacro
offers (radians(..)
and use of standard constantpi
).