Go to Post Measure it with a micrometer, mark it with chalk, and cut it with an axe. This is not an exact science. - Jim Meyer [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 30-01-2013, 14:06
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: SmartDashboard not connecting?

Quote:
Originally Posted by robodoggy View Post
Hi all, maybe you can shed some light on my problem. I seem to not be able to send data to the SmartDashboard.

I'm writing this year's code in Java, here is the code I am attempting to run:


public void autonomous() {
System.out.println("test");
SmartDashboard.putDouble("joyAngle", 7.0);
}

public void operatorControl() { }
}
Have you put the robot in autonomous and enabled it, so that the the data gets put to the SmartDashboard?

Quote:
Originally Posted by robodoggy View Post
I'll try that exact code when I get in tomorrow.

I know that I have the IP address configured correctly on the Driver Station, and I entered "23" when asked for my team number for the SmartDashboard. I have no problems connecting to the robot in any other regard.

Curiously, I do not have a `~/sunspotfrcsdk/tools/` folder, although I do have other folders in `~/sunspotfrcsdk`. Do you know what installation creates that folder, as I might be missing that. I have installed Java, NetBeans, the 6 NetBeans Plugins (from the xml file hosted by WPI), and the most recent SmartDashboard Installer from this page
The 2012 plugins did not have a tools folder (I'm pretty sure). The 2013 plugins do. Are you sure you're using the 2013 plugins? The current version is 2013.0.417. The update location changed. See http://wpilib.screenstepslive.com/s/...elopment-tools

If you use the 2013 Smart Dashboard with a robot with 2012 java, it will not connect. Alternately, if you downloaded Smart Dashboard 1.02 from that page, and use it with a robot with 2013 java, it won't connect.

What was the result of testing Brad's suggestions?
Reply With Quote
 


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 11:39.

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