From 2c63f456429f077a246fb0aadc61c3d89732b674 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 28 Jun 2024 10:26:36 +0800 Subject: [PATCH] update --- usrc/subboards/subboard10_hbot_v2/subboard10_hbot_v2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usrc/subboards/subboard10_hbot_v2/subboard10_hbot_v2.cpp b/usrc/subboards/subboard10_hbot_v2/subboard10_hbot_v2.cpp index 6e86eb2..7213482 100644 --- a/usrc/subboards/subboard10_hbot_v2/subboard10_hbot_v2.cpp +++ b/usrc/subboards/subboard10_hbot_v2/subboard10_hbot_v2.cpp @@ -106,8 +106,8 @@ void Subboard10HbotV2::initialize() { xy_defaultcfg.a1 = LEVEL1_A; xy_defaultcfg.amax = LEVEL2_A; xy_defaultcfg.v1 = V1; - xy_defaultcfg.dmax = LEVEL2_A; - xy_defaultcfg.d1 = LEVEL1_A; + xy_defaultcfg.dmax = 10; + xy_defaultcfg.d1 = 10; xy_defaultcfg.vstop = START_AND_STOP_V; xy_defaultcfg.tzerowait = 10; xy_defaultcfg.enc_resolution = 1000; @@ -119,8 +119,8 @@ void Subboard10HbotV2::initialize() { xy_defaultcfg.shift_y = 0; xy_defaultcfg.min_x = -2; xy_defaultcfg.min_y = -2; - xy_defaultcfg.max_x = 5515; - xy_defaultcfg.max_y = 4150; + xy_defaultcfg.max_x = 5714; + xy_defaultcfg.max_y = 4158; xy_defaultcfg.run_to_zero_speed = 80; xy_defaultcfg.look_zero_edge_speed = 10;