Migrate mjtByte to mjtBool for boolean-valued fields.
PiperOrigin-RevId: 921408093 Change-Id: Icb00457836359779f0f72fc02d6a7c0dc9f6bd23
This commit is contained in:
committed by
Copybara-Service
parent
3cabb2eb8e
commit
393c1e4217
@@ -2002,7 +2002,7 @@ TEST_F(LimitedTest, JointLimited) {
|
||||
|
||||
// see `user/testdata/auto_limits.xml` for expected values
|
||||
for (int i = 0; i < model->njnt; i++) {
|
||||
EXPECT_EQ(model->jnt_limited[i], (mjtByte)model->jnt_user[i])
|
||||
EXPECT_EQ(model->jnt_limited[i], (mjtBool)model->jnt_user[i])
|
||||
<< i << " " << (int)model->jnt_limited[i] << " "
|
||||
<< (int)model->jnt_user[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user