25 #ifndef _FIREVISION_GLOBALPOSITIONMODEL_H_
26 #define _FIREVISION_GLOBALPOSITIONMODEL_H_
28 namespace firevision {
38 virtual float get_x()
const = 0;
39 virtual float get_y()
const = 0;
Global Position Model Interface.
virtual bool is_pos_valid() const =0
Check if the position is valid.
virtual void set_robot_position(float x, float y, float ori)=0
Set the global position of the object.
virtual void calc()=0
Calculate position.
virtual float get_x() const =0
Get global x coordinate of object.
virtual float get_y() const =0
Get global y coordinate of object.
virtual void set_position_in_image(unsigned int x, unsigned int y)=0
Set the position of the object as recognized in the image.
virtual ~GlobalPositionModel()
Empty virtual destructor.