Main Page
Namespaces
Classes
Files
File List
File Members
src
plugins
robot_model_plugin.cpp
Go to the documentation of this file.
1
#include <
vigir_footstep_planning_plugins/plugins/robot_model_plugin.h
>
2
3
4
5
namespace
vigir_footstep_planning
6
{
7
using namespace
vigir_generic_params
;
8
9
RobotModelPlugin::RobotModelPlugin
()
10
: Plugin(
"robot_model"
)
11
{
12
}
13
14
bool
RobotModelPlugin::initialize
(
const
vigir_generic_params::ParameterSet& params)
15
{
16
if
(!Plugin::initialize(params))
17
return
false
;
18
19
// get foot dimensions
20
vigir_footstep_planning::getFootSize
(nh_,
foot_size_
);
21
22
// get upper body dimensions
23
vigir_footstep_planning::getUpperBodySize
(nh_,
upper_body_size_
);
24
vigir_footstep_planning::getUpperBodyOriginShift
(nh_,
upper_body_origin_shift_
);
25
26
return
true
;
27
}
28
29
bool
RobotModelPlugin::isUnique
()
const
30
{
31
return
true
;
32
}
33
34
const
geometry_msgs::Vector3&
RobotModelPlugin::getFootSize
()
const
35
{
36
return
foot_size_
;
37
}
38
39
const
geometry_msgs::Vector3&
RobotModelPlugin::getUpperBodySize
()
const
40
{
41
return
upper_body_size_
;
42
}
43
44
const
geometry_msgs::Vector3&
RobotModelPlugin::getUpperBodyOriginShift
()
const
45
{
46
return
upper_body_origin_shift_
;
47
}
48
}
vigir_footstep_planning::RobotModelPlugin::getUpperBodySize
const geometry_msgs::Vector3 & getUpperBodySize() const
Definition:
robot_model_plugin.cpp:39
vigir_footstep_planning::getFootSize
bool getFootSize(ros::NodeHandle &nh, geometry_msgs::Vector3 &foot_size)
vigir_footstep_planning::getUpperBodyOriginShift
bool getUpperBodyOriginShift(ros::NodeHandle &nh, geometry_msgs::Vector3 &upper_body_origin_shift)
robot_model_plugin.h
vigir_footstep_planning::RobotModelPlugin::RobotModelPlugin
RobotModelPlugin()
Definition:
robot_model_plugin.cpp:9
vigir_footstep_planning::RobotModelPlugin::initialize
bool initialize(const vigir_generic_params::ParameterSet ¶ms=vigir_generic_params::ParameterSet()) override
Definition:
robot_model_plugin.cpp:14
vigir_footstep_planning
vigir_footstep_planning::getUpperBodySize
bool getUpperBodySize(ros::NodeHandle &nh, geometry_msgs::Vector3 &upper_body_size)
vigir_footstep_planning::RobotModelPlugin::getFootSize
const geometry_msgs::Vector3 & getFootSize() const
Definition:
robot_model_plugin.cpp:34
vigir_footstep_planning::RobotModelPlugin::getUpperBodyOriginShift
const geometry_msgs::Vector3 & getUpperBodyOriginShift() const
Definition:
robot_model_plugin.cpp:44
vigir_generic_params
vigir_footstep_planning::RobotModelPlugin::upper_body_origin_shift_
geometry_msgs::Vector3 upper_body_origin_shift_
Definition:
robot_model_plugin.h:71
vigir_footstep_planning::RobotModelPlugin::isUnique
bool isUnique() const final
Definition:
robot_model_plugin.cpp:29
vigir_footstep_planning::RobotModelPlugin::foot_size_
geometry_msgs::Vector3 foot_size_
Definition:
robot_model_plugin.h:67
vigir_footstep_planning::RobotModelPlugin::upper_body_size_
geometry_msgs::Vector3 upper_body_size_
Definition:
robot_model_plugin.h:70
vigir_footstep_planning_plugins
Author(s): Alexander Stumpf
autogenerated on Mon Jun 10 2019 15:47:39