Main Page
Namespaces
Classes
Files
File List
File Members
src
plugin_aggregators
robot_model.cpp
Go to the documentation of this file.
1
#include <
vigir_footstep_planning_plugins/plugin_aggregators/robot_model.h
>
2
3
4
5
namespace
vigir_footstep_planning
6
{
7
RobotModel::RobotModel
()
8
:
ExtendedPluginAggregator
<
RobotModel
,
ReachabilityPlugin
>(
"RobotModel"
)
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
}
vigir_footstep_planning::RobotModel::isReachable
bool isReachable(const State ¤t, const State &next) const
Definition:
robot_model.cpp:12
robot_model.h
vigir_footstep_planning::RobotModel
Definition:
robot_model.h:44
vigir_footstep_planning::ReachabilityPlugin
Definition:
reachability_plugin.h:44
boost::shared_ptr
vigir_footstep_planning::State
vigir_footstep_planning::RobotModel::RobotModel
RobotModel()
Definition:
robot_model.cpp:7
vigir_footstep_planning
getPlugins
ROSLIB_DECL void getPlugins(const std::string &package, const std::string &attribute, V_string &plugins, bool force_recrawl=false)
vigir_footstep_planning::ExtendedPluginAggregator
Definition:
extended_plugin_aggregator.h:43
vigir_footstep_planning_plugins
Author(s): Alexander Stumpf
autogenerated on Mon Jun 10 2019 15:47:39