Main Page
Namespaces
Classes
Files
File List
File Members
src
plugin_aggregators
post_processor.cpp
Go to the documentation of this file.
1
#include <
vigir_footstep_planning_plugins/plugin_aggregators/post_processor.h
>
2
3
4
5
namespace
vigir_footstep_planning
6
{
7
PostProcessor::PostProcessor
()
8
:
ExtendedPluginAggregator
<
PostProcessor
,
PostProcessPlugin
>(
"PostProcessor"
)
9
{
10
}
11
12
void
PostProcessor::postProcessForward
(
const
State
& left_foot,
const
State
& right_foot,
State
& swing_foot)
const
13
{
14
for
(
PostProcessPlugin::Ptr
plugin :
getPlugins
())
15
{
16
if
(plugin)
17
plugin->postProcessStepForward(left_foot, right_foot, swing_foot);
18
}
19
}
20
21
void
PostProcessor::postProcessBackward
(
const
State
& left_foot,
const
State
& right_foot,
State
& swing_foot)
const
22
{
23
for
(
PostProcessPlugin::Ptr
plugin :
getPlugins
())
24
{
25
if
(plugin)
26
plugin->postProcessStepBackward(left_foot, right_foot, swing_foot);
27
}
28
}
29
30
void
PostProcessor::postProcess
(msgs::StepPlan step_plan)
const
31
{
32
for
(
PostProcessPlugin::Ptr
plugin :
getPlugins
())
33
{
34
if
(plugin)
35
plugin->postProcess(step_plan);
36
}
37
}
38
}
post_processor.h
vigir_footstep_planning::PostProcessor
Definition:
post_processor.h:41
boost::shared_ptr
vigir_footstep_planning::PostProcessPlugin
Definition:
post_process_plugin.h:42
vigir_footstep_planning::State
vigir_footstep_planning
vigir_footstep_planning::PostProcessor::postProcessBackward
void postProcessBackward(const State &left_foot, const State &right_foot, State &swing_foot) const
Definition:
post_processor.cpp:21
vigir_footstep_planning::PostProcessor::postProcess
void postProcess(msgs::StepPlan step_plan) const
Definition:
post_processor.cpp:30
getPlugins
ROSLIB_DECL void getPlugins(const std::string &package, const std::string &attribute, V_string &plugins, bool force_recrawl=false)
vigir_footstep_planning::PostProcessor::PostProcessor
PostProcessor()
Definition:
post_processor.cpp:7
vigir_footstep_planning::ExtendedPluginAggregator
Definition:
extended_plugin_aggregator.h:43
vigir_footstep_planning::PostProcessor::postProcessForward
void postProcessForward(const State &left_foot, const State &right_foot, State &swing_foot) const
Definition:
post_processor.cpp:12
vigir_footstep_planning_plugins
Author(s): Alexander Stumpf
autogenerated on Mon Jun 10 2019 15:47:39