orocos_kdl
src
framevel_io.hpp
Go to the documentation of this file.
1
/*****************************************************************************
2
* \file
3
* provides I/O operations on FrameVels classes
4
*
5
* \author
6
* Erwin Aertbelien, Div. PMA, Dep. of Mech. Eng., K.U.Leuven
7
*
8
* \version
9
* ORO_Geometry V2
10
*
11
* \par History
12
* - $log$
13
*
14
* \par Release
15
* $Id: rframes_io.h,v 1.1.1.1 2002/08/26 14:14:21 rmoreas Exp $
16
* $Name: $
17
****************************************************************************/
18
#ifndef KDL_FRAMESVEL_IO
19
#define KDL_FRAMESVEL_IO
20
21
#include "
utilities/utility_io.h
"
22
#include "
utilities/rall1d_io.h
"
23
24
#include "
frames_io.hpp
"
25
26
namespace
KDL
{
27
28
// Output...
29
inline
std::ostream
&
operator <<
(
std::ostream
& os,
const
VectorVel& r) {
30
os <<
"{"
<< r.p <<
","
<< r.v <<
"}"
<<
std::endl
;
31
return
os;
32
}
33
34
inline
std::ostream
&
operator <<
(
std::ostream
& os,
const
RotationVel& r) {
35
os <<
"{"
<<
std::endl
<< r.R <<
","
<<
std::endl
<< r.w <<
std::endl
<<
"}"
<<
std::endl
;
36
return
os;
37
}
38
39
40
inline
std::ostream
&
operator <<
(
std::ostream
& os,
const
FrameVel& r) {
41
os <<
"{"
<<
std::endl
<< r.M <<
","
<<
std::endl
<< r.p <<
std::endl
<<
"}"
<<
std::endl
;
42
return
os;
43
}
44
45
inline
std::ostream
&
operator <<
(
std::ostream
& os,
const
TwistVel
& r) {
46
os <<
"{"
<<
std::endl
<< r.
vel
<<
","
<<
std::endl
<< r.
rot
<<
std::endl
<<
"}"
<<
std::endl
;
47
return
os;
48
}
49
50
51
}
// namespace Frame
52
53
54
55
#endif
KDL::TwistVel
Definition:
framevel.hpp:269
frames_io.hpp
KDL
Definition:
kukaLWR_DHnew.cpp:25
rall1d_io.h
std::ostream
utility_io.h
KDL::TwistVel::rot
VectorVel rot
Definition:
framevel.hpp:275
std::endl
T endl(T... args)
KDL::operator<<
std::ostream & operator<<(std::ostream &os, const VectorAcc &r)
Definition:
frameacc_io.hpp:49
KDL::TwistVel::vel
VectorVel vel
Definition:
framevel.hpp:274
Generated on Tue Nov 26 2024 04:35:24 for orocos_kdl by
1.8.17