View Single Post
  #3   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