still unstupidying log interval stuff...
diff --git a/frc971/control_loops/drivetrain/drivetrain.cc b/frc971/control_loops/drivetrain/drivetrain.cc
index 7edeea7..b73c163 100644
--- a/frc971/control_loops/drivetrain/drivetrain.cc
+++ b/frc971/control_loops/drivetrain/drivetrain.cc
@@ -588,10 +588,10 @@
bool bad_pos = false;
if (position == nullptr) {
- no_position_.WantToLog();
+ LOG_INTERVAL(no_position_);
bad_pos = true;
}
- LOG_INTERVAL(no_position_);
+ no_position_.Print();
double wheel = goal->steering;
double throttle = goal->throttle;
diff --git a/frc971/output/motor_writer.cc b/frc971/output/motor_writer.cc
index 864e200..54ff7d9 100644
--- a/frc971/output/motor_writer.cc
+++ b/frc971/output/motor_writer.cc
@@ -43,9 +43,9 @@
} else {
DisablePWMOutput(3);
DisablePWMOutput(8);
- drivetrain_old_.WantToLog();
+ LOG_INTERVAL(drivetrain_old_);
}
- LOG_INTERVAL(drivetrain_old_);
+ drivetrain_old_.Print();
}
{
@@ -60,9 +60,9 @@
} else {
DisablePWMOutput(9);
SetSolenoid(5, false); // engage the brake
- shooter_old_.WantToLog();
+ LOG_INTERVAL(shooter_old_);
}
- LOG_INTERVAL(shooter_old_);
+ shooter_old_.Print();
}
{
@@ -83,9 +83,9 @@
DisablePWMOutput(2);
DisablePWMOutput(4);
DisablePWMOutput(5);
- claw_old_.WantToLog();
+ LOG_INTERVAL(claw_old_);
}
- LOG_INTERVAL(claw_old_);
+ claw_old_.Print();
}
}