TVM  0.9.4
PostureFunction.h
Go to the documentation of this file.
1 
3 #pragma once
4 
5 #include <tvm/Robot.h>
6 
8 
9 namespace tvm
10 {
11 
12 namespace robot
13 {
14 
17 {
18 public:
20 
21 
27 
29  void reset();
30 
38  void posture(const std::string & j, const std::vector<double> & q);
39 
41  void posture(const std::vector<std::vector<double>> & p);
42 
43 protected:
44  void updateValue();
45 
46  void updateVelocity();
47 
48  RobotPtr robot_;
49 
51  std::vector<std::vector<double>> posture_;
52 
54  int j0_;
55 };
56 
57 } // namespace robot
58 
59 } // namespace tvm
#define SET_UPDATES(SelfT,...)
Definition: AbstractNode.h:138
#define TVM_DLLAPI
Definition: api.h:35
Definition: Function.h:45
Definition: PostureFunction.h:17
Definition: probe.h:44
Definition: Clock.h:12
std::shared_ptr< Robot > RobotPtr
Definition: defs.h:62