Main Page
Namespaces
Classes
Files
File List
File Members
src
robot_model
RobotModel.cpp
Go to the documentation of this file.
1
20
#include "
robot_model_services/robot_model/RobotModel.hpp
"
21
22
namespace
robot_model_services
{
23
RobotModel::RobotModel
() {}
24
RobotModel::~RobotModel
() {}
25
26
RobotStatePtr
RobotModel::calculateRobotState
(
const
SimpleVector3
&position,
const
SimpleQuaternion
&orientation) {
27
return
this->
calculateRobotState
(
mCurrentRobotState
, position, orientation);
28
}
29
30
float
RobotModel::getBase_TranslationalMovementCosts
(
const
RobotStatePtr
&targetRobotState) {
31
return
this->
getBase_TranslationalMovementCosts
(
mCurrentRobotState
, targetRobotState);
32
}
33
34
float
RobotModel::getPTU_PanMovementCosts
(
const
RobotStatePtr
&targetRobotState) {
35
return
this->
getPTU_PanMovementCosts
(
mCurrentRobotState
, targetRobotState);
36
}
37
38
float
RobotModel::getPTU_TiltMovementCosts
(
const
RobotStatePtr
&targetRobotState) {
39
return
this->
getPTU_TiltMovementCosts
(
mCurrentRobotState
, targetRobotState);
40
}
41
42
float
RobotModel::getBase_RotationalMovementCosts
(
const
RobotStatePtr
&targetRobotState) {
43
return
this->
getBase_RotationalMovementCosts
(
mCurrentRobotState
, targetRobotState);
44
}
45
46
void
RobotModel::setCurrentRobotState
(
const
RobotStatePtr
¤tRobotState) {
47
mCurrentRobotState
= currentRobotState;
48
}
49
50
RobotStatePtr
RobotModel::getCurrentRobotState
() {
51
return
mCurrentRobotState
;
52
}
53
}
robot_model_services::RobotModel::setCurrentRobotState
void setCurrentRobotState(const RobotStatePtr ¤tRobotState)
Definition:
RobotModel.cpp:46
robot_model_services::RobotModel::getBase_RotationalMovementCosts
float getBase_RotationalMovementCosts(const RobotStatePtr &targetRobotState)
Definition:
RobotModel.cpp:42
robot_model_services::RobotModel::getPTU_PanMovementCosts
float getPTU_PanMovementCosts(const RobotStatePtr &targetRobotState)
Definition:
RobotModel.cpp:34
robot_model_services::SimpleVector3
Eigen::Matrix< Precision, 3, 1 > SimpleVector3
Definition:
typedef.hpp:50
boost::shared_ptr< RobotState >
robot_model_services::RobotModel::getPTU_TiltMovementCosts
float getPTU_TiltMovementCosts(const RobotStatePtr &targetRobotState)
Definition:
RobotModel.cpp:38
robot_model_services
this namespace contains all generally usable classes.
Definition:
DebugHelper.hpp:27
robot_model_services::RobotModel::calculateRobotState
RobotStatePtr calculateRobotState(const robot_model_services::SimpleVector3 &position, const robot_model_services::SimpleQuaternion &orientation)
calculates the target robot state by assuming the saved current state of the roboter as source state ...
Definition:
RobotModel.cpp:26
robot_model_services::RobotModel::getBase_TranslationalMovementCosts
float getBase_TranslationalMovementCosts(const RobotStatePtr &targetRobotState)
Definition:
RobotModel.cpp:30
RobotModel.hpp
robot_model_services::RobotModel::getCurrentRobotState
RobotStatePtr getCurrentRobotState()
Definition:
RobotModel.cpp:50
robot_model_services::RobotModel::~RobotModel
virtual ~RobotModel()
the destructor of the RobotModel object
Definition:
RobotModel.cpp:24
robot_model_services::SimpleQuaternion
Eigen::Quaternion< Precision > SimpleQuaternion
Definition:
typedef.hpp:64
robot_model_services::RobotModel::mCurrentRobotState
RobotStatePtr mCurrentRobotState
Definition:
RobotModel.hpp:39
robot_model_services::RobotModel::RobotModel
RobotModel()
the constructor of the RobotModel object
Definition:
RobotModel.cpp:23
asr_robot_model_services
Author(s): Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
autogenerated on Mon Jun 10 2019 12:49:59