Skip to content

Commit 12db5fb

Browse files
committed
matching test to loader
1 parent a807a17 commit 12db5fb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/test/java/mujoco/java/XMLtest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ public void marshal() throws JAXBException, IOException, InterruptedException {
145145
;
146146
topbody.addCamera();
147147
topbody.addFreejoint().withName("root");
148-
topbody.addInertial()
149-
.withMass(BigDecimal.valueOf(0.01))
150-
.withPos(".1 .1 .1")
151-
;
148+
// topbody.addInertial()
149+
// .withMass(BigDecimal.valueOf(0.01))
150+
// .withPos(".1 .1 .1")
151+
// ;
152152
//topbody.addBody();
153153
// In the future if this test breaks after generating code, see the solution in
154154
// https://github.com/CommonWealthRobotics/mujoco-java/pull/6/commits/e8d65eeec490bb935111a99f5d049991735864c0
@@ -157,10 +157,10 @@ public void marshal() throws JAXBException, IOException, InterruptedException {
157157
.withName("head")
158158
.withPos("0 0 2.2")
159159
;
160-
head.addInertial()
161-
.withMass(BigDecimal.valueOf(0.01))
162-
.withPos(".1 .1 .1")
163-
;
160+
// head.addInertial()
161+
// .withMass(BigDecimal.valueOf(0.01))
162+
// .withPos(".1 .1 .1")
163+
// ;
164164
head.addJoint()
165165
.withName("neck")
166166
.withAxis("2 1 1")

0 commit comments

Comments
 (0)