View Single Post
  #2   Spotlight this post!  
Unread 27-12-2013, 14:36
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: 431
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: Running Smartdashboard without cRIO/robot?

I've never tried myself, but you should be able to pull out the SmartDashboard and NetworkTable classes from wpilib.

The source code is included in the sunspotfrcsdk folder if you have installed the FRC java plugins from 2013. Sources are zipped here on a windows machine:
Code:
%HOMEPATH%\sunspotfrcsdk\lib\wpilibj.src.zip
They should be located at the following locations respectively:
edu/wpi/first/wpilibj/smartdashboard
edu/wpi/first/wpilibj/networktables/

Alternatively, you could just include the whole wpilib jar file in your java desktop application. The following should get you everything you need:
Code:
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
You should be able to make calls to the SmartDashboard class in the same manner you would in your robot code. See http://wpilib.screenstepslive.com/s/...manual-id=7932
__________________
http://team2168.org
Reply With Quote