Skip to content

Commit 87593d4

Browse files
authored
Fix initial magnetic field strength unit (#194)
1 parent 238ae1d commit 87593d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robot_calibration/src/nodes/magnetometer_calibration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ int main(int argc, char** argv)
199199
}
200200
double* free_params = new double[num_params];
201201
// Set initial estimate of magnetic field strength
202-
free_params[0] = 0.45;
202+
free_params[0] = 0.000045;
203203
// Setup initial estimates of hard iron offsets (bias)
204204
{
205205
double bias_x = 0.0;

0 commit comments

Comments
 (0)