SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
taoVar.h
1 /* Copyright (c) 2005 Arachi, Inc. and Stanford University. All rights reserved.
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining
4  * a copy of this software and associated documentation files (the
5  * "Software"), to deal in the Software without restriction, including
6  * without limitation the rights to use, copy, modify, merge, publish,
7  * distribute, sublicense, and/or sell copies of the Software, and to
8  * permit persons to whom the Software is furnished to do so, subject
9  * to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included
12  * in all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21  */
22 
26 #ifndef _taoVar_h
27 #define _taoVar_h
28 
29 #ifdef OSX
30 // that's why variables should never start with an underscore...
31 # undef _Q
32 #endif // OSX
33 
34 #include <tao/matrix/TaoDeMath.h>
35 
36 
42 class taoDVar
43 {
44 public:
45 };
46 
53 class taoVarDOF1 : public taoDVar
54 {
55 public:
56  deFloat q_;
57  deFloat dq_;
58  deFloat ddq_;
59  deFloat tau_;
60 };
61 
68 class taoVarSpherical : public taoDVar
69 {
70 public:
76 };
77 
78 #endif // _taoVar_h
deQuaternion q_quat_
joint position
Definition: taoVar.h:71
3x1 vector classThis is a C++ wrapper class of deVector3f.
Definition: TaoDeVector3.h:32
1-DOF joint variable class for articulated bodyThis provides joint variables necessary for articulate...
Definition: taoVar.h:53
deFloat dq_
joint velocity
Definition: taoVar.h:57
deVector3 dq_rotated_
joint velocity in reference (parent) frame
Definition: taoVar.h:75
deFloat q_
joint position
Definition: taoVar.h:56
deFloat ddq_
joint acceleration
Definition: taoVar.h:58
spherical joint variable class for articulated bodyThis provides joint variables necessary for articu...
Definition: taoVar.h:68
deVector3 ddq_
joint acceleration
Definition: taoVar.h:73
deFloat tau_
joint force (torque)
Definition: taoVar.h:59
Quaternion classThis is a C++ wrapper class of deQuaternionf.
Definition: TaoDeQuaternion.h:35
abstract joint variable class for articulated bodyThis class should be used as a base class and imple...
Definition: taoVar.h:42
deVector3 force_gc_
joint force (torque)
Definition: taoVar.h:74
deVector3 dq_
joint velocity in local frame
Definition: taoVar.h:72