Commit aa6005bb authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add command to get the time step

parent 629e63a2
Pipeline #1514 failed with stage
in 1 second
...@@ -101,6 +101,11 @@ SoTTalosDevice::SoTTalosDevice(std::string RobotName): ...@@ -101,6 +101,11 @@ SoTTalosDevice::SoTTalosDevice(std::string RobotName):
addCommand("increment", addCommand("increment",
makeCommandVoid1((Device&)*this, makeCommandVoid1((Device&)*this,
&Device::increment, docstring)); &Device::increment, docstring));
addCommand("getTimeStep",
makeDirectGetter (*this, &this->timestep_,
docDirectGetter ("Time step", "double")));
sotDEBUGOUT(25); sotDEBUGOUT(25);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment