Migrate mjtByte to mjtBool for boolean-valued fields.
PiperOrigin-RevId: 921408093 Change-Id: Icb00457836359779f0f72fc02d6a7c0dc9f6bd23
This commit is contained in:
committed by
Copybara-Service
parent
3cabb2eb8e
commit
393c1e4217
@@ -4088,7 +4088,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_static',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='bodyexclude',
|
||||
@@ -4152,7 +4152,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_static',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='bodyexclude',
|
||||
@@ -4359,19 +4359,19 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_vert',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_edge',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_face',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_skin',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flexid',
|
||||
@@ -8479,7 +8479,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_sym',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
),
|
||||
doc='Convert banded matrix to dense matrix, fill upper triangle if flg_sym>0.', # pylint: disable=line-too-long
|
||||
@@ -8557,7 +8557,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_sym',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
),
|
||||
doc='Multiply band-diagonal matrix with nvec vectors, include upper triangle if flg_sym>0.', # pylint: disable=line-too-long
|
||||
@@ -9404,7 +9404,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_centered',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='A',
|
||||
@@ -9460,7 +9460,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='flg_actuation',
|
||||
type=ValueType(name='mjtByte'),
|
||||
type=ValueType(name='mjtBool'),
|
||||
),
|
||||
FunctionParameterDecl(
|
||||
name='DfDq',
|
||||
@@ -11627,7 +11627,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
('mjs_setInStringVec',
|
||||
FunctionDecl(
|
||||
name='mjs_setInStringVec',
|
||||
return_type=ValueType(name='mjtByte'),
|
||||
return_type=ValueType(name='mjtBool'),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='dest',
|
||||
|
||||
Reference in New Issue
Block a user