commit | fee2e60b646b5dbec6d6d5e8dc0a7d9ba0139b56 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Mar 08 18:26:05 2015 -0700 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Mar 08 18:30:03 2015 -0700 |
tree | d641c5ee0c2583465659311ec324f4c2e63ad386 | |
parent | 6e242ac95b6f78c9fb772d2ddeb62cdc772814a3 [diff] [blame] |
Added POV to joysticks. Change-Id: Iad0ea8ed1526a6173502f3f0a9bc8918f0569adc
diff --git a/frc971/wpilib/joystick_sender.cc b/frc971/wpilib/joystick_sender.cc index de7fe88..236cc0f 100644 --- a/frc971/wpilib/joystick_sender.cc +++ b/frc971/wpilib/joystick_sender.cc
@@ -36,6 +36,7 @@ for (int j = 0; j < 4; ++j) { new_state->joysticks[i].axis[j] = ds->GetStickAxis(i, j); } + new_state->joysticks[i].pov = ds->GetStickPOV(i, 0); } LOG_STRUCT(DEBUG, "joystick_state", *new_state);