Commit 58cfe143 authored by Timothee Habra's avatar Timothee Habra

correct point id

parent 0a3fda15
......@@ -385,7 +385,7 @@ void print_c_user_all_id(MDS_gen_strct* gen, char *fileoutH)
fprintf(fidH,"\n");
for(i=0; i< gen->n_sensor; i++)
{
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->sensor_point_list[i]]->sensor->name, i);
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->sensor_point_list[i]]->sensor->name, i+1);
}
fprintf(fidH,"\n\n");
......@@ -393,7 +393,7 @@ void print_c_user_all_id(MDS_gen_strct* gen, char *fileoutH)
fprintf(fidH,"\n");
for(i=0; i< gen->n_extforce; i++)
{
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->extforce_point_list[i]]->extforce->name, i);
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->extforce_point_list[i]]->extforce->name, i+1);
}
fprintf(fidH,"\n\n");
......
......@@ -2,7 +2,7 @@
// C-code automatically generated from Gen_mds_user project
//
//
// Last update : Mon Nov 3 16:32:30 2014
// Last update : Sat Feb 21 23:49:29 2015
//---------------------------
......@@ -152,67 +152,67 @@
// sensor
#define RHipSagJ_id 0
#define LHipSagJ_id 1
#define DWLJ_id 2
#define WaistCg_id 3
#define MidWaist_id 4
#define RHipLatJ_id 5
#define RHipmotCg_id 6
#define RHipYawJ_id 7
#define RThighUpLegCg_id 8
#define RKneeJ_id 9
#define RThighLowLegCg_id 10
#define RAnkJ_id 11
#define RLowLegCg_id 12
#define RFootmotCg_id 13
#define RFoots_id 14
#define RFootCg_id 15
#define LHipLatJ_id 16
#define LHipmotCg_id 17
#define LHipYawJ_id 18
#define LThighUpLegCg_id 19
#define LKneeJ_id 20
#define LThighLowLegCg_id 21
#define LAnkJ_id 22
#define LLowLegCg_id 23
#define LFootmotCg_id 24
#define LFoots_id 25
#define Sensor_2_id 26
#define DWSJ_id 27
#define DWLCg_id 28
#define DWYJ_id 29
#define DWSCg_id 30
#define UpperBodyJ_id 31
#define DWYCg_id 32
#define RShSagJ_id 33
#define LShSagJ_id 34
#define RShpCg_id 35
#define RShLatJ_id 36
#define RShrCg_id 37
#define RShYawJ_id 38
#define RShyCg_id 39
#define RElbJ_id 40
#define RElbCg_id 41
#define Rhand_sens_id 42
#define LShpCg_id 43
#define LShLatJ_id 44
#define LShrCg_id 45
#define LShYawJ_id 46
#define LShyCg_id 47
#define LElbJ_id 48
#define LElbCg_id 49
#define Lhand_sens_id 50
#define RHipSagJ_id 1
#define LHipSagJ_id 2
#define DWLJ_id 3
#define WaistCg_id 4
#define MidWaist_id 5
#define RHipLatJ_id 6
#define RHipmotCg_id 7
#define RHipYawJ_id 8
#define RThighUpLegCg_id 9
#define RKneeJ_id 10
#define RThighLowLegCg_id 11
#define RAnkJ_id 12
#define RLowLegCg_id 13
#define RFootmotCg_id 14
#define RFoots_id 15
#define RFootCg_id 16
#define LHipLatJ_id 17
#define LHipmotCg_id 18
#define LHipYawJ_id 19
#define LThighUpLegCg_id 20
#define LKneeJ_id 21
#define LThighLowLegCg_id 22
#define LAnkJ_id 23
#define LLowLegCg_id 24
#define LFootmotCg_id 25
#define LFoots_id 26
#define Sensor_2_id 27
#define DWSJ_id 28
#define DWLCg_id 29
#define DWYJ_id 30
#define DWSCg_id 31
#define UpperBodyJ_id 32
#define DWYCg_id 33
#define RShSagJ_id 34
#define LShSagJ_id 35
#define RShpCg_id 36
#define RShLatJ_id 37
#define RShrCg_id 38
#define RShYawJ_id 39
#define RShyCg_id 40
#define RElbJ_id 41
#define RElbCg_id 42
#define Rhand_sens_id 43
#define LShpCg_id 44
#define LShLatJ_id 45
#define LShrCg_id 46
#define LShYawJ_id 47
#define LShyCg_id 48
#define LElbJ_id 49
#define LElbCg_id 50
#define Lhand_sens_id 51
// extforce
#define RFoot_force_id 0
#define LFoot_force_id 1
#define Force_Pert_id 2
#define FChest_id 3
#define RExtF_id 4
#define LExtF_id 5
#define RFoot_force_id 1
#define LFoot_force_id 2
#define Force_Pert_id 3
#define FChest_id 4
#define RExtF_id 5
#define LExtF_id 6
// ============================================================ //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment