Introduce mjtBool for boolean types.

PiperOrigin-RevId: 920201340
Change-Id: I3b19c11a00357e06a1df08b8819832955c37f9ff
This commit is contained in:
Yuval Tassa
2026-05-23 09:13:21 -07:00
committed by Copybara-Service
parent 466d068089
commit 7667e7110e
7 changed files with 34 additions and 12 deletions
@@ -22,7 +22,7 @@ from introspect import ast_nodes
from introspect import structs
SCALAR_TYPES = {'int', 'double', 'float', 'mjtByte', 'mjtNum'}
SCALAR_TYPES = {'int', 'double', 'float', 'mjtByte', 'mjtBool', 'mjtNum'}
# pylint: disable=bad-whitespace
# key, parent, default, listname, objtype