mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Remove IterativeRobotBase mode init prints (#3500)
They don't provide much utility for the end user. A print at the call to HAL_ObserveUserProgramStarting() was added in their place so it's still clear when constructors have finished running.
This commit is contained in:
@@ -22,29 +22,17 @@ IterativeRobotBase::IterativeRobotBase(units::second_t period)
|
||||
: m_period(period),
|
||||
m_watchdog(period, [this] { PrintLoopOverrunMessage(); }) {}
|
||||
|
||||
void IterativeRobotBase::RobotInit() {
|
||||
fmt::print("Default {}() method... Override me!\n", __FUNCTION__);
|
||||
}
|
||||
void IterativeRobotBase::RobotInit() {}
|
||||
|
||||
void IterativeRobotBase::SimulationInit() {
|
||||
fmt::print("Default {}() method... Override me!\n", __FUNCTION__);
|
||||
}
|
||||
void IterativeRobotBase::SimulationInit() {}
|
||||
|
||||
void IterativeRobotBase::DisabledInit() {
|
||||
fmt::print("Default {}() method... Override me!\n", __FUNCTION__);
|
||||
}
|
||||
void IterativeRobotBase::DisabledInit() {}
|
||||
|
||||
void IterativeRobotBase::AutonomousInit() {
|
||||
fmt::print("Default {}() method... Override me!\n", __FUNCTION__);
|
||||
}
|
||||
void IterativeRobotBase::AutonomousInit() {}
|
||||
|
||||
void IterativeRobotBase::TeleopInit() {
|
||||
fmt::print("Default {}() method... Override me!\n", __FUNCTION__);
|
||||
}
|
||||
void IterativeRobotBase::TeleopInit() {}
|
||||
|
||||
void IterativeRobotBase::TestInit() {
|
||||
fmt::print("Default {}() method... Override me!\n", __FUNCTION__);
|
||||
}
|
||||
void IterativeRobotBase::TestInit() {}
|
||||
|
||||
void IterativeRobotBase::RobotPeriodic() {
|
||||
static bool firstRun = true;
|
||||
|
||||
Reference in New Issue
Block a user