KDL
1.5.3
Toggle main menu visibility
Loading...
Searching...
No Matches
src
frameacc_io.hpp
Go to the documentation of this file.
1
/*****************************************************************************
2
* \file
3
* Defines I/O related routines to the FrameAccs classes defined in
4
* FrameAccs.h
5
*
6
* \author
7
* Erwin Aertbelien, Div. PMA, Dep. of Mech. Eng., K.U.Leuven
8
*
9
* \version
10
* ORO_Geometry V0.2
11
*
12
* \par History
13
* - $log$
14
*
15
* \par Release
16
* $Id: rrframes_io.h,v 1.1.1.1 2002/08/26 14:14:21 rmoreas Exp $
17
* $Name: $
18
****************************************************************************/
19
#ifndef RRFRAMES_IO
20
#define RRFRAMES_IO
21
22
#include "utilities/utility_io.h"
23
#include "utilities/rall2d_io.h"
24
25
#include "
frames_io.hpp
"
26
#include "
frameacc.hpp
"
27
28
namespace
KDL
{
29
30
31
// Output...
32
inline
std::ostream&
operator <<
(std::ostream& os,
const
VectorAcc
& r) {
33
os <<
"{"
<< r.
p
<<
","
<< r.
v
<<
","
<< r.
dv
<<
"}"
<< std::endl;
34
return
os;
35
}
36
37
inline
std::ostream&
operator <<
(std::ostream& os,
const
RotationAcc
& r) {
38
os <<
"{"
<< std::endl << r.
R
<<
","
<< std::endl << r.
w
<<
39
","
<< std::endl << r.
dw
<< std::endl <<
"}"
<< std::endl;
40
return
os;
41
}
42
43
44
inline
std::ostream&
operator <<
(std::ostream& os,
const
FrameAcc
& r) {
45
os <<
"{"
<< std::endl << r.
M
<<
","
<< std::endl << r.
p
<<
"}"
<< std::endl;
46
return
os;
47
}
48
inline
std::ostream&
operator <<
(std::ostream& os,
const
TwistAcc
& r) {
49
os <<
"{"
<< std::endl << r.
vel
<<
","
<< std::endl << r.
rot
<< std::endl <<
"}"
<< std::endl;
50
return
os;
51
}
52
53
54
}
// namespace Frame
55
56
57
58
#endif
KDL::FrameAcc
Definition
frameacc.hpp:163
KDL::FrameAcc::M
RotationAcc M
Rotation,angular velocity, and angular acceleration of frame.
Definition
frameacc.hpp:165
KDL::FrameAcc::p
VectorAcc p
Translation, velocity and acceleration of origin.
Definition
frameacc.hpp:166
KDL::RotationAcc
Definition
frameacc.hpp:110
KDL::RotationAcc::dw
Vector dw
angular acceration vector
Definition
frameacc.hpp:114
KDL::RotationAcc::w
Vector w
angular velocity vector
Definition
frameacc.hpp:113
KDL::RotationAcc::R
Rotation R
rotation matrix
Definition
frameacc.hpp:112
KDL::TwistAcc
Definition
frameacc.hpp:201
KDL::TwistAcc::rot
VectorAcc rot
rotational velocity and its 1st and 2nd derivative
Definition
frameacc.hpp:204
KDL::TwistAcc::vel
VectorAcc vel
translational velocity and its 1st and 2nd derivative
Definition
frameacc.hpp:203
KDL::VectorAcc
Definition
frameacc.hpp:62
KDL::VectorAcc::p
Vector p
position vector
Definition
frameacc.hpp:64
KDL::VectorAcc::dv
Vector dv
acceleration vector
Definition
frameacc.hpp:66
KDL::VectorAcc::v
Vector v
velocity vector
Definition
frameacc.hpp:65
frameacc.hpp
frames_io.hpp
Defines routines for I/O of Frame and related objects.
KDL
Definition
articulatedbodyinertia.cpp:26
KDL::operator<<
std::ostream & operator<<(std::ostream &os, const VectorAcc &r)
Definition
frameacc_io.hpp:32
Generated by
1.17.0