robot_model.cpp
Go to the documentation of this file.
2 
3 
4 
6 {
9 {
10 }
11 
12 bool RobotModel::isReachable(const State& current, const State& next) const
13 {
14  for (ReachabilityPlugin::Ptr plugin : getPlugins())
15  {
16  if (plugin && !plugin->isReachable(current, next))
17  return false;
18  }
19  return true;
20 }
21 
22 bool RobotModel::isReachable(const State& left, const State& right, const State& swing) const
23 {
24  for (ReachabilityPlugin::Ptr plugin : getPlugins())
25  {
26  if (plugin && !plugin->isReachable(left, right, swing))
27  return false;
28  }
29  return true;
30 }
31 }
bool isReachable(const State &current, const State &next) const
Definition: robot_model.cpp:12
ROSLIB_DECL void getPlugins(const std::string &package, const std::string &attribute, V_string &plugins, bool force_recrawl=false)


vigir_footstep_planning_plugins
Author(s): Alexander Stumpf
autogenerated on Mon Jun 10 2019 15:47:39