[Positioner] Add Result::set_position()
This commit is contained in:
parent
1a40fe3366
commit
f38527cd93
|
@ -58,6 +58,8 @@ public:
|
||||||
|
|
||||||
/** @name Write accessors */
|
/** @name Write accessors */
|
||||||
//@{
|
//@{
|
||||||
|
/// Sets the position
|
||||||
|
void set_position(const Point3D &_position) ;
|
||||||
/// Computes the distance between #position and `real_position`
|
/// Computes the distance between #position and `real_position`
|
||||||
void compute_error(const Point3D &real_position) ;
|
void compute_error(const Point3D &real_position) ;
|
||||||
//@}
|
//@}
|
||||||
|
@ -109,6 +111,16 @@ inline float Result::get_error() const
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* *** Write accessors *** */
|
||||||
|
|
||||||
|
|
||||||
|
inline void Result::set_position(const Point3D &_position)
|
||||||
|
{
|
||||||
|
position = _position ;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* *** Operators *** */
|
/* *** Operators *** */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue