Renamed mjs_fullInertia to mjuu_fullInertia and moved it to user_util.

PiperOrigin-RevId: 644769379
Change-Id: I83511eeb4c0972ce9f46f0e3443d438cccdd4d9f
This commit is contained in:
Alessio Quaglino
2024-06-19 09:38:02 -07:00
committed by Copybara-Service
parent 1eb708646d
commit 7bd7065e0e
12 changed files with 40 additions and 96 deletions
-31
View File
@@ -10216,37 +10216,6 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
doc='Resolve alternative orientations to quat, return error if any.',
)),
('mjs_fullInertia',
FunctionDecl(
name='mjs_fullInertia',
return_type=PointerType(
inner_type=ValueType(name='char', is_const=True),
),
parameters=(
FunctionParameterDecl(
name='quat',
type=ArrayType(
inner_type=ValueType(name='double'),
extents=(4,),
),
),
FunctionParameterDecl(
name='inertia',
type=ArrayType(
inner_type=ValueType(name='double'),
extents=(3,),
),
),
FunctionParameterDecl(
name='fullinertia',
type=ArrayType(
inner_type=ValueType(name='double', is_const=True),
extents=(6,),
),
),
),
doc='Compute quat and diag inertia from full inertia matrix, return error if any.', # pylint: disable=line-too-long
)),
('mjs_defaultSpec',
FunctionDecl(
name='mjs_defaultSpec',