Move flex vertex-edge adjacency to mjModel.
PiperOrigin-RevId: 861717037 Change-Id: I2ad8090b0318cb04b43d13966cb42260c82ef930
This commit is contained in:
committed by
Copybara-Service
parent
669e9b7484
commit
ba32568138
@@ -1318,6 +1318,9 @@ struct mjModel_ {
|
||||
int* flex_texcoordadr; // address in flex_texcoord; -1: none (nflex x 1)
|
||||
int* flex_nodebodyid; // node body ids (nflexnode x 1)
|
||||
int* flex_vertbodyid; // vertex body ids (nflexvert x 1)
|
||||
int* flex_vertedgeadr; // first edge address (nflexvert x 1)
|
||||
int* flex_vertedgenum; // number of edges (nflexvert x 1)
|
||||
int* flex_vertedge; // edge indices (nflexedge x 2)
|
||||
int* flex_edge; // edge vertex ids (2 per edge) (nflexedge x 2)
|
||||
int* flex_edgeflap; // adjacent vertex ids (dim=2 only) (nflexedge x 2)
|
||||
int* flex_elem; // element vertex ids (dim+1 per elem) (nflexelemdata x 1)
|
||||
@@ -1328,6 +1331,7 @@ struct mjModel_ {
|
||||
int* flex_evpair; // (element, vertex) collision pairs (nflexevpair x 2)
|
||||
mjtNum* flex_vert; // vertex positions in local body frames (nflexvert x 3)
|
||||
mjtNum* flex_vert0; // vertex positions in qpos0 on [0, 1]^d (nflexvert x 3)
|
||||
mjtNum* flex_vertmetric; // inverse of reference shape matrix (nflexvert x 4)
|
||||
mjtNum* flex_node; // node positions in local body frames (nflexnode x 3)
|
||||
mjtNum* flex_node0; // Cartesian node positions in qpos0 (nflexnode x 3)
|
||||
mjtNum* flexedge_length0; // edge lengths in qpos0 (nflexedge x 1)
|
||||
|
||||
Reference in New Issue
Block a user