sttl.h 713 Bytes
Newer Older
Sören Schwertfeger's avatar
Sören Schwertfeger committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef STTL
#define STTL


#include <Eigen/Geometry> 

#include <string>
#include <list>

namespace sttl{

class Frame{
public:
	std::string name;
	Eigen::Transform<double,3,Eigen::Affine> transform;
	Eigen::Matrix<double, 7, 7> covariance; //< the 7x7 covariance matrix of translation and rotation as quaternion
	bool hasCovariance; //< only true ifthe covariance matrix has proper values

	Frame * referenceFrame;
	std::string referenceFrameName;  //< in case the reference Frame cannot be found

	Frame():hasCovariance(false), referenceFrame(0){}

	std::string byUser;
	std::string time;
	std::list<std::string> files;

};

bool saveList(const std::list<sttl::Frame> & frames);


void testSTTL();


}

#endif