val = 4095;
if (val < -4095)
val = -4095;
-
+
if (pwm == LEFT_PWM)
mainboard.pwm_l = val;
else if (pwm == RIGHT_PWM)
void support_balls_deploy(void)
{
#ifndef HOST_VERSION
- pwm_ng_set(SUPPORT_BALLS_R_SERVO, 510);
- pwm_ng_set(SUPPORT_BALLS_L_SERVO, 205);
+ pwm_ng_set(SUPPORT_BALLS_R_SERVO, 560);
+ pwm_ng_set(SUPPORT_BALLS_L_SERVO, 155);
#endif
}
void support_balls_pack(void)
{
#ifndef HOST_VERSION
- pwm_ng_set(SUPPORT_BALLS_R_SERVO, 250);
- pwm_ng_set(SUPPORT_BALLS_L_SERVO, 480);
+ pwm_ng_set(SUPPORT_BALLS_R_SERVO, 290);
+ pwm_ng_set(SUPPORT_BALLS_L_SERVO, 430);
#endif
}