Unflip motors
We're going to deal with them all in software here now, and not
per-motor controller configuration.
Change-Id: I25894da843e0a168fe9e92483ceebf5ef7e368e6
diff --git a/motors/simpler_receiver.cc b/motors/simpler_receiver.cc
index b3e5a36..86539bd 100644
--- a/motors/simpler_receiver.cc
+++ b/motors/simpler_receiver.cc
@@ -394,8 +394,8 @@
vesc_set_duty(0, -output.left_voltage / 12.0f);
vesc_set_duty(1, -output.left_voltage / 12.0f);
- vesc_set_duty(2, -output.right_voltage / 12.0f);
- vesc_set_duty(3, -output.right_voltage / 12.0f);
+ vesc_set_duty(2, output.right_voltage / 12.0f);
+ vesc_set_duty(3, output.right_voltage / 12.0f);
}
}