Add sleep related data structures
PiperOrigin-RevId: 829055431 Change-Id: I1ccbd77a57044a754ae7db611b4c2c0010fbda53
This commit is contained in:
committed by
Copybara-Service
parent
3080e3424f
commit
252a0d73df
@@ -62,6 +62,9 @@ void mj_defaultOption(mjOption* opt) {
|
||||
opt->noslip_tolerance = 1e-6;
|
||||
opt->ccd_tolerance = 1e-6;
|
||||
|
||||
// sleep settings
|
||||
opt->sleep_tolerance = 1e-4;
|
||||
|
||||
// physical constants
|
||||
opt->gravity[0] = 0;
|
||||
opt->gravity[1] = 0;
|
||||
|
||||
Reference in New Issue
Block a user