summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker_types.h
blob: a367371e58e3026e89ca1d1a411318be42b53099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __TRACKER_TYPES_H__
#define __TRACKER_TYPES_H__

#include "ftnoir_tracker_base/ftnoir_tracker_types.h"

struct T6DOF {
public:
    double axes[6];

    T6DOF() {
        for (int i = 0; i < 6; i++)
            axes[i] = 0;
    }
};

T6DOF operator-(const T6DOF& A, const T6DOF& B); // get new pose with respect to reference pose B
T6DOF operator+(const T6DOF& A, const T6DOF& B); // get new pose with respect to reference pose B^-1

#endif //__TRACKER_TYPES_H__