Go to Post I'm sure someone somewhere worked [I]really hard[/I] on this and I congratulate them for the attempt. Unfortunately, its one of those things that should be taken down and recorded in the company journal as a bad idea. - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #1   Spotlight this post!  
Unread 22-02-2016, 17:16
Spillertb Spillertb is offline
Registered User
FRC #5752
 
Join Date: Feb 2016
Location: Beverly
Posts: 11
Spillertb is an unknown quantity at this point
SmartDashboard help

I am using command based java on our robot, but no matter what we try we can not get smart dashboard to work. We have a classmate from last year, and we followed the instructions to update everything on it. I have the connection indicator on the dashboard but it is always red. Here is the code I am trying:
Code:
    public void teleopPeriodic() {
        Scheduler.getInstance().run();
        SmartDashboard.putData(driveTrain);
        SmartDashboard.putDouble("test", 12);
    }
and / or
Code:
    public void teleopInit() {
		// This makes sure that the autonomous stops running when
        // teleop starts running. If you want the autonomous to 
        // continue until interrupted by another command, remove
        // this line or comment it out.
        if (autonomousCommand != null) autonomousCommand.cancel();

        SmartDashboard.putData(driveTrain);
        SmartDashboard.putDouble("test", 12);
    }
I have tried every possible iteration of code in command and in robot.java.
We are using the java smart dashboard, our team number is correct, and mDNS is enabled.
Thanks!
 


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 00:54.

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