Reported more info on a zeroing issue.
Change-Id: Id06e35b04f49b2fb3e2ac991734985c8b1ec328b
diff --git a/frc971/zeroing/zeroing.cc b/frc971/zeroing/zeroing.cc
index e8cac6f..2284bde 100644
--- a/frc971/zeroing/zeroing.cc
+++ b/frc971/zeroing/zeroing.cc
@@ -115,8 +115,9 @@
if (!error_) {
LOG(ERROR,
"Encoder ticks out of range since last index pulse. first start "
- "position: %f recent starting position: %f\n",
- first_start_pos_, start_pos_);
+ "position: %f recent starting position: %f, allowable error: %f\n",
+ first_start_pos_, start_pos_,
+ allowable_encoder_error_ * index_diff_);
error_ = true;
}
}