[Positioner] Autocalibration: cosmetics
init_cp() becomes private instead of protected and is documented. Class description improved.
This commit is contained in:
parent
9fca1926f9
commit
b724ad7ab7
|
@ -23,10 +23,7 @@ class Point3D ;
|
|||
#include <vector>
|
||||
#include <unordered_map>
|
||||
|
||||
/**
|
||||
* 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<std::string, Measurement> measurements ;
|
||||
|
||||
/// Initialises a struct cp with the values from `s`
|
||||
void init_cp(
|
||||
std::map<double, std::pair<double, std::unordered_map<
|
||||
std::string, CapturePoint>::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<double, std::pair<double, std::unordered_map<
|
||||
std::string, CapturePoint>::const_iterator> >::const_iterator s) ;
|
||||
/// Weights two CPs according to their angles
|
||||
void weight_2_cps(void) ;
|
||||
/// Computes the SS of the virtual mobile
|
||||
|
|
Loading…
Reference in New Issue