Permalink
Browse files

Rover: support k_steering channel

  • Loading branch information...
1 parent 2cf98e4 commit 7104bdf85549959f4610206b95486446a1f89d24 @tridge tridge committed Mar 5, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 APMrover2/Steering.pde
View
3 APMrover2/Steering.pde
@@ -186,6 +186,9 @@ static void set_servos(void)
{
int16_t last_throttle = channel_throttle->radio_out;
+ // support a separate steering channel
+ RC_Channel_aux::set_servo_out(RC_Channel_aux::k_steering, channel_steer->pwm_to_angle_dz(0));
+
if ((control_mode == MANUAL || control_mode == LEARNING) &&
(g.skid_steer_out == g.skid_steer_in)) {
// do a direct pass through of radio values

0 comments on commit 7104bdf

Please sign in to comment.