mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Remove most 2022 deprecations (#4205)
Excludes "old" commands and SimDevice functions.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <units/time.h>
|
||||
#include <wpi/deprecated.h>
|
||||
|
||||
#include "frc/RobotBase.h"
|
||||
#include "frc/Watchdog.h"
|
||||
@@ -207,17 +206,6 @@ class IterativeRobotBase : public RobotBase {
|
||||
*/
|
||||
units::second_t GetPeriod() const;
|
||||
|
||||
/**
|
||||
* Constructor for IterativeRobotBase.
|
||||
*
|
||||
* @param period Period in seconds.
|
||||
*
|
||||
* @deprecated Use IterativeRobotBase(units::second_t period) with unit-safety
|
||||
* instead
|
||||
*/
|
||||
WPI_DEPRECATED("Use constructor with unit-safety instead.")
|
||||
explicit IterativeRobotBase(double period);
|
||||
|
||||
/**
|
||||
* Constructor for IterativeRobotBase.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user