mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
|
||||
using namespace frc2;
|
||||
using namespace wpi::cmd;
|
||||
|
||||
CommandTestBase::CommandTestBase() {
|
||||
auto& scheduler = CommandScheduler::GetInstance();
|
||||
@@ -26,7 +26,7 @@ CommandScheduler CommandTestBase::GetScheduler() {
|
||||
}
|
||||
|
||||
void CommandTestBase::SetDSEnabled(bool enabled) {
|
||||
frc::sim::DriverStationSim::SetDsAttached(true);
|
||||
frc::sim::DriverStationSim::SetEnabled(enabled);
|
||||
frc::sim::DriverStationSim::NotifyNewData();
|
||||
wpi::sim::DriverStationSim::SetDsAttached(true);
|
||||
wpi::sim::DriverStationSim::SetEnabled(enabled);
|
||||
wpi::sim::DriverStationSim::NotifyNewData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user