RobotModel.cpp
Go to the documentation of this file.
1 
21 
22 namespace robot_model_services {
25 
27  return this->calculateRobotState(mCurrentRobotState, position, orientation);
28  }
29 
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 
43  return this->getBase_RotationalMovementCosts(mCurrentRobotState, targetRobotState);
44  }
45 
46  void RobotModel::setCurrentRobotState(const RobotStatePtr &currentRobotState) {
47  mCurrentRobotState = currentRobotState;
48  }
49 
51  return mCurrentRobotState;
52  }
53 }
void setCurrentRobotState(const RobotStatePtr &currentRobotState)
Definition: RobotModel.cpp:46
float getBase_RotationalMovementCosts(const RobotStatePtr &targetRobotState)
Definition: RobotModel.cpp:42
float getPTU_PanMovementCosts(const RobotStatePtr &targetRobotState)
Definition: RobotModel.cpp:34
Eigen::Matrix< Precision, 3, 1 > SimpleVector3
Definition: typedef.hpp:50
float getPTU_TiltMovementCosts(const RobotStatePtr &targetRobotState)
Definition: RobotModel.cpp:38
this namespace contains all generally usable classes.
Definition: DebugHelper.hpp:27
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
float getBase_TranslationalMovementCosts(const RobotStatePtr &targetRobotState)
Definition: RobotModel.cpp:30
RobotStatePtr getCurrentRobotState()
Definition: RobotModel.cpp:50
virtual ~RobotModel()
the destructor of the RobotModel object
Definition: RobotModel.cpp:24
Eigen::Quaternion< Precision > SimpleQuaternion
Definition: typedef.hpp:64
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