From 401b907c71686c18aff4214133d3ae4487090035 Mon Sep 17 00:00:00 2001 From: Darshana Sanjeewan Adikari Date: Thu, 21 Nov 2024 23:51:04 +0100 Subject: [PATCH] Minor cleanups and patches --- crates/control/src/behavior/calibrate.rs | 2 +- crates/control/src/calibration_controller.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/control/src/behavior/calibrate.rs b/crates/control/src/behavior/calibrate.rs index b132debd5b..c4ed1b79b3 100644 --- a/crates/control/src/behavior/calibrate.rs +++ b/crates/control/src/behavior/calibrate.rs @@ -23,7 +23,7 @@ pub fn execute( HeadMotion::LookAt { target, camera: Some(camera), - image_region_target: ImageRegion::Bottom, + image_region_target: ImageRegion::Center, } } else { HeadMotion::Unstiff diff --git a/crates/control/src/calibration_controller.rs b/crates/control/src/calibration_controller.rs index 2d3ee8abf6..4db9b20e6b 100644 --- a/crates/control/src/calibration_controller.rs +++ b/crates/control/src/calibration_controller.rs @@ -283,11 +283,11 @@ fn collect_filtered_values( // TODO Add fancier logic to either set this via parameters OR detect the location, walk, etc fn generate_look_at_list() -> Vec<(Point2, CameraPosition)> { let look_at_points: Vec> = vec![ - point![1.0, -0.5], - point![2.5, -0.5], - point![2.5, 0.0], - point![2.5, 0.5], - point![1.0, 0.5], + point![1.0, -0.2], + point![2.0, -0.2], + point![2.0, 0.0], + point![2.0, 0.2], + point![1.0, 0.2], point![1.0, 0.0], ];