We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50029ec commit 330f0e3Copy full SHA for 330f0e3
packages/roslib/src/urdf/UrdfJoint.ts
@@ -59,7 +59,7 @@ export default class UrdfJoint {
59
const axis = xml.getElementsByTagName(UrdfAttrs.Axis);
60
if (axis[0]) {
61
const xyzValue = axis[0].getAttribute(UrdfAttrs.Xyz)?.split(" ");
62
- if (!xyzValue?.length !== 3) {
+ if (xyzValue?.length !== 3) {
63
throw new Error(
64
"If specified, axis must have an xyz value composed of three numbers",
65
);
0 commit comments