Adding a ps4/xbox controller to wiplab Java

We are deciding to move away from joysticks and into using controllers this year any answer to any of these questions would be appreciated
We have a 6 wheel Neo drive in we are programming in Java and would like a tank drive

Questions

  1. When adding stuff over from the official frc page we have the error constant cannot be resolved to a variable how could we fix this
  2. How can we make this a tank drive
  3. How do we make it drive do we actually need to make to code it like joystick or is it different with controller

Definitely take a look at the example projects provided by WPILib. There is specifically a TankDrive one using XBox controllers

WPILib has many example projects, including an example TankDrive

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.