29#include <Eigen/Geometry>
31#include <opencv2/opencv.hpp>
37#include <VisionX/interface/components/TrackingErrorInterface.h>
41#include <Image/IplImageAdaptor.h>
59 "providerName",
"Armar3ImageProvider",
"ImageProvider name");
61 "UseChessBoard",
true,
"use chessboard for feature tracking");
63 "TrackingErrorTopicName",
"TrackingErrorTopic",
"TrackingErrorTopicName name");
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;
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
TrackingErrorPropertyDefinitions(std::string prefix)
Brief description of class TrackingError.
void onConnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component is fully initia...
void onExitImageProcessor() override
Exit the ImapeProcessor component.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void process() override
Process the vision component.
void onInitImageProcessor() override
Setup the vision component.
std::string getDefaultName() const override
The FPSCounter class provides methods for calculating the frames per second (FPS) count in periodic t...
ImageProcessorPropertyDefinitions(std::string prefix)
The ImageProcessor class provides an interface for access to ImageProviders via Ice and shared memory...
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface > DebugObserverInterfacePrx
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.