Report which body has too-small mass/inertia in compilation error.
PiperOrigin-RevId: 776196017 Change-Id: Ib81efb170347a57cdc4b446c14cd7b8f5357958c
This commit is contained in:
committed by
Copybara-Service
parent
afc35451a0
commit
21bae3a388
@@ -425,9 +425,6 @@ class mjCModel : public mjCModel_, private mjSpec {
|
||||
// compute qpos0
|
||||
void ComputeReference();
|
||||
|
||||
// return true if all bodies have valid mass and inertia
|
||||
bool CheckBodiesMassInertia(std::vector<mjCBody*> bodies);
|
||||
|
||||
// return true if body has valid mass and inertia
|
||||
bool CheckBodyMassInertia(mjCBody* body);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user