Add ctrl to attached keyframes.
PiperOrigin-RevId: 662878508 Change-Id: Ie273fae0220c8b257766cbbd90a880d44b901725
This commit is contained in:
committed by
Copybara-Service
parent
afd7c73f44
commit
7be4df7e03
@@ -1397,6 +1397,7 @@ class mjCActuator_ : public mjCBase {
|
||||
int actadr_; // address of dof in data->act
|
||||
int actdim_; // number of dofs in data->act
|
||||
std::map<std::string, std::vector<mjtNum>> act_; // act at the previous step
|
||||
std::map<std::string, mjtNum> ctrl_; // ctrl at the previous step
|
||||
|
||||
// variable-size data
|
||||
std::string plugin_name;
|
||||
@@ -1436,6 +1437,7 @@ class mjCActuator : public mjCActuator_, private mjsActuator {
|
||||
bool is_actlimited() const;
|
||||
|
||||
std::vector<mjtNum>& act();
|
||||
mjtNum& ctrl();
|
||||
|
||||
private:
|
||||
void Compile(void); // compiler
|
||||
|
||||
Reference in New Issue
Block a user