MILDRobotState.cpp
Go to the documentation of this file.
00001 
00020 #include "robot_model_services/robot_model/impl/MILDRobotState.hpp"
00021 #include <ostream>
00022 
00023 namespace robot_model_services {
00024     MILDRobotState::MILDRobotState(float pan, float tilt, float rotation, float x, float y): RobotState(), pan(pan), tilt(tilt), rotation(rotation), x(x), y(y) { }
00025         MILDRobotState::MILDRobotState() : RobotState(), pan(0), tilt(0), rotation(0), x(0), y(0) { }
00026         MILDRobotState::~MILDRobotState()  { }
00027 
00028     std::ostream& operator<<(std::ostream &strm, const robot_model_services::MILDRobotState &r) {
00029         using std::endl;
00030         return strm << "pan: " << r.pan << endl
00031                     << "tilt: " << r.tilt << endl
00032                     << "rotation: " << r.rotation << endl
00033                     << "x: " << r.x << endl
00034                     << "y: " << r.y << endl;
00035     }
00036 
00037     std::ostream& operator<<(std::ostream &strm, const robot_model_services::MILDRobotStatePtr &r) {
00038         return strm << *r;
00039     }
00040 }


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