|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SmartDashboard CommandButton
We are using buttons on smartdashboard to trigger preset shooter commands. However, the buttons are quite small for use on a touch screen. When I right click on it, I can change to CommandButton, which allows resizing. The problem, it no longer works. How do I integrate CommandButton into our program (java). Right now we are using:
Code:
SmartDashboard.putData("Back Pyramid", new PresetShot(16.0, 4500.0));
|
|
#2
|
||||
|
||||
|
Re: SmartDashboard CommandButton
Try making an "InternalButton" that links to the command, and then add the InternalButton to the SmartDashboard using putData.
Last edited by F22Rapture : 13-03-2013 at 00:10. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|