Ejemplo n.º 1
0
        public void updateGraphs()
        {
            if (graph_colour_variance == null)
            {
                graph_colour_variance = new graph_points(0, max_position_error_mm,
                                                         0, max_colour_variance);
                graph_no_of_particles = new graph_points(0, max_position_error_mm,
                                                         0, 200);
                LoadGraphs();
            }

            graph_colour_variance.Update(position_error_mm, GetMeanColourVariance());
            graph_no_of_particles.Update(position_error_mm, rob.GetBestMotionModel().survey_trial_poses);
        }
Ejemplo n.º 2
0
 private void LoadGraphs()
 {
     graph_colour_variance = new graph_points(0, max_position_error_mm, 
                                              0, max_colour_variance);
     graph_colour_variance.Load("colour_variance.csv");
     graph_no_of_particles.Load("particles.csv");
 }