Main Page
Namespaces
Classes
Files
File List
File Members
src
plugins
reachability_plugin.cpp
Go to the documentation of this file.
1
#include <
vigir_footstep_planning_plugins/plugins/reachability_plugin.h
>
2
3
4
5
namespace
vigir_footstep_planning
6
{
7
ReachabilityPlugin::ReachabilityPlugin
(
const
std::string& name)
8
: Plugin(name)
9
{
10
}
11
12
ReachabilityPlugin::~ReachabilityPlugin
()
13
{
14
}
15
16
bool
ReachabilityPlugin::isUnique
()
const
17
{
18
return
false
;
19
}
20
21
bool
ReachabilityPlugin::isReachable
(
const
State
& left_foot,
const
State
& right_foot,
const
State
& swing_foot)
const
22
{
23
if
(swing_foot.
getLeg
() ==
LEFT
)
24
return
isReachable
(right_foot, swing_foot);
25
else
26
return
isReachable
(left_foot, swing_foot);
27
}
28
}
reachability_plugin.h
vigir_footstep_planning::State::getLeg
Leg getLeg() const
vigir_footstep_planning::ReachabilityPlugin::ReachabilityPlugin
ReachabilityPlugin(const std::string &name)
Definition:
reachability_plugin.cpp:7
vigir_footstep_planning::ReachabilityPlugin::isReachable
virtual bool isReachable(const State ¤t, const State &next) const =0
vigir_footstep_planning::State
vigir_footstep_planning::ReachabilityPlugin::isUnique
bool isUnique() const final
Definition:
reachability_plugin.cpp:16
vigir_footstep_planning::LEFT
LEFT
vigir_footstep_planning
vigir_footstep_planning::ReachabilityPlugin::~ReachabilityPlugin
virtual ~ReachabilityPlugin()
Definition:
reachability_plugin.cpp:12
vigir_footstep_planning_plugins
Author(s): Alexander Stumpf
autogenerated on Mon Jun 10 2019 15:47:39