RobotModel.cpp
Go to the documentation of this file.
00001 
00020 #include "robot_model_services/robot_model/RobotModel.hpp"
00021 
00022 namespace robot_model_services {
00023         RobotModel::RobotModel()  {}
00024         RobotModel::~RobotModel() {}
00025 
00026         RobotStatePtr RobotModel::calculateRobotState(const SimpleVector3 &position, const SimpleQuaternion &orientation) {
00027                 return this->calculateRobotState(mCurrentRobotState, position, orientation);
00028         }
00029 
00030     float RobotModel::getBase_TranslationalMovementCosts(const RobotStatePtr &targetRobotState) {
00031         return this->getBase_TranslationalMovementCosts(mCurrentRobotState, targetRobotState);
00032         }
00033 
00034     float RobotModel::getPTU_PanMovementCosts(const RobotStatePtr &targetRobotState) {
00035         return this->getPTU_PanMovementCosts(mCurrentRobotState, targetRobotState);
00036     }
00037 
00038     float RobotModel::getPTU_TiltMovementCosts(const RobotStatePtr &targetRobotState) {
00039         return this->getPTU_TiltMovementCosts(mCurrentRobotState, targetRobotState);
00040     }
00041 
00042     float RobotModel::getBase_RotationalMovementCosts(const RobotStatePtr &targetRobotState) {
00043         return this->getBase_RotationalMovementCosts(mCurrentRobotState, targetRobotState);
00044     }
00045 
00046         void RobotModel::setCurrentRobotState(const RobotStatePtr &currentRobotState) {
00047                 mCurrentRobotState = currentRobotState;
00048         }
00049 
00050         RobotStatePtr RobotModel::getCurrentRobotState() {
00051                 return mCurrentRobotState;
00052         }
00053 }


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 Sat Jun 8 2019 18:24:52