Compress actuator_moment memory using nJmom <= nu x nv.
PiperOrigin-RevId: 698446692 Change-Id: I49c9633e12129a1e690724db82d1f11204e41d9c
This commit is contained in:
committed by
Copybara-Service
parent
aae5fd6906
commit
a1b18e707a
@@ -324,6 +324,7 @@ class mjCModel : public mjCModel_, private mjSpec {
|
||||
void CopyObjects(mjModel*); // copy objects outside kinematic tree
|
||||
void CopyTree(mjModel*); // copy objects inside kinematic tree
|
||||
void CopyPlugins(mjModel*); // copy plugin data
|
||||
int CountNJmom(const mjModel* m); // compute number of non-zeros in actuator_moment matrix
|
||||
|
||||
// objects created here
|
||||
std::vector<mjCFlex*> flexes_; // list of flexes
|
||||
|
||||
Reference in New Issue
Block a user