OMPLDynamicReconfigureConfig.h
Go to the documentation of this file.
1 /*********************************************************************
2  * Software License Agreement (BSD License)
3  *
4  * Copyright (c) 2008, Willow Garage, Inc.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  *
11  * * Redistributions of source code must retain the above copyright
12  * notice, this list of conditions and the following disclaimer.
13  * * Redistributions in binary form must reproduce the above
14  * copyright notice, this list of conditions and the following
15  * disclaimer in the documentation and/or other materials provided
16  * with the distribution.
17  * * Neither the name of Willow Garage nor the names of its
18  * contributors may be used to endorse or promote products derived
19  * from this software without specific prior written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32  * POSSIBILITY OF SUCH DAMAGE.
33  *********************************************************************/
34 
35 //#line 2 "/opt/ros/fuerte/stacks/dynamic_reconfigure/templates/ConfigType.h"
36 // *********************************************************
37 //
38 // File autogenerated for the ompl_interface_ros package
39 // by the dynamic_reconfigure package.
40 // Please do not edit.
41 //
42 // ********************************************************/
43 
44 // Author: Blaise Gassend
45 
46 #pragma once
47 
48 #include <dynamic_reconfigure/config_tools.h>
50 #include <limits>
51 #include <ros/node_handle.h>
52 #include <dynamic_reconfigure/ConfigDescription.h>
53 #include <dynamic_reconfigure/ParamDescription.h>
54 #include <dynamic_reconfigure/Group.h>
55 #include <dynamic_reconfigure/config_init_mutex.h>
56 #include <boost/any.hpp>
57 
59 {
61 
63 {
64 public:
65  MOVEIT_CLASS_FORWARD(AbstractParamDescription); // Defines AbstractParamDescriptionPtr, ConstPtr, WeakPtr... etc
66  class AbstractParamDescription : public dynamic_reconfigure::ParamDescription
67  {
68  public:
69  AbstractParamDescription(std::string n, std::string t, uint32_t l, std::string d, std::string e)
70  {
71  name = n;
72  type = t;
73  level = l;
74  description = d;
75  edit_method = e;
76  }
77 
78  virtual void clamp(OMPLDynamicReconfigureConfig& config, const OMPLDynamicReconfigureConfig& max,
79  const OMPLDynamicReconfigureConfig& min) const = 0;
80  virtual void calcLevel(uint32_t& level, const OMPLDynamicReconfigureConfig& config1,
81  const OMPLDynamicReconfigureConfig& config2) const = 0;
82  virtual void fromServer(const ros::NodeHandle& nh, OMPLDynamicReconfigureConfig& config) const = 0;
83  virtual void toServer(const ros::NodeHandle& nh, const OMPLDynamicReconfigureConfig& config) const = 0;
84  virtual bool fromMessage(const dynamic_reconfigure::Config& msg, OMPLDynamicReconfigureConfig& config) const = 0;
85  virtual void toMessage(dynamic_reconfigure::Config& msg, const OMPLDynamicReconfigureConfig& config) const = 0;
86  virtual void getValue(const OMPLDynamicReconfigureConfig& config, boost::any& val) const = 0;
87  };
88 
89  template <class T>
90  class ParamDescription : public AbstractParamDescription
91  {
92  public:
93  ParamDescription(std::string name, std::string type, uint32_t level, std::string description,
94  std::string edit_method, T OMPLDynamicReconfigureConfig::*f)
95  : AbstractParamDescription(name, type, level, description, edit_method), field(f)
96  {
97  }
98 
100 
102  const OMPLDynamicReconfigureConfig& min) const
103  {
104  if (config.*field > max.*field)
105  config.*field = max.*field;
106 
107  if (config.*field < min.*field)
108  config.*field = min.*field;
109  }
110 
111  virtual void calcLevel(uint32_t& comb_level, const OMPLDynamicReconfigureConfig& config1,
112  const OMPLDynamicReconfigureConfig& config2) const
113  {
114  if (config1.*field != config2.*field)
115  comb_level |= level;
116  }
117 
118  virtual void fromServer(const ros::NodeHandle& nh, OMPLDynamicReconfigureConfig& config) const
119  {
120  nh.getParam(name, config.*field);
121  }
122 
123  virtual void toServer(const ros::NodeHandle& nh, const OMPLDynamicReconfigureConfig& config) const
124  {
125  nh.setParam(name, config.*field);
126  }
127 
128  virtual bool fromMessage(const dynamic_reconfigure::Config& msg, OMPLDynamicReconfigureConfig& config) const
129  {
130  return dynamic_reconfigure::ConfigTools::getParameter(msg, name, config.*field);
131  }
132 
133  virtual void toMessage(dynamic_reconfigure::Config& msg, const OMPLDynamicReconfigureConfig& config) const
134  {
135  dynamic_reconfigure::ConfigTools::appendParameter(msg, name, config.*field);
136  }
137 
138  virtual void getValue(const OMPLDynamicReconfigureConfig& config, boost::any& val) const
139  {
140  val = config.*field;
141  }
142  };
143 
144  MOVEIT_CLASS_FORWARD(AbstractGroupDescription); // Defines AbstractGroupDescriptionPtr, ConstPtr, WeakPtr... etc
145  class AbstractGroupDescription : public dynamic_reconfigure::Group
146  {
147  public:
148  AbstractGroupDescription(std::string n, std::string t, int p, int i, bool s)
149  {
150  name = n;
151  type = t;
152  parent = p;
153  state = s;
154  id = i;
155  }
156 
157  std::vector<AbstractParamDescriptionConstPtr> abstract_parameters;
158  bool state;
159 
160  virtual void toMessage(dynamic_reconfigure::Config& msg, const boost::any& config) const = 0;
161  virtual bool fromMessage(const dynamic_reconfigure::Config& msg, boost::any& config) const = 0;
162  virtual void updateParams(boost::any& cfg, OMPLDynamicReconfigureConfig& top) const = 0;
163  virtual void setInitialState(boost::any& cfg) const = 0;
164 
166  {
167  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = abstract_parameters.begin();
168  i != abstract_parameters.end(); i++)
169  {
170  parameters.push_back(dynamic_reconfigure::ParamDescription(**i));
171  }
172  }
173  };
174 
175  template <class T, class PT>
176  class GroupDescription : public AbstractGroupDescription
177  {
178  public:
179  GroupDescription(std::string name, std::string type, int parent, int id, bool s, T PT::*f)
180  : AbstractGroupDescription(name, type, parent, id, s), field(f)
181  {
182  }
183 
185  : AbstractGroupDescription(g.name, g.type, g.parent, g.id, g.state), field(g.field), groups(g.groups)
186  {
187  parameters = g.parameters;
189  }
190 
191  virtual bool fromMessage(const dynamic_reconfigure::Config& msg, boost::any& cfg) const
192  {
193  PT* config = boost::any_cast<PT*>(cfg);
194  if (!dynamic_reconfigure::ConfigTools::getGroupState(msg, name, (*config).*field))
195  return false;
196 
197  for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++)
198  {
199  boost::any n = &((*config).*field);
200  if (!(*i)->fromMessage(msg, n))
201  return false;
202  }
203 
204  return true;
205  }
206 
207  virtual void setInitialState(boost::any& cfg) const
208  {
209  PT* config = boost::any_cast<PT*>(cfg);
210  T* group = &((*config).*field);
211  group->state = state;
212 
213  for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++)
214  {
215  boost::any n = boost::any(&((*config).*field));
216  (*i)->setInitialState(n);
217  }
218  }
219 
220  virtual void updateParams(boost::any& cfg, OMPLDynamicReconfigureConfig& top) const
221  {
222  PT* config = boost::any_cast<PT*>(cfg);
223 
224  T* f = &((*config).*field);
225  f->setParams(top, abstract_parameters);
226 
227  for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++)
228  {
229  boost::any n = &((*config).*field);
230  (*i)->updateParams(n, top);
231  }
232  }
233 
234  virtual void toMessage(dynamic_reconfigure::Config& msg, const boost::any& cfg) const
235  {
236  const PT config = boost::any_cast<PT>(cfg);
237  dynamic_reconfigure::ConfigTools::appendGroup<T>(msg, name, id, parent, config.*field);
238 
239  for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = groups.begin(); i != groups.end(); i++)
240  {
241  (*i)->toMessage(msg, config.*field);
242  }
243  }
244 
245  T(PT::*field);
246  std::vector<OMPLDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr> groups;
247  };
248 
249  class DEFAULT
250  {
251  public:
253  {
254  state = true;
255  name = "Default";
256  }
257 
258  void setParams(OMPLDynamicReconfigureConfig& config, const std::vector<AbstractParamDescriptionConstPtr> params)
259  {
260  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = params.begin(); i != params.end(); i++)
261  {
262  boost::any val;
263  (*i)->getValue(config, val);
264 
265  if ("link_for_exploration_tree" == (*i)->name)
266  {
267  link_for_exploration_tree = boost::any_cast<std::string>(val);
268  }
269  }
270  }
271 
272  std::string link_for_exploration_tree;
273 
274  bool state;
275  std::string name;
276 
278 
279  //#line 259 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
280  std::string link_for_exploration_tree;
281  //#line 255 "/opt/ros/fuerte/stacks/dynamic_reconfigure/templates/ConfigType.h"
282 
283  bool __fromMessage__(dynamic_reconfigure::Config& msg)
284  {
285  const std::vector<AbstractParamDescriptionConstPtr>& __param_descriptions__ = __getParamDescriptions__();
286  const std::vector<AbstractGroupDescriptionConstPtr>& __group_descriptions__ = __getGroupDescriptions__();
287 
288  int count = 0;
289  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin();
290  i != __param_descriptions__.end(); i++)
291  if ((*i)->fromMessage(msg, *this))
292  count++;
293 
294  for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = __group_descriptions__.begin();
295  i != __group_descriptions__.end(); i++)
296  {
297  if ((*i)->id == 0)
298  {
299  boost::any n = boost::any(this);
300  (*i)->updateParams(n, *this);
301  (*i)->fromMessage(msg, n);
302  }
303  }
304 
305  if (count != dynamic_reconfigure::ConfigTools::size(msg))
306  {
307  ROS_ERROR("OMPLDynamicReconfigureConfig::__fromMessage__ called with an unexpected parameter.");
308  ROS_ERROR("Booleans:");
309  for (unsigned int i = 0; i < msg.bools.size(); i++)
310  ROS_ERROR(" %s", msg.bools[i].name.c_str());
311  ROS_ERROR("Integers:");
312  for (unsigned int i = 0; i < msg.ints.size(); i++)
313  ROS_ERROR(" %s", msg.ints[i].name.c_str());
314  ROS_ERROR("Doubles:");
315  for (unsigned int i = 0; i < msg.doubles.size(); i++)
316  ROS_ERROR(" %s", msg.doubles[i].name.c_str());
317  ROS_ERROR("Strings:");
318  for (unsigned int i = 0; i < msg.strs.size(); i++)
319  ROS_ERROR(" %s", msg.strs[i].name.c_str());
320  // @todo Check that there are no duplicates. Make this error more
321  // explicit.
322  return false;
323  }
324  return true;
325  }
326 
327  // This version of __toMessage__ is used during initialization of
328  // statics when __getParamDescriptions__ can't be called yet.
329  void __toMessage__(dynamic_reconfigure::Config& msg,
330  const std::vector<AbstractParamDescriptionConstPtr>& __param_descriptions__,
331  const std::vector<AbstractGroupDescriptionConstPtr>& __group_descriptions__) const
332  {
333  dynamic_reconfigure::ConfigTools::clear(msg);
334  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin();
335  i != __param_descriptions__.end(); i++)
336  (*i)->toMessage(msg, *this);
337 
338  for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = __group_descriptions__.begin();
339  i != __group_descriptions__.end(); i++)
340  {
341  if ((*i)->id == 0)
342  {
343  (*i)->toMessage(msg, *this);
344  }
345  }
346  }
347 
348  void __toMessage__(dynamic_reconfigure::Config& msg) const
349  {
350  const std::vector<AbstractParamDescriptionConstPtr>& __param_descriptions__ = __getParamDescriptions__();
351  const std::vector<AbstractGroupDescriptionConstPtr>& __group_descriptions__ = __getGroupDescriptions__();
352  __toMessage__(msg, __param_descriptions__, __group_descriptions__);
353  }
354 
355  void __toServer__(const ros::NodeHandle& nh) const
356  {
357  const std::vector<AbstractParamDescriptionConstPtr>& __param_descriptions__ = __getParamDescriptions__();
358  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin();
359  i != __param_descriptions__.end(); i++)
360  (*i)->toServer(nh, *this);
361  }
362 
363  void __fromServer__(const ros::NodeHandle& nh)
364  {
365  static bool setup = false;
366 
367  const std::vector<AbstractParamDescriptionConstPtr>& __param_descriptions__ = __getParamDescriptions__();
368  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin();
369  i != __param_descriptions__.end(); i++)
370  (*i)->fromServer(nh, *this);
371 
372  const std::vector<AbstractGroupDescriptionConstPtr>& __group_descriptions__ = __getGroupDescriptions__();
373  for (std::vector<AbstractGroupDescriptionConstPtr>::const_iterator i = __group_descriptions__.begin();
374  i != __group_descriptions__.end(); i++)
375  {
376  if (!setup && (*i)->id == 0)
377  {
378  setup = true;
379  boost::any n = boost::any(this);
380  (*i)->setInitialState(n);
381  }
382  }
383  }
384 
385  void __clamp__()
386  {
387  const std::vector<AbstractParamDescriptionConstPtr>& __param_descriptions__ = __getParamDescriptions__();
388  const OMPLDynamicReconfigureConfig& __max__ = __getMax__();
389  const OMPLDynamicReconfigureConfig& __min__ = __getMin__();
390  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin();
391  i != __param_descriptions__.end(); i++)
392  (*i)->clamp(*this, __max__, __min__);
393  }
394 
395  uint32_t __level__(const OMPLDynamicReconfigureConfig& config) const
396  {
397  const std::vector<AbstractParamDescriptionConstPtr>& __param_descriptions__ = __getParamDescriptions__();
398  uint32_t level = 0;
399  for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator i = __param_descriptions__.begin();
400  i != __param_descriptions__.end(); i++)
401  (*i)->calcLevel(level, config, *this);
402  return level;
403  }
404 
405  static const dynamic_reconfigure::ConfigDescription& __getDescriptionMessage__();
409  static const std::vector<AbstractParamDescriptionConstPtr>& __getParamDescriptions__();
410  static const std::vector<AbstractGroupDescriptionConstPtr>& __getGroupDescriptions__();
411 
412 private:
414 };
415 
416 template <> // Max and min are ignored for strings.
417 inline void
419  const OMPLDynamicReconfigureConfig& max,
420  const OMPLDynamicReconfigureConfig& min) const
421 {
422  return;
423 }
424 
426 {
428 
430  {
432  Default("Default", "", 0, 0, true, &OMPLDynamicReconfigureConfig::groups);
433  //#line 259 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
435  //#line 259 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
437  //#line 259 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
439  //#line 259 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
440  Default.abstract_parameters.push_back(OMPLDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(
442  "link_for_exploration_tree", "str", 1, "Show the exploration tree for a particular link", "",
444  //#line 259 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
445  __param_descriptions__.push_back(OMPLDynamicReconfigureConfig::AbstractParamDescriptionConstPtr(
447  "link_for_exploration_tree", "str", 1, "Show the exploration tree for a particular link", "",
449  //#line 233 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
450  Default.convertParams();
451  //#line 233 "/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py"
452  __group_descriptions__.push_back(OMPLDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr(
454  OMPLDynamicReconfigureConfig>(Default)));
455  //#line 390 "/opt/ros/fuerte/stacks/dynamic_reconfigure/templates/ConfigType.h"
456 
457  for (std::vector<OMPLDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr>::const_iterator i =
458  __group_descriptions__.begin();
459  i != __group_descriptions__.end(); i++)
460  {
461  __description_message__.groups.push_back(**i);
462  }
466  }
467  std::vector<OMPLDynamicReconfigureConfig::AbstractParamDescriptionConstPtr> __param_descriptions__;
468  std::vector<OMPLDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr> __group_descriptions__;
472  dynamic_reconfigure::ConfigDescription __description_message__;
473 
475  {
476  // Split this off in a separate function because I know that
477  // instance will get initialized the first time get_instance is
478  // called, and I am guaranteeing that get_instance gets called at
479  // most once.
480  static OMPLDynamicReconfigureConfigStatics instance;
481  return &instance;
482  }
483 };
484 
485 inline const dynamic_reconfigure::ConfigDescription& OMPLDynamicReconfigureConfig::__getDescriptionMessage__()
486 {
488 }
489 
490 inline const OMPLDynamicReconfigureConfig& OMPLDynamicReconfigureConfig::__getDefault__()
491 {
492  return __get_statics__()->__default__;
493 }
494 
495 inline const OMPLDynamicReconfigureConfig& OMPLDynamicReconfigureConfig::__getMax__()
496 {
497  return __get_statics__()->__max__;
498 }
499 
501 {
503 }
504 
505 inline const std::vector<OMPLDynamicReconfigureConfig::AbstractParamDescriptionConstPtr>&
507 {
509 }
510 
511 inline const std::vector<OMPLDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr>&
513 {
515 }
516 
518 {
519  const static OMPLDynamicReconfigureConfigStatics* statics;
520 
521  if (statics) // Common case
522  return statics;
523 
524  std::unique_lock<std::mutex> lock(dynamic_reconfigure::__init_mutex__);
525 
526  if (statics) // In case we lost a race.
527  return statics;
528 
530 
531  return statics;
532 }
533 } // namespace ompl_interface_ros
setup
node_handle.h
ros::NodeHandle::setParam
void setParam(const std::string &key, bool b) const
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::toMessage
virtual void toMessage(dynamic_reconfigure::Config &msg, const OMPLDynamicReconfigureConfig &config) const
Definition: OMPLDynamicReconfigureConfig.h:165
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription::field
TPT::* field
Definition: OMPLDynamicReconfigureConfig.h:277
min
int min(int a, int b)
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::__description_message__
dynamic_reconfigure::ConfigDescription __description_message__
Definition: OMPLDynamicReconfigureConfig.h:504
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::updateParams
virtual void updateParams(boost::any &cfg, OMPLDynamicReconfigureConfig &top) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::calcLevel
virtual void calcLevel(uint32_t &comb_level, const OMPLDynamicReconfigureConfig &config1, const OMPLDynamicReconfigureConfig &config2) const
Definition: OMPLDynamicReconfigureConfig.h:143
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::AbstractGroupDescription
AbstractGroupDescription(std::string n, std::string t, int p, int i, bool s)
Definition: OMPLDynamicReconfigureConfig.h:180
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription::fromMessage
virtual bool fromMessage(const dynamic_reconfigure::Config &msg, boost::any &cfg) const
Definition: OMPLDynamicReconfigureConfig.h:223
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::fromMessage
virtual bool fromMessage(const dynamic_reconfigure::Config &msg, OMPLDynamicReconfigureConfig &config) const
Definition: OMPLDynamicReconfigureConfig.h:160
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::get_instance
static const OMPLDynamicReconfigureConfigStatics * get_instance()
Definition: OMPLDynamicReconfigureConfig.h:506
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::toServer
virtual void toServer(const ros::NodeHandle &nh, const OMPLDynamicReconfigureConfig &config) const
Definition: OMPLDynamicReconfigureConfig.h:155
s
XmlRpcServer s
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription::setInitialState
virtual void setInitialState(boost::any &cfg) const
Definition: OMPLDynamicReconfigureConfig.h:239
ros::NodeHandle::getParam
bool getParam(const std::string &key, bool &b) const
ompl_interface_ros::OMPLDynamicReconfigureConfig::DEFAULT::setParams
void setParams(OMPLDynamicReconfigureConfig &config, const std::vector< AbstractParamDescriptionConstPtr > params)
Definition: OMPLDynamicReconfigureConfig.h:290
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::clamp
virtual void clamp(OMPLDynamicReconfigureConfig &config, const OMPLDynamicReconfigureConfig &max, const OMPLDynamicReconfigureConfig &min) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription::groups
std::vector< OMPLDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr > groups
Definition: OMPLDynamicReconfigureConfig.h:278
ompl_interface_ros::OMPLDynamicReconfigureConfig::__getGroupDescriptions__
static const std::vector< AbstractGroupDescriptionConstPtr > & __getGroupDescriptions__()
Definition: OMPLDynamicReconfigureConfig.h:544
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::OMPLDynamicReconfigureConfig
friend class OMPLDynamicReconfigureConfig
Definition: OMPLDynamicReconfigureConfig.h:459
ompl_interface_ros::OMPLDynamicReconfigureConfig::__fromServer__
void __fromServer__(const ros::NodeHandle &nh)
Definition: OMPLDynamicReconfigureConfig.h:395
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::calcLevel
virtual void calcLevel(uint32_t &level, const OMPLDynamicReconfigureConfig &config1, const OMPLDynamicReconfigureConfig &config2) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::DEFAULT::DEFAULT
DEFAULT()
Definition: OMPLDynamicReconfigureConfig.h:284
f
f
ompl_interface_ros::OMPLDynamicReconfigureConfig::__toServer__
void __toServer__(const ros::NodeHandle &nh) const
Definition: OMPLDynamicReconfigureConfig.h:387
ompl_interface_ros::OMPLDynamicReconfigureConfig::__fromMessage__
bool __fromMessage__(dynamic_reconfigure::Config &msg)
Definition: OMPLDynamicReconfigureConfig.h:315
ompl_interface_ros::OMPLDynamicReconfigureConfig::__toMessage__
void __toMessage__(dynamic_reconfigure::Config &msg, const std::vector< AbstractParamDescriptionConstPtr > &__param_descriptions__, const std::vector< AbstractGroupDescriptionConstPtr > &__group_descriptions__) const
Definition: OMPLDynamicReconfigureConfig.h:361
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription::GroupDescription
GroupDescription(std::string name, std::string type, int parent, int id, bool s, T PT::*f)
Definition: OMPLDynamicReconfigureConfig.h:211
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::ParamDescription
ParamDescription(std::string name, std::string type, uint32_t level, std::string description, std::string edit_method, T OMPLDynamicReconfigureConfig::*f)
Definition: OMPLDynamicReconfigureConfig.h:125
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::fromMessage
virtual bool fromMessage(const dynamic_reconfigure::Config &msg, boost::any &config) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::clamp
virtual void clamp(OMPLDynamicReconfigureConfig &config, const OMPLDynamicReconfigureConfig &max, const OMPLDynamicReconfigureConfig &min) const
Definition: OMPLDynamicReconfigureConfig.h:133
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::toMessage
virtual void toMessage(dynamic_reconfigure::Config &msg, const boost::any &config) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription
Definition: OMPLDynamicReconfigureConfig.h:177
name
std::string name
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::state
bool state
Definition: OMPLDynamicReconfigureConfig.h:190
ompl_interface_ros::OMPLDynamicReconfigureConfig::MOVEIT_CLASS_FORWARD
MOVEIT_CLASS_FORWARD(AbstractParamDescription)
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::toServer
virtual void toServer(const ros::NodeHandle &nh, const OMPLDynamicReconfigureConfig &config) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::__default__
OMPLDynamicReconfigureConfig __default__
Definition: OMPLDynamicReconfigureConfig.h:503
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::fromServer
virtual void fromServer(const ros::NodeHandle &nh, OMPLDynamicReconfigureConfig &config) const
Definition: OMPLDynamicReconfigureConfig.h:150
ROS_ERROR
#define ROS_ERROR(...)
ompl_interface_ros::OMPLDynamicReconfigureConfig::__getMin__
static const OMPLDynamicReconfigureConfig & __getMin__()
Definition: OMPLDynamicReconfigureConfig.h:532
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::field
TOMPLDynamicReconfigureConfig::* field
Definition: OMPLDynamicReconfigureConfig.h:131
ompl_interface_ros::OMPLDynamicReconfigureConfig::groups
class ompl_interface_ros::OMPLDynamicReconfigureConfig::DEFAULT groups
ompl_interface_ros::OMPLDynamicReconfigureConfig::DEFAULT::name
std::string name
Definition: OMPLDynamicReconfigureConfig.h:307
d
d
ompl_interface_ros
Definition: OMPLDynamicReconfigureConfig.h:58
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::OMPLDynamicReconfigureConfigStatics
OMPLDynamicReconfigureConfigStatics()
Definition: OMPLDynamicReconfigureConfig.h:461
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::__max__
OMPLDynamicReconfigureConfig __max__
Definition: OMPLDynamicReconfigureConfig.h:501
ompl_interface_ros::OMPLDynamicReconfigureConfig::__getDefault__
static const OMPLDynamicReconfigureConfig & __getDefault__()
Definition: OMPLDynamicReconfigureConfig.h:522
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::__group_descriptions__
std::vector< OMPLDynamicReconfigureConfig::AbstractGroupDescriptionConstPtr > __group_descriptions__
Definition: OMPLDynamicReconfigureConfig.h:500
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics
Definition: OMPLDynamicReconfigureConfig.h:457
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription
Definition: OMPLDynamicReconfigureConfig.h:122
ompl_interface_ros::OMPLDynamicReconfigureConfig::link_for_exploration_tree
std::string link_for_exploration_tree
Definition: OMPLDynamicReconfigureConfig.h:312
ompl_interface_ros::OMPLDynamicReconfigureConfig::__getDescriptionMessage__
static const dynamic_reconfigure::ConfigDescription & __getDescriptionMessage__()
Definition: OMPLDynamicReconfigureConfig.h:517
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::abstract_parameters
std::vector< AbstractParamDescriptionConstPtr > abstract_parameters
Definition: OMPLDynamicReconfigureConfig.h:189
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription::updateParams
virtual void updateParams(boost::any &cfg, OMPLDynamicReconfigureConfig &top) const
Definition: OMPLDynamicReconfigureConfig.h:252
class_forward.h
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::__min__
OMPLDynamicReconfigureConfig __min__
Definition: OMPLDynamicReconfigureConfig.h:502
ompl_interface_ros::OMPLDynamicReconfigureConfig::__clamp__
void __clamp__()
Definition: OMPLDynamicReconfigureConfig.h:417
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::getValue
virtual void getValue(const OMPLDynamicReconfigureConfig &config, boost::any &val) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::DEFAULT
Definition: OMPLDynamicReconfigureConfig.h:281
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::convertParams
void convertParams()
Definition: OMPLDynamicReconfigureConfig.h:197
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::toMessage
virtual void toMessage(dynamic_reconfigure::Config &msg, const OMPLDynamicReconfigureConfig &config) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::DEFAULT::state
bool state
Definition: OMPLDynamicReconfigureConfig.h:306
ompl_interface_ros::OMPLDynamicReconfigureConfig::__get_statics__
static const OMPLDynamicReconfigureConfigStatics * __get_statics__()
Definition: OMPLDynamicReconfigureConfig.h:549
ompl_interface_ros::OMPLDynamicReconfigureConfig::DEFAULT::link_for_exploration_tree
std::string link_for_exploration_tree
Definition: OMPLDynamicReconfigureConfig.h:304
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::fromMessage
virtual bool fromMessage(const dynamic_reconfigure::Config &msg, OMPLDynamicReconfigureConfig &config) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription::toMessage
virtual void toMessage(dynamic_reconfigure::Config &msg, const boost::any &cfg) const
Definition: OMPLDynamicReconfigureConfig.h:266
ompl_interface_ros::OMPLDynamicReconfigureConfig::__level__
uint32_t __level__(const OMPLDynamicReconfigureConfig &config) const
Definition: OMPLDynamicReconfigureConfig.h:427
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::fromServer
virtual void fromServer(const ros::NodeHandle &nh, OMPLDynamicReconfigureConfig &config) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::GroupDescription
Definition: OMPLDynamicReconfigureConfig.h:208
ompl_interface_ros::OMPLDynamicReconfigureConfig::__getParamDescriptions__
static const std::vector< AbstractParamDescriptionConstPtr > & __getParamDescriptions__()
Definition: OMPLDynamicReconfigureConfig.h:538
ompl_interface_ros::OMPLDynamicReconfigureConfigStatics::__param_descriptions__
std::vector< OMPLDynamicReconfigureConfig::AbstractParamDescriptionConstPtr > __param_descriptions__
Definition: OMPLDynamicReconfigureConfig.h:499
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractGroupDescription::setInitialState
virtual void setInitialState(boost::any &cfg) const =0
ompl_interface_ros::OMPLDynamicReconfigureConfig::ParamDescription::getValue
virtual void getValue(const OMPLDynamicReconfigureConfig &config, boost::any &val) const
Definition: OMPLDynamicReconfigureConfig.h:170
t
geometry_msgs::TransformStamped t
ompl_interface_ros::OMPLDynamicReconfigureConfig::__getMax__
static const OMPLDynamicReconfigureConfig & __getMax__()
Definition: OMPLDynamicReconfigureConfig.h:527
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription
Definition: OMPLDynamicReconfigureConfig.h:98
ros::NodeHandle
ompl_interface_ros::OMPLDynamicReconfigureConfig::AbstractParamDescription::AbstractParamDescription
AbstractParamDescription(std::string n, std::string t, uint32_t l, std::string d, std::string e)
Definition: OMPLDynamicReconfigureConfig.h:101
ompl_interface_ros::OMPLDynamicReconfigureConfig
Definition: OMPLDynamicReconfigureConfig.h:94


ompl
Author(s): Ioan Sucan
autogenerated on Tue Dec 24 2024 03:28:10