settings.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <boost/shared_ptr.hpp>
21 #include <vector>
22 
23 namespace world_model {
24 
25  std::ostream& operator<<(std::ostream &strm, const std::vector<std::pair<std::string, std::string>> &objects_to_sample);
26 
27  struct Settings {
28  public:
29  //Sampling additional object poses for recognition result to consider pose uncertainty
34  std::vector<std::pair<std::string, std::string>> objects_to_sample;
35 
36  //Threshold Vars (Determines the maximum distance between two poses to be considered a neighbor)
41 
42  //The minimum number of neighbors that a cluster needs to considered for the best object list
44 
47 
49 
51 
52  std::string dbfilename;
53  double bin_size;
55 
56  Settings() { }
57  virtual ~Settings() { }
58  };
59 
61 
62 
63  std::ostream& operator<<(std::ostream &strm, const Settings &settings);
64  std::ostream& operator<<(std::ostream &strm, const SettingsPtr &settings_ptr);
65 }
66 
67 
68 
std::vector< std::pair< std::string, std::string > > objects_to_sample
Definition: settings.hpp:34
bool use_default_intermediate_object_weight
Definition: settings.hpp:45
double object_position_distance_threshold
Definition: settings.hpp:37
std::string dbfilename
Definition: settings.hpp:52
double viewport_orientation_rad_distance_threshold
Definition: settings.hpp:40
std::string intermediate_object_weight_file_name
Definition: settings.hpp:48
double object_orientation_rad_distance_threshold
Definition: settings.hpp:38
std::ostream & operator<<(std::ostream &strm, const CompletePatterns &complete_patterns)
boost::shared_ptr< Settings > SettingsPtr
Definition: settings.hpp:60
double maxProjectionAngleDeviation
Definition: settings.hpp:54
int deviation_number_of_samples_orientation
Definition: settings.hpp:33
double default_intermediate_object_weight
Definition: settings.hpp:46
int deviation_number_of_samples_position
Definition: settings.hpp:32
double viewport_position_distance_threshold
Definition: settings.hpp:39


asr_world_model
Author(s): Aumann Florian, Borella Jocelyn, Hutmacher Robin, Karrenbauer Oliver, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Trautmann Jeremias
autogenerated on Thu Jan 9 2020 07:20:01