joint-trajectory-command.hh
Go to the documentation of this file.
1 //
2 // Copyright 2013,
3 // Olivier Stasse
4 //
5 // CNRS
6 //
7 
8 #ifndef JOINT_TRAJECTORY_COMMAND_H_
9 #define JOINT_TRAJECTORY_COMMAND_H_
10 
13 #include <dynamic-graph/command.h>
14 
15 #include <boost/assign/list_of.hpp>
17 
18 namespace dynamicgraph {
19 namespace sot {
20 namespace command {
21 namespace classSot {
22 using ::dynamicgraph::command::Command;
23 using ::dynamicgraph::command::Value;
24 
25 class SetInitTrajectory : public Command {
26  public:
27  virtual ~SetInitTrajectory() {}
28 
31  const std::string &docstring)
32  : Command(entity, boost::assign::list_of(Value::STRING), docstring) {}
33 
34  virtual Value doExecute() {
35  // return void
36  return Value();
37  }
38 };
39 } // namespace classSot
40 } // namespace command
41 } // namespace sot
42 } // namespace dynamicgraph
43 #endif /* JOINT_TRAJECTORY_COMMAND_H_ */
This object handles trajectory of quantities and publish them as signals.
SetInitTrajectory(SotJointTrajectoryEntity &entity, const std::string &docstring)
Set the initial trajectory.


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26