Egg_drop has a 0..100 range

This commit is contained in:
Amilcar Lucas 2011-09-10 23:35:23 +02:00
parent 0a793a1327
commit 7e0bff9cbe

View File

@ -32,10 +32,10 @@ void egg_waypoint()
if(g.waypoint_index == 3){ if(g.waypoint_index == 3){
if(wp_distance < egg_dist){ if(wp_distance < egg_dist){
g_rc_function[RC_Channel_aux::k_egg_drop]->servo_out = 1500 + (-45*10.31); g_rc_function[RC_Channel_aux::k_egg_drop]->servo_out = 100;
} }
}else{ }else{
g_rc_function[RC_Channel_aux::k_egg_drop]->servo_out = 1500 + (45*10.31); g_rc_function[RC_Channel_aux::k_egg_drop]->servo_out = 0;
} }
} }
} }