|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
on the dashboard, and lack of imports/declarations in tutorials
I'm wondering what I declare to use the dashboard?
Read this: http://wpilib.screenstepslive.com/s/...-robot-program Didn't show what imports I use. Also if I do dashboard.putNumber("string", 1); and then dashboard.putNumber("string", 2); will the 1 be replaced with a 2 or will there be two things onscreen? And why do these tutorials not include all the imports/variable declarations for things, it makes me ask these questions that are probably asked every year about what they are. |
|
#2
|
||||
|
||||
|
Re: on the dashboard, and lack of imports/declarations in tutorials
Quote:
Quote:
|
|
#3
|
||||
|
||||
|
Re: on the dashboard, and lack of imports/declarations in tutorials
It still isn't working, variable "SmartDashboard" not found. Tried everything I could thing of similar to that.
|
|
#4
|
|||||
|
|||||
|
Re: on the dashboard, and lack of imports/declarations in tutorials
It sounds like you don't have an import for the SmartDashboard in your code.
|
|
#5
|
||||
|
||||
|
Re: on the dashboard, and lack of imports/declarations in tutorials
ctrl+shift+i
|
|
#6
|
||||
|
||||
|
Re: on the dashboard, and lack of imports/declarations in tutorials
Thanks, that fixed it. Now I have it working. I will remember that trick for the future.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|