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