From 666d628488d62e7b0fd97591b05cdb7acb357cce Mon Sep 17 00:00:00 2001 From: EmaMaker Date: Mon, 1 Mar 2021 16:00:48 +0100 Subject: [PATCH] sys-camera: a bit of recalibration --- include/systems/lines/linesys_camera.h | 2 +- include/systems/position/positionsys_camera.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/systems/lines/linesys_camera.h b/include/systems/lines/linesys_camera.h index d0ba408..3edabef 100644 --- a/include/systems/lines/linesys_camera.h +++ b/include/systems/lines/linesys_camera.h @@ -16,7 +16,7 @@ #define S4I A9 #define S4O A8 -#define LINE_THRESH_CAM 300 +#define LINE_THRESH_CAM 600 #define EXIT_TIME 250 #define LINES_EXIT_SPD 350 diff --git a/include/systems/position/positionsys_camera.h b/include/systems/position/positionsys_camera.h index a0fa4df..ade806d 100644 --- a/include/systems/position/positionsys_camera.h +++ b/include/systems/position/positionsys_camera.h @@ -5,8 +5,8 @@ //Note: those variables can be changes, and will need to change depending on camera calibration //Camera center: those setpoints correspond to the center of the field -#define CAMERA_CENTER_X -10 -#define CAMERA_CENTER_Y 20 +#define CAMERA_CENTER_X -0 +#define CAMERA_CENTER_Y 0 //Camera goal: those setpoints correspond to the position of the center of the goal on the field #define CAMERA_GOAL_X 10