You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which part is confusing? Do you understand how the example cited above works? In the case above, m_component is your component and do_something() is the input function. The idea is that when the joystick button is pressed, then you call an input function to tell it to do something.
You should add decisions to teleopPeriodic that call the input functions based on joystick actions. For example:
You will find the WPILib documentation very useful: http://first.wpi.edu/FRC/roborio/release/docs/java/
The text was updated successfully, but these errors were encountered: