Add ReadAttrVec, ReadAttrArr, ReadAttrStr, and ReadAttrNum to XML utils.
Moving forward, the compiler objects should have encapsulated data, therefore the old ReadAttr* methods are being deprecated as they require raw pointers to read into. No external changes other than minor improvements to ReadAttr and ReadVector. PiperOrigin-RevId: 550880401 Change-Id: I632f40322ccd935f9af9b69e66b056c5cda6face
This commit is contained in:
committed by
Copybara-Service
parent
5b4b3415fa
commit
5f246ef210
@@ -317,7 +317,7 @@ TEST_F(XMLReaderTest, InvalidArrayLength) {
|
||||
<mujoco>
|
||||
<worldbody>
|
||||
<body>
|
||||
<geom size="1" axisangle="1 0 0 0 asd"/>
|
||||
<geom size="1" axisangle="1 0 0 0 1"/>
|
||||
</body>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
|
||||
Reference in New Issue
Block a user