diff --git a/owlps-positioner/autocalibration.hh b/owlps-positioner/autocalibration.hh index a62bb1a..297f377 100644 --- a/owlps-positioner/autocalibration.hh +++ b/owlps-positioner/autocalibration.hh @@ -23,10 +23,7 @@ class Point3D ; #include #include -/** - * The class Autocalibration contains the code used to generate single - * reference points from the autocalibration measurements. - */ +/// Generates reference points from autocalibration measurements class Autocalibration { private: @@ -64,6 +61,11 @@ private: /// Generated measurements' list std::unordered_map measurements ; + /// Initialises a struct cp with the values from `s` + void init_cp( + std::map::const_iterator> >::const_iterator s) ; + protected: /// Number of generated "virtual" mobiles static uint32_t nb_virtual_mobiles ; @@ -77,9 +79,6 @@ protected: void sort_reference_cps(void) ; /// Computes the weight of the selected CP(s) void weight_cps(void) ; - void init_cp( - std::map::const_iterator> >::const_iterator s) ; /// Weights two CPs according to their angles void weight_2_cps(void) ; /// Computes the SS of the virtual mobile