10 #define STC_COMMAND_HH 12 #include <dynamic-graph/command-getter.h> 13 #include <dynamic-graph/command-setter.h> 14 #include <dynamic-graph/command.h> 16 #include <boost/assign/list_of.hpp> 23 using ::dynamicgraph::command::Command;
24 using ::dynamicgraph::command::Value;
25 using ::dynamicgraph::sot::torque_control::JointTrajectoryGenerator;
37 const std::string& docstring)
38 : Command(entity,
std::vector<Value::Type>(), docstring) {}
40 JointTrajectoryGenerator& jtg =
41 static_cast<JointTrajectoryGenerator&
>(owner());
42 bool output = jtg.isTrajectoryEnded();
51 #endif // STC_COMMAND_HH IsTrajectoryEnded(JointTrajectoryGenerator &entity, const std::string &docstring)
virtual Value doExecute()
virtual ~IsTrajectoryEnded()