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";
115 CByteImage** cameraImages;
116 std::string providerName;
117 std::mutex imageMutex;
118 cv::Mat previousImage, old2;
119 std::vector<cv::Point2f> previousFeatures, features2_prev;
122 int chessboardWidth, chessboardHeight, imageWidth, imageHeight;
124 visionx::ImageProviderInterfacePrx imageProviderPrx;
125 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.
static std::string GetDefaultName()
std::string getDefaultName() const override
Retrieve default name of component.
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.