|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Java to Labview
If you want your robot to respond to a button pushed on the dashboard... this is easy to do with the SmartDashboard in Java. For the Command based robot template put the code below in OI.java and a button will appear on the SmartDashboard.
InternalButton cameraLight = new InternalButton(); cameraLight.whenReleased(new CameraLightToggle()); SmartDashboard.putData("Camera Light Toggle", cameraLight); |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|