2 #include <gmCore/MathConstants.hh>
4 BEGIN_NAMESPACE_GMTRACK;
8 typedef gmCore::Updateable::clock clock;
10 std::vector<Eigen::Vector3f> tracker_positions;
11 std::vector<Eigen::Quaternionf> tracker_orientations;
13 std::vector<Eigen::Vector3f> sample_positions;
14 std::vector<Eigen::Quaternionf> sample_orientations;
16 clock::time_point last_sample_time = clock::time_point::min();
17 float samples_per_second = 1;
18 float warning_threshold = 0.01f;
19 float orientation_warning_threshold = GM_PI_4;
20 bool collecting =
false;
22 float inlier_threshold = -1.f;
23 float orientation_inlier_threshold = -1.f;
25 virtual void update(clock::time_point time);
27 std::shared_ptr<gramods::gmTrack::Controller> controller;
30 END_NAMESPACE_GMTRACK;
Definition: SampleCollector.impl.hh:6