Generate MjVisual, MjModel, MjData and MjSpec structs declaration
PiperOrigin-RevId: 834264723 Change-Id: Id33d7568a1f9f0cfb1271cf9dd2d8713c00eee34
This commit is contained in:
committed by
Copybara-Service
parent
07d8bd5b80
commit
10fe5ff07f
@@ -235,11 +235,7 @@ SKIPPED_STRUCTS: List[str] = [
|
||||
# or some of their fields need to be handled manually for now;
|
||||
# making their wrapper constructors/destructors non-trivial.
|
||||
MANUAL_STRUCTS: List[str] = [
|
||||
"MjData",
|
||||
"MjModel",
|
||||
"MjvScene",
|
||||
"MjSpec",
|
||||
"MjVisual",
|
||||
]
|
||||
|
||||
# Dictionary that maps anonymous structs to their parent struct and field name.
|
||||
@@ -364,9 +360,7 @@ SKIPPED_FIELDS: Dict[str, List[str]] = {}
|
||||
# Fields handled manually in template file struct declaration.
|
||||
MANUAL_FIELDS: Dict[str, List[str]] = {
|
||||
# go/keep-sorted start
|
||||
"MjData": ["solver", "timer", "warning", "contact"],
|
||||
"MjModel": ["opt", "vis", "stat"],
|
||||
"MjSpec": ["option", "visual", "stat", "element", "compiler"],
|
||||
"MjData": ["contact"],
|
||||
"MjvScene": [
|
||||
# go/keep-sorted start
|
||||
"camera",
|
||||
|
||||
Reference in New Issue
Block a user