Go to Post Don't get mad, learn, and get even. - Eric O [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-12-2012, 22:59
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
SmartDashboard issues.

Hello. This is my first time using java. I got most things working but am having issues with the dashboard. When I start up the smartDashboard, the connection indicator stays red. Are there any special objects that need to be created for it to work? Does it even work in iterative robot? or does it have to be in commandBasedJava? This is causing large problems for me as I need this to work for debugging the code. I give thanks in advance to anyone who can help me with this.
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-12-2012, 23:41
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: SmartDashboard issues.

I don't have a solution for you, but I know that we used the indicator last year and sometimes it worked well, while sometimes not working at all. I'm not entirely sure the code behind it, but you could probably find out in the source code.
__________________
All opinions are my own.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-01-2013, 09:37
dheerm's Avatar
dheerm dheerm is offline
Drive Team and Head Programmer
AKA: Dheer Mirchandani
FRC #0224 (The Tribe)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Piscataway
Posts: 37
dheerm will become famous soon enough
Re: SmartDashboard issues.

It works fine on our robot. Import the smart dashboard class and make sure you initialize it via getInstance() , its a static class
__________________
"All you need is duct tape and a dream"

Team 224:
District Champions @TCNJ w/ Team 56 and Team 293

8th alliance captain at MAR championships w/ (take a guess) , Team 56 and Team 293.

www.team224.com
Reply With Quote
  #4   Spotlight this post!  
Unread 05-01-2013, 18:04
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Re: SmartDashboard issues.

getInstance() doesn't exist for SmartDashboard.
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-01-2013, 00:41
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 434
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: SmartDashboard issues.

My guess is you don't have your team number set up correctly, or the laptop which is running smartDashboard doesn't have it's network settings configured properly.

Lucky for you the documentation has gone through a significant overhaul recently. You should read through the guides here: http://wpilib.screenstepslive.com/s/3120/m/7932 particularly getting started

Keep in mind that the new documentation is meant for the 2013 version of smartdashboard, although it will likely be good enough to get you going with last years version. If it doesn't match up for some reason, I made a quick and dirty setup guide after I figured out how to get it up and running last year.
__________________
http://team2168.org
Reply With Quote
  #6   Spotlight this post!  
Unread 06-01-2013, 01:43
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Re: SmartDashboard issues.

Hmm. Great guide you sent me. I will see if I can get it working using the new dashboard that comes with the driver station. In my last reply though, I meant that when I was coding in netbeans, getInstance wasn't one of the options when selecting the method to call.

I have a completely new question now though: what is live window and is it necessarry to do anything with it or network tables to get things working?
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-01-2013, 14:22
dheerm's Avatar
dheerm dheerm is offline
Drive Team and Head Programmer
AKA: Dheer Mirchandani
FRC #0224 (The Tribe)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Piscataway
Posts: 37
dheerm will become famous soon enough
Re: SmartDashboard issues.

Quote:
Originally Posted by Hypnotoad View Post
getInstance() doesn't exist for SmartDashboard.
Sorry, messed that up lol. Just make sure you import SmartDashboard and use the guide that the previous user posted.
__________________
"All you need is duct tape and a dream"

Team 224:
District Champions @TCNJ w/ Team 56 and Team 293

8th alliance captain at MAR championships w/ (take a guess) , Team 56 and Team 293.

www.team224.com
Reply With Quote
  #8   Spotlight this post!  
Unread 06-01-2013, 19:20
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Re: SmartDashboard issues.

YAAAAAAAAAAAAAAAAAYY! I updated the driverstation to the 2013 version and everything worked! No clue what it was but it works now. Now for a new question that I will post in a new thread: how to display images?
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi