Was trying to match 'IMU call along' instead of 'IMU cal along',
causing the line to not match and losing the IMU accel cal values.
Signed-off-by: Keith Packard <keithp@keithp.com>
- if (line.startsWith("IMU call along")) {
+ if (line.startsWith("IMU cal along")) {
String[] bits = line.split("\\s+");
if (bits.length >= 8) {
accel_zero_along = Integer.parseInt(bits[3]);
String[] bits = line.split("\\s+");
if (bits.length >= 8) {
accel_zero_along = Integer.parseInt(bits[3]);