Unsure of what is necessary for auto 2019

With driver control during the Sandstorm period in Java (command based) do I need to do anything for the autonomousPeriodic portion of Robot.java or should all the code linked to the OI.java run during Teleop and Auto/Sandstorm?

Any code that you want to run in the first 15 seconds needs to be in the “autonomous” section, regardless if the language you’re using. It’s essentially the same as past years, except that you can use joysticks in this mode. See https://wpilib.screenstepslive.com/s/currentCS/m/getting_started/l/1028812-new-for-2019 for more.

If I were to a run a Practice Match through the NI Driver Station would I expect to be able to use the joystick controls the same as I do when I run a TeleOperated Match? I currently have DS version 19.0 which I believe is the latest version.

Running a practice match (with the default 15 seconds for autonomous) is a great way to test. It’ll run through the same modes as on the field, so if you can’t move in autonomous the way you expect, you’ll see the same behavior on the field unless you change your code.

Thank you!

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