Skip to content

Commit e19882c

Browse files
committed
removed empty frame in pose that was causing incorrect frame of reference
1 parent 562cabe commit e19882c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exporter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def finish(self):
522522
# @param vector the vector pointing to the origin of the joint.
523523
# @return the SDF pose node
524524
def sdfPoseVector(self, vector):
525-
pose = ET.Element("pose", frame="")
525+
pose = ET.Element("pose") #, frame="")
526526
# convert from cm (Fusion 360) to m (SI)
527527
x = 0.01 * vector.x
528528
y = 0.01 * vector.y
@@ -539,7 +539,7 @@ def sdfPoseVector(self, vector):
539539
# @param matrix the transformation matrix of the link
540540
# @return the SDF pose node
541541
def sdfPoseMatrix(self, matrix):
542-
pose = ET.Element("pose", frame="")
542+
pose = ET.Element("pose") #, frame="")
543543
# convert from cm (Fusion 360) to m (SI)
544544
trans = matrix.translation
545545
x = 0.01 * trans.x

0 commit comments

Comments
 (0)