29 #include <Eigen/Geometry>
31 #include <opencv2/opencv.hpp>
37 #include <VisionX/interface/components/TrackingErrorInterface.h>
41 #include <Image/IplImageAdaptor.h>
57 defineOptionalProperty<float>(
"Framerate", 0.0,
"the framerate");
58 defineOptionalProperty<std::string>(
59 "providerName",
"Armar3ImageProvider",
"ImageProvider name");
60 defineOptionalProperty<bool>(
61 "UseChessBoard",
true,
"use chessboard for feature tracking");
62 defineOptionalProperty<std::string>(
63 "TrackingErrorTopicName",
"TrackingErrorTopic",
"TrackingErrorTopicName name");
64 defineOptionalProperty<int>(
"Chessboard.Width", 7,
"Chessboard width");
65 defineOptionalProperty<int>(
"Chessboard.Height", 5,
"Chessboard height");
67 defineOptionalProperty<std::string>(
"DebugObserverName",
69 "Name of the topic the DebugObserver listens on");
93 return "TrackingError";
109 CByteImage** cameraImages;
110 std::string providerName;
111 std::mutex imageMutex;
112 cv::Mat previousImage, old2;
113 std::vector<cv::Point2f> previousFeatures, features2_prev;
116 int chessboardWidth, chessboardHeight, imageWidth, imageHeight;
118 visionx::ImageProviderInterfacePrx imageProviderPrx;
119 TrackingErrorListenerPrx prx;