@@ -92,7 +92,7 @@ void Log::record(DataToLog &aDataToLog) {
92
92
for (unsigned int axis = 0 ; axis < 3 ; axis++) {
93
93
if (StoredData_.accelerometer .size () >= lrefts_ * 3 + 3 )
94
94
StoredData_.accelerometer [lrefts_ * 3 + axis] =
95
- aDataToLog.accelerometer [axis];
95
+ aDataToLog.accelerometer [axis];
96
96
}
97
97
for (unsigned int axis = 0 ; axis < 3 ; axis++) {
98
98
if (StoredData_.gyrometer .size () >= lrefts_ * 3 + 3 )
@@ -102,10 +102,10 @@ void Log::record(DataToLog &aDataToLog) {
102
102
103
103
for (unsigned int fsID = 0 ; fsID < profileLog_.nbForceSensors ; fsID++) {
104
104
for (unsigned int axis = 0 ; axis < 6 ; axis++) {
105
- if (StoredData_.force_sensors .size () > lrefts_ * width_pad +
106
- (profileLog_.nbForceSensors - 1 ) * 6 + 5 )
105
+ if (StoredData_.force_sensors .size () >
106
+ lrefts_ * width_pad + (profileLog_.nbForceSensors - 1 ) * 6 + 5 )
107
107
StoredData_.force_sensors [lrefts_ * width_pad + fsID * 6 + axis] =
108
- aDataToLog.force_sensors [fsID * 6 + axis];
108
+ aDataToLog.force_sensors [fsID * 6 + axis];
109
109
}
110
110
}
111
111
@@ -114,8 +114,8 @@ void Log::record(DataToLog &aDataToLog) {
114
114
115
115
if (StoredData_.timestamp .size () > lrefts_) {
116
116
StoredData_.timestamp [lrefts_] =
117
- ((double )current.tv_sec + 0.000001 * (double )current.tv_usec ) -
118
- timeorigin_;
117
+ ((double )current.tv_sec + 0.000001 * (double )current.tv_usec ) -
118
+ timeorigin_;
119
119
120
120
StoredData_.duration [lrefts_] = time_stop_it_ - time_start_it_;
121
121
}
0 commit comments