7 #ifndef DYNAMIC_GRAPH_TUTORIAL_COMMAND_INCREMENT_HH 8 #define DYNAMIC_GRAPH_TUTORIAL_COMMAND_INCREMENT_HH 10 #include <boost/assign/list_of.hpp> 15 using ::dynamicgraph::command::Command;
16 using ::dynamicgraph::command::Value;
24 : Command(entity,
boost::assign::list_of(Value::DOUBLE), docstring) {}
28 std::vector<Value> values = getParameterValues();
29 double timeStep = values[0].value();
37 #endif // DYNAMIC_GRAPH_TUTORIAL_COMMAND_INCREMENT_HH
void incr(double inTimeStep)
Integrate equation of motion over time step given as input.
Increment(InvertedPendulum &entity, const std::string &docstring)
virtual Value doExecute()
Inverted Pendulum on a cart.