TVM  0.9.4
OrientationFunction.h
Go to the documentation of this file.
1 
3 #pragma once
4 
6 #include <tvm/robot/Frame.h>
7 
8 namespace tvm
9 {
10 
11 namespace robot
12 {
13 
16 {
17 public:
18  SET_UPDATES(OrientationFunction, Value, Velocity, Jacobian, NormalAcceleration)
19 
20 
26 
28  void reset();
29 
31  inline const Eigen::Matrix3d & orientation() const { return ori_; }
32 
34  inline void orientation(const Eigen::Matrix3d & ori) { ori_ = ori; }
35 
36 protected:
37  void updateValue();
41 
43 
45  Eigen::Matrix3d ori_;
46 };
47 
48 } // namespace robot
49 
50 } // namespace tvm
#define SET_UPDATES(SelfT,...)
Definition: AbstractNode.h:138
#define TVM_DLLAPI
Definition: api.h:35
Definition: Function.h:45
Definition: OrientationFunction.h:16
void orientation(const Eigen::Matrix3d &ori)
Definition: OrientationFunction.h:34
Eigen::Matrix3d ori_
Definition: OrientationFunction.h:45
FramePtr frame_
Definition: OrientationFunction.h:42
Definition: AffineExprDetail.h:95
std::shared_ptr< Frame > FramePtr
Definition: Frame.h:99
Definition: Clock.h:12