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; }