19#ifndef __LOCALIZER_H__ 
   20#define __LOCALIZER_H__ 
   25#include <yarp/os/all.h> 
   26#include <yarp/sig/all.h> 
   27#include <yarp/math/Math.h> 
   31#include <iCub/utils.h> 
   34using namespace yarp::os;
 
   35using namespace yarp::sig;
 
   36using namespace yarp::math;
 
   83    bool   projectPoint(
const string &type, 
const Vector &
x, Vector &px);
 
   84    bool   projectPoint(
const string &type, 
const double u, 
const double v,
 
   85                        const double z, Vector &
x);
 
   86    bool   projectPoint(
const string &type, 
const double u, 
const double v,
 
   87                        const Vector &plane, Vector &
x);
 
   90    Vector 
get3DPoint(
const string &type, 
const Vector &ang);
 
 
void getPidOptions(Bottle &options)
 
bool setIntrinsicsMatrix(const string &type, const Matrix &M, const int w, const int h)
 
BufferedPort< Bottle > port_stereo
 
BufferedPort< Bottle > port_mono
 
double getDistFromVergence(const double ver)
 
void handleMonocularInput()
 
Vector get3DPoint(const string &type, const Vector &ang)
 
void setPidOptions(const Bottle &options)
 
BufferedPort< Bottle > port_anglesIn
 
BufferedPort< Vector > port_anglesOut
 
void handleAnglesOutput()
 
bool getIntrinsicsMatrix(const string &type, Matrix &M, int &w, int &h)
 
bool triangulatePoint(const Vector &pxl, const Vector &pxr, Vector &x)
 
bool projectPoint(const string &type, const Vector &x, Vector &px)
 
Vector getAbsAngles(const Vector &x)
 
General structure of parallel (non-interactive) PID.