Improvements to lighting and replication logic in humanoid.xml and 22_humanoids.xml.

Minor fix to memory usage printing in simulate.

PiperOrigin-RevId: 683787943
Change-Id: I0a42dacc8af0e659c3817df57bceb76d9e4d5ae3
This commit is contained in:
Yuval Tassa
2024-10-08 15:35:18 -07:00
committed by Copybara-Service
parent fa22e6d001
commit 395129bbd3
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -603,7 +603,7 @@ void UpdateInfoText(mj::Simulate* sim, const mjModel* m, const mjData* d,
// prepare info text
mju::strcpy_arr(title, "Time\nSize\nCPU\nSolver \nFPS\nMemory");
mju::sprintf_arr(content,
"%-9.3f\n%d (%d con)\n%.3f\n%.1f (%d it)\n%s\n%.1g%% of %s",
"%-9.3f\n%d (%d con)\n%.3f\n%.1f (%d it)\n%s\n%.1f%% of %s",
d->time,
d->nefc, d->ncon,
sim->run ?