MILDRobotState.cpp
Go to the documentation of this file.
1 
21 #include <ostream>
22 
23 namespace robot_model_services {
24  MILDRobotState::MILDRobotState(float pan, float tilt, float rotation, float x, float y): RobotState(), pan(pan), tilt(tilt), rotation(rotation), x(x), y(y) { }
27 
28  std::ostream& operator<<(std::ostream &strm, const robot_model_services::MILDRobotState &r) {
29  using std::endl;
30  return strm << "pan: " << r.pan << endl
31  << "tilt: " << r.tilt << endl
32  << "rotation: " << r.rotation << endl
33  << "x: " << r.x << endl
34  << "y: " << r.y << endl;
35  }
36 
37  std::ostream& operator<<(std::ostream &strm, const robot_model_services::MILDRobotStatePtr &r) {
38  return strm << *r;
39  }
40 }
std::ostream & operator<<(std::ostream &strm, const robot_model_services::MILDRobotState &r)
this namespace contains all generally usable classes.
Definition: DebugHelper.hpp:27


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