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