Add Signed Distance Field to collision geometries.
PiperOrigin-RevId: 557507088 Change-Id: I358a642407aee1ba8dfc9d405eb9a4f609435fe9
This commit is contained in:
committed by
Copybara-Service
parent
6245edae28
commit
fdb041580c
+18
-1
@@ -263,6 +263,16 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
type=ValueType(name='int'),
|
||||
doc='bit flags for enabling optional features',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='sdf_initpoints',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of starting points for gradient descent',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='sdf_iterations',
|
||||
type=ValueType(name='int'),
|
||||
doc='max number of iterations for gradient descent',
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjVisual',
|
||||
@@ -1627,6 +1637,13 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
),
|
||||
doc='geom contact priority (ngeom x 1)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='geom_plugin',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='int'),
|
||||
),
|
||||
doc='plugin instance id; -1: not in use (ngeom x 1)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='geom_sameframe',
|
||||
type=PointerType(
|
||||
@@ -4874,7 +4891,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
name='flags',
|
||||
type=ArrayType(
|
||||
inner_type=ValueType(name='mjtByte'),
|
||||
extents=(26,),
|
||||
extents=(27,),
|
||||
),
|
||||
doc='visualization flags (indexed by mjtVisFlag)',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user