From 9904b9ed816e89a4f01ca13ecdd01d86ed4ccbf0 Mon Sep 17 00:00:00 2001 From: Robofish <1683502971@qq.com> Date: Fri, 3 Oct 2025 00:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E6=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- User/module/config.c | 4 ++-- User/module/shoot.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/User/module/config.c b/User/module/config.c index c25bb90..b7e6e09 100644 --- a/User/module/config.c +++ b/User/module/config.c @@ -23,8 +23,8 @@ Config_RobotParam_t robot_config = { .shoot_param = { .trig_step_angle=M_2PI/8, - .shot_delay_time=0.05f, - .shot_burst_num=1, + .shot_delay_time=0.5f, + .shot_burst_num=20, .fric_motor_param[0] = { .can = BSP_CAN_2, .id = 0x201, diff --git a/User/module/shoot.c b/User/module/shoot.c index 6fdd1b7..bafbd4e 100644 --- a/User/module/shoot.c +++ b/User/module/shoot.c @@ -133,7 +133,7 @@ int8_t Shoot_Init(Shoot_t *s, Shoot_Params_t *param, float target_freq) memset(&s->shoot_Anglecalu,0,sizeof(s->shoot_Anglecalu)); memset(&s->output,0,sizeof(s->output)); - s->target_variable.target_rpm=4000.0f; + s->target_variable.target_rpm=6000.0f; return 0; }