MBDyn-1.7.3
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
invdyn.h
Go to the documentation of this file.
1
/*
2
* MBDyn (C) is a multibody analysis code.
3
* http://www.mbdyn.org
4
*
5
* Copyright (C) 1996-2017
6
*
7
* Pierangelo Masarati <masarati@aero.polimi.it>
8
* Paolo Mantegazza <mantegazza@aero.polimi.it>
9
*
10
* Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
11
* via La Masa, 34 - 20156 Milano, Italy
12
* http://www.aero.polimi.it
13
*
14
* Changing this copyright notice is forbidden.
15
*
16
* This program is free software; you can redistribute it and/or modify
17
* it under the terms of the GNU General Public License as published by
18
* the Free Software Foundation (version 2 of the License).
19
*
20
*
21
* This program is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
* GNU General Public License for more details.
25
*
26
* You should have received a copy of the GNU General Public License
27
* along with this program; if not, write to the Free Software
28
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29
*/
30
31
#ifndef INVDYN_H
32
#define INVDYN_H
33
34
class
InverseDynamics
{
35
public
:
36
enum
Order
{
37
UNDEFINED
= -2,
38
INVERSE_DYNAMICS
= -1,
39
POSITION
= 0,
40
VELOCITY
= 1,
41
ACCELERATION
= 2
42
};
43
44
enum
Type
{
45
FULLY_ACTUATED
= 0x01U,
46
FULLY_DETERMINED
= 0x02U,
47
COLLOCATED
= 0x04U,
48
49
// fully actuated collocated
50
FULLY_ACTUATED_COLLOCATED
= (
FULLY_ACTUATED
|
FULLY_DETERMINED
|
COLLOCATED
),
51
// fully actuated non collocated
52
FULLY_ACTUATED_NON_COLLOCATED
= (
FULLY_ACTUATED
|
FULLY_DETERMINED
),
53
// underdetermined underactuated collocated
54
UNDERDETERMINED_UNDERACTUATED_COLLOCATED
= (
COLLOCATED
),
55
// underdetermined fully actuated
56
UNDERDETERMINED_FULLY_ACTUATED
= (
FULLY_ACTUATED
),
57
58
59
PRESCRIBED_MOTION
= 0x10U,
60
TORQUE
= 0x20U,
61
ERGONOMY
= 0x40U,
62
RIGHT_HAND_SIDE
= 0x80U
63
};
64
};
65
66
extern
const
char
*
invdyn2str
(
InverseDynamics::Order
iOrder);
67
68
#endif // INVDYN_H
InverseDynamics::UNDERDETERMINED_FULLY_ACTUATED
Definition:
invdyn.h:56
invdyn2str
const char * invdyn2str(InverseDynamics::Order iOrder)
Definition:
invdyn.cc:36
InverseDynamics::Type
Type
Definition:
invdyn.h:44
InverseDynamics::POSITION
Definition:
invdyn.h:39
InverseDynamics::UNDERDETERMINED_UNDERACTUATED_COLLOCATED
Definition:
invdyn.h:54
InverseDynamics::INVERSE_DYNAMICS
Definition:
invdyn.h:38
InverseDynamics::UNDEFINED
Definition:
invdyn.h:37
InverseDynamics::FULLY_ACTUATED_NON_COLLOCATED
Definition:
invdyn.h:52
InverseDynamics::RIGHT_HAND_SIDE
Definition:
invdyn.h:62
InverseDynamics::TORQUE
Definition:
invdyn.h:60
InverseDynamics
Definition:
invdyn.h:34
InverseDynamics::PRESCRIBED_MOTION
Definition:
invdyn.h:59
InverseDynamics::FULLY_ACTUATED
Definition:
invdyn.h:45
InverseDynamics::ERGONOMY
Definition:
invdyn.h:61
InverseDynamics::VELOCITY
Definition:
invdyn.h:40
InverseDynamics::FULLY_ACTUATED_COLLOCATED
Definition:
invdyn.h:50
InverseDynamics::Order
Order
Definition:
invdyn.h:36
InverseDynamics::ACCELERATION
Definition:
invdyn.h:41
InverseDynamics::COLLOCATED
Definition:
invdyn.h:47
InverseDynamics::FULLY_DETERMINED
Definition:
invdyn.h:46
mbdyn
base
invdyn.h
Generated on Fri Apr 13 2018 10:19:33 for MBDyn-1.7.3 by
1.8.7