Loosen threshold for max dt between mapping images
This allows us to connect observations between different cameras.
Signed-off-by: milind-u <milind.upadhyay@gmail.com>
Change-Id: I08bae3b267d92d0f9b219373f4708c89ff94407e
diff --git a/frc971/vision/target_mapper.h b/frc971/vision/target_mapper.h
index 7701fd1..9d943c9 100644
--- a/frc971/vision/target_mapper.h
+++ b/frc971/vision/target_mapper.h
@@ -122,7 +122,7 @@
// too much
static ceres::examples::VectorOfConstraints MatchTargetDetections(
const std::vector<TimestampedDetection> ×tamped_target_detections,
- aos::distributed_clock::duration max_dt = std::chrono::milliseconds(1));
+ aos::distributed_clock::duration max_dt = std::chrono::milliseconds(10));
// Computes inverse of covariance matrix, assuming there was a target
// detection between robot movement over the given time period. Ceres calls