HAND FIXES: Manual cleanup of namespaces

This commit is contained in:
PJ Reiniger
2025-11-07 20:00:38 -05:00
committed by Peter Johnson
parent ad138270a8
commit 3f740894c9
35 changed files with 77 additions and 59 deletions

View File

@@ -24,7 +24,7 @@ VisionRunnerBase::VisionRunnerBase(cs::VideoSource videoSource)
VisionRunnerBase::~VisionRunnerBase() = default;
void VisionRunnerBase::RunOnce() {
auto csShared = wpi::vision::GetCameraServerShared();
auto csShared = wpi::GetCameraServerShared();
auto res = csShared->GetRobotMainThreadId();
if (res.second && (std::this_thread::get_id() == res.first)) {
csShared->SetVisionRunnerError(
@@ -41,7 +41,7 @@ void VisionRunnerBase::RunOnce() {
}
void VisionRunnerBase::RunForever() {
auto csShared = wpi::vision::GetCameraServerShared();
auto csShared = wpi::GetCameraServerShared();
auto res = csShared->GetRobotMainThreadId();
if (res.second && (std::this_thread::get_id() == res.first)) {
csShared->SetVisionRunnerError(