37 #ifndef CHOMP_PARAMETERS_H_
38 #define CHOMP_PARAMETERS_H_
49 void initFromNodeHandle();
51 double getPlanningTimeLimit()
const;
52 void setPlanningTimeLimit(
double planning_time_limit);
53 int getMaxIterations()
const;
54 int getMaxIterationsAfterCollisionFree()
const;
55 double getSmoothnessCostWeight()
const;
56 double getObstacleCostWeight()
const;
57 bool getAnimatePath()
const;
58 double getLearningRate()
const;
59 double getSmoothnessCostVelocity()
const;
60 double getSmoothnessCostAcceleration()
const;
61 double getSmoothnessCostJerk()
const;
62 bool getAddRandomness()
const;
63 bool getUseHamiltonianMonteCarlo()
const;
64 double getHmcDiscretization()
const;
65 double getHmcStochasticity()
const;
66 double getHmcAnnealingFactor()
const;
67 double getRidgeFactor()
const;
68 bool getUsePseudoInverse()
const;
69 double getPseudoInverseRidgeFactor()
const;
70 bool getAnimateEndeffector()
const;
71 std::string getAnimateEndeffectorSegment()
const;
74 double planning_time_limit_;
76 int max_iterations_after_collision_free_;
77 double smoothness_cost_weight_;
78 double obstacle_cost_weight_;
79 double learning_rate_;
81 double smoothness_cost_velocity_;
82 double smoothness_cost_acceleration_;
83 double smoothness_cost_jerk_;
85 bool use_hamiltonian_monte_carlo_;
86 double hmc_stochasticity_;
87 double hmc_discretization_;
88 double hmc_annealing_factor_;
90 bool use_pseudo_inverse_;
91 double pseudo_inverse_ridge_factor_;
92 bool animate_endeffector_;
93 std::string animate_endeffector_segment_;
99 inline double ChompParameters::getPlanningTimeLimit()
const
101 return planning_time_limit_;
104 inline void ChompParameters::setPlanningTimeLimit(
double planning_time_limit)
106 planning_time_limit_ = planning_time_limit;
109 inline int ChompParameters::getMaxIterations()
const
111 return max_iterations_;
114 inline int ChompParameters::getMaxIterationsAfterCollisionFree()
const
116 return max_iterations_after_collision_free_;
119 inline double ChompParameters::getSmoothnessCostWeight()
const
121 return smoothness_cost_weight_;
124 inline double ChompParameters::getObstacleCostWeight()
const
126 return obstacle_cost_weight_;
129 inline double ChompParameters::getLearningRate()
const
131 return learning_rate_;
134 inline bool ChompParameters::getAnimatePath()
const
136 return animate_path_;
139 inline bool ChompParameters::getAddRandomness()
const
141 return add_randomness_;
144 inline double ChompParameters::getSmoothnessCostVelocity()
const
146 return smoothness_cost_velocity_;
149 inline double ChompParameters::getSmoothnessCostAcceleration()
const
151 return smoothness_cost_acceleration_;
154 inline double ChompParameters::getSmoothnessCostJerk()
const
156 return smoothness_cost_jerk_;
159 inline double ChompParameters::getHmcDiscretization()
const
161 return hmc_discretization_;
164 inline double ChompParameters::getHmcStochasticity()
const
166 return hmc_stochasticity_;
169 inline double ChompParameters::getHmcAnnealingFactor()
const
171 return hmc_annealing_factor_;
174 inline bool ChompParameters::getUseHamiltonianMonteCarlo()
const
176 return use_hamiltonian_monte_carlo_;
179 inline double ChompParameters::getRidgeFactor()
const
181 return ridge_factor_;
184 inline bool ChompParameters::getUsePseudoInverse()
const
186 return use_pseudo_inverse_;
189 inline double ChompParameters::getPseudoInverseRidgeFactor()
const
191 return pseudo_inverse_ridge_factor_;
194 inline std::string ChompParameters::getAnimateEndeffectorSegment()
const
196 return animate_endeffector_segment_;
Definition: chompParameters.hpp:42
ChompParameters()
Definition: chompParameters.cpp:45