Allow height-field elevation data to be specified in XML.
PiperOrigin-RevId: 602374498 Change-Id: I2d3364d68876a35799b24aca1051e2f5aebdda75
This commit is contained in:
committed by
Copybara-Service
parent
e6847f843d
commit
e143b3dbc0
@@ -694,7 +694,7 @@ using MjCHFieldTest = MujocoTest;
|
||||
|
||||
TEST_F(MjCHFieldTest, PngMap) {
|
||||
const std::string xml_path =
|
||||
GetTestDataFilePath("user/testdata/png_hfield.xml");
|
||||
GetTestDataFilePath("user/testdata/hfield_png.xml");
|
||||
std::array<char, 1024> error;
|
||||
mjModel* model =
|
||||
mj_loadXML(xml_path.c_str(), nullptr, error.data(), error.size());
|
||||
|
||||
Reference in New Issue
Block a user