26 #ifndef _FIREVISION_MODELS_GLOBAL_POSITION_GLOBFROMREL_H_
27 #define _FIREVISION_MODELS_GLOBAL_POSITION_GLOBFROMREL_H_
29 #include <fvmodels/global_position/globalpositionmodel.h>
31 namespace firevision {
33 class RelativePositionModel;
41 virtual float get_x(
void)
const;
42 virtual float get_y(
void)
const;
Calculate global ball position based on a relative position model.
virtual void calc()
Calculate position.
GlobalFromRelativePos(RelativePositionModel *model)
Constructor.
virtual void set_position_in_image(unsigned int x, unsigned int y)
Set the position of the object as recognized in the image.
virtual float get_y(void) const
Get global y coordinate of object.
virtual bool is_pos_valid() const
Check if the position is valid.
virtual void set_robot_position(float x, float y, float ori)
Set the global position of the object.
virtual float get_x(void) const
Get global x coordinate of object.
Global Position Model Interface.
Relative Position Model Interface.