Made pistol grip controller work with the drivetrain.
Change-Id: Id5ede34e9a9981c338aaa6118eb5085578a8ecd3
diff --git a/y2014/autonomous/auto.cc b/y2014/autonomous/auto.cc
index e443f6b..96c7132 100644
--- a/y2014/autonomous/auto.cc
+++ b/y2014/autonomous/auto.cc
@@ -67,7 +67,7 @@
::frc971::control_loops::drivetrain_queue.goal.MakeWithBuilder()
.control_loop_driving(false)
.highgear(true)
- .steering(0.0)
+ .wheel(0.0)
.throttle(0.0)
.left_goal(left_initial_position)
.left_velocity_goal(0)
diff --git a/y2014/joystick_reader.cc b/y2014/joystick_reader.cc
index 2bef2f7..7516c97 100644
--- a/y2014/joystick_reader.cc
+++ b/y2014/joystick_reader.cc
@@ -225,7 +225,7 @@
LOG(DEBUG, "Left goal %f Right goal %f\n", left_goal, right_goal);
}
if (!drivetrain_queue.goal.MakeWithBuilder()
- .steering(wheel)
+ .wheel(wheel)
.throttle(throttle)
.highgear(is_high_gear_)
.quickturn(data.IsPressed(kQuickTurn))