PA10/LagrangianModel.h

Go to the documentation of this file.
00001 /* Copyright (C) INRIA 1999-2005
00002 ** 
00003 ** This program is free software; you can redistribute it and/or modify it
00004 ** under the terms of the GNU General Public License version 2 as published
00005 ** by the Free Software Foundation.
00006 ** 
00007 ** This program is distributed in the hope that it will be useful, but
00008 ** WITHOUT ANY WARRANTY; without even the implied warranty of
00009 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
00010 ** Public License for more details.
00011 ** 
00012 ** You should have received a copy of the GNU General Public License along
00013 ** with this program; if not, write to the Free Software Foundation, Inc.,
00014 ** 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00015 ** 
00016 */
00027 #ifndef __LagrangianModel_h
00028 #define __LagrangianModel_h
00029 
00030 #ifdef WINDOWS
00031 #define extern __declspec (dllexport)
00032 #endif
00033 
00034 /* A mettre dans la generation maple !!! */
00035 #define NDOF 7
00036 #define NTAGS (10+1)
00037 #define NCONT 5
00038 
00039 #define VFRIC1    10
00040 #define VFRIC2    10
00041 #define VFRIC3     5
00042 #define VFRIC4     5
00043 #define VFRIC5     2
00044 #define VFRIC6     2
00045 #define VFRIC7     2
00046 
00047 #define SFRIC1     0
00048 #define SFRIC2     0
00049 #define SFRIC3     0
00050 #define SFRIC4     0
00051 #define SFRIC5     0
00052 #define SFRIC6     0
00053 #define SFRIC7     0
00054 
00055 
00063 extern void Friction(double F[NDOF], double q[NDOF], double qdot[NDOF]);
00064 
00071 extern  void
00072 Contact(double *CC,double *q);
00073 
00080 extern void
00081 ContactJacobian(double *CJ,double *q);
00082 
00090 extern void
00091 ContactHessian(double *H,double *q, double *qdot);
00092 
00101 extern void
00102 NLEffects(double *N, double *q, double *qdot);
00103 
00110 extern void 
00111 Inertia(double *M,double *q);
00112 
00122 extern void 
00123 Tags(double *T, double *q);
00124 
00125 
00126 
00127 #endif /* __LagrangianModel_h */

HuMAnS

humans-users@inrialpes.fr


Generated on Tue Mar 6 14:12:04 2007 for HuMAnS by doxygen 1.4.7