Skip to content

Commit

Permalink
fixed capitilization error
Browse files Browse the repository at this point in the history
  • Loading branch information
r4stered committed Nov 25, 2023
1 parent f283c07 commit 0e57b15
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <frc/interpolation/TimeInterpolatableBuffer.h>
#include <frc/smartdashboard/Field2d.h>
#include <frc/smartdashboard/FieldObject2d.h>
#include <frc/smartdashboard/Smartdashboard.h>
#include <frc/smartdashboard/SmartDashboard.h>

#include "photon/simulation/PhotonCameraSim.h"

Expand Down Expand Up @@ -181,8 +181,8 @@ class VisionSystemSim {
std::vector<VisionTargetSim> RemoveVisionTargets(
const std::vector<VisionTargetSim>& targets) {
std::vector<VisionTargetSim> removedList;
for (const auto& entry : targetSets) {
for (const auto& target : entry.second) {
for (auto& entry : targetSets) {
for (auto& target : entry.second) {
auto it = std::find(targets.begin(), targets.end(), target);
if (it != targets.end()) {
removedList.emplace_back(target);
Expand Down

0 comments on commit 0e57b15

Please sign in to comment.