Introduce new logging API, fixes #858
PiperOrigin-RevId: 930744288 Change-Id: I6ec1203b55c031390f3eef23192e2337508ce886
This commit is contained in:
committed by
Copybara-Service
parent
a2abaf7aef
commit
58f6d52491
@@ -172,6 +172,7 @@ class Simulate {
|
||||
bool ui_update_joint;
|
||||
bool ui_update_ctrl;
|
||||
bool ui_update_equality;
|
||||
bool ui_update_logging;
|
||||
bool ui_remake_ctrl;
|
||||
} pending_ = {};
|
||||
|
||||
@@ -257,6 +258,12 @@ class Simulate {
|
||||
int enable[mjNENABLE] = {0};
|
||||
int enableactuator[mjNGROUP] = {0};
|
||||
|
||||
// logging: need sync
|
||||
mjtByte log_console = 0;
|
||||
mjtByte log_file = 0;
|
||||
mjtByte log_topics[mjNTOPIC] = {0};
|
||||
mjTimerStat timer_prev_[mjNTIMER] = {};
|
||||
|
||||
// rendering: need sync
|
||||
int camera = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user