Main Page
Namespaces
Classes
Files
File List
File Members
src
robot_model
impl
MILDRobotState.cpp
Go to the documentation of this file.
1
20
#include "
robot_model_services/robot_model/impl/MILDRobotState.hpp
"
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) { }
25
MILDRobotState::MILDRobotState
() :
RobotState
(),
pan
(0),
tilt
(0),
rotation
(0),
x
(0),
y
(0) { }
26
MILDRobotState::~MILDRobotState
() { }
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
}
MILDRobotState.hpp
robot_model_services::MILDRobotState::MILDRobotState
MILDRobotState()
Definition:
MILDRobotState.cpp:25
robot_model_services::operator<<
std::ostream & operator<<(std::ostream &strm, const robot_model_services::MILDRobotState &r)
Definition:
MILDRobotState.cpp:28
robot_model_services::MILDRobotState::pan
float pan
Definition:
MILDRobotState.hpp:28
robot_model_services::MILDRobotState::~MILDRobotState
virtual ~MILDRobotState()
Definition:
MILDRobotState.cpp:26
boost::shared_ptr
robot_model_services::MILDRobotState
Definition:
MILDRobotState.hpp:26
robot_model_services
this namespace contains all generally usable classes.
Definition:
DebugHelper.hpp:27
robot_model_services::RobotState
Definition:
RobotState.hpp:26
robot_model_services::MILDRobotState::x
float x
Definition:
MILDRobotState.hpp:31
robot_model_services::MILDRobotState::tilt
float tilt
Definition:
MILDRobotState.hpp:29
robot_model_services::MILDRobotState::y
float y
Definition:
MILDRobotState.hpp:32
robot_model_services::MILDRobotState::rotation
float rotation
Definition:
MILDRobotState.hpp:30
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