forwardPredictor.h
Go to the documentation of this file.
1 
2 #pragma once
3 
5 
6 #include <vector>
7 
8 namespace armarx
9 {
10 
12  {
13  public:
14 
17 
18  std::vector<float> getOptFlowPred();
19  std::vector<float> getIMUPred();
20 
21  private:
22 
23  void calc();
24  void predict_IMU();
25  void predict_optFlow();
26 
27  MbsSensor sens_virt, sens_eye, sens_head_imu;
28 
29  // input
30 
31  // output
32 
33  // head IMU prediction
34  //std::vector<float> orientationQuaternion;
35  std::vector<float> gyroscopeRotation_pred; // head velocity in absolute frame (x,y,z) [rad/s]
36 
37  // optical flow prediction
38  std::vector<float> optFlow_pred; // [x, y] in [deg/s]
39 
40  };
41 
42 }
43 
armarx::ForwardPredictor::getOptFlowPred
std::vector< float > getOptFlowPred()
mbs_sensor2.h
armarx::ForwardPredictor::~ForwardPredictor
~ForwardPredictor()
armarx::ForwardPredictor::ForwardPredictor
ForwardPredictor()
armarx::ForwardPredictor::getIMUPred
std::vector< float > getIMUPred()
MbsSensor
Definition: mbs_sensor2.h:17
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::ForwardPredictor
Definition: forwardPredictor.h:11