]> git.droids-corp.org - aversive.git/commitdiff
new servo pos
authorzer0 <zer0@carbon.local>
Sat, 24 Apr 2010 13:15:25 +0000 (15:15 +0200)
committerzer0 <zer0@carbon.local>
Sat, 24 Apr 2010 13:15:25 +0000 (15:15 +0200)
projects/microb2010/mainboard/actuator.c

index 777d94ac10d3e03cfd99403228407a0a10d3a1cc..ed86f335b59f0998d55ef91ce6fa5a4eb2747c2f 100644 (file)
@@ -58,7 +58,7 @@ void pwm_set_and_save(void *pwm, int32_t val)
                val = 4095;
        if (val < -4095)
                val = -4095;
-       
+
        if (pwm == LEFT_PWM)
                mainboard.pwm_l = val;
        else if (pwm == RIGHT_PWM)
@@ -73,16 +73,16 @@ void pwm_set_and_save(void *pwm, int32_t val)
 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
 }