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 "framevel_io.hpp"
25 #include "frames_io.hpp"
26 
27 namespace KDL {
28 
29 // Output...
30 inline std::ostream& operator << (std::ostream& os,const VectorVel& r) {
31  os << "{" << r.p << "," << r.v << "}" << std::endl;
32  return os;
33 }
34 
35 inline std::ostream& operator << (std::ostream& os,const RotationVel& r) {
36  os << "{" << std::endl << r.R << "," <<std::endl << r.w << std::endl << "}" << std::endl;
37  return os;
38 }
39 
40 
41 inline std::ostream& operator << (std::ostream& os,const FrameVel& r) {
42  os << "{" << std::endl << r.M << "," << std::endl << r.p << std::endl << "}" << std::endl;
43  return os;
44 }
45 
46 inline std::ostream& operator << (std::ostream& os,const TwistVel& r) {
47  os << "{" << std::endl << r.vel << "," << std::endl << r.rot << std::endl << "}" << std::endl;
48  return os;
49 }
50 
51 
52 } // namespace Frame
53 
54 
55 
56 #endif
VectorVel vel
Definition: framevel.hpp:258
VectorVel rot
Definition: framevel.hpp:259
std::ostream & operator<<(std::ostream &os, const VectorAcc &r)
Definition: frameacc_io.hpp:32
RotationVel M
Definition: framevel.hpp:206
VectorVel p
Definition: framevel.hpp:207


orocos_kdl
Author(s):
autogenerated on Sat Jun 15 2019 19:07:36