Support box of pis in 2022 mapping code
This is what we'll actually be using for mapping. For now, use the
mapping option that doesn't consider robot position.
Signed-off-by: Milind Upadhyay <milind.upadhyay@gmail.com>
Change-Id: I6ed7e7a378da896670aecee3f15acb1541cdec7f
diff --git a/frc971/vision/target_mapper.h b/frc971/vision/target_mapper.h
index 8f83278..16a8343 100644
--- a/frc971/vision/target_mapper.h
+++ b/frc971/vision/target_mapper.h
@@ -124,7 +124,7 @@
// too much
static std::vector<ceres::examples::Constraint2d> MatchTargetDetections(
const std::vector<TimestampedDetection> ×tamped_target_detections,
- aos::distributed_clock::duration max_dt = std::chrono::milliseconds(5));
+ aos::distributed_clock::duration max_dt = std::chrono::milliseconds(1));
// Computes inverse of covariance matrix, assuming there was a target
// detection between robot movement over the given time period. Ceres calls