Go to Post Define "surgery". I think we have enough close calls with "surgery" as it is. Thank god for disable dongles. - geeknerd99 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
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 14-03-2013, 20:43
frankthelyon frankthelyon is offline
Registered User
FRC #2557
 
Join Date: Jan 2012
Location: Tacoma
Posts: 23
frankthelyon is an unknown quantity at this point
SmartDashboard Issues

Hello, my team has been trying to put data onto the smartDashboard with the following code:
We first import SmartDashboard and the call SmartDashboard.init() to initialize. We then use:
Code:
SmartDashboard.PutNumber("Name", number)
to write to the dashboard. Using TableViewer, we can see that all of the values we are writing are properly being transmitted. However, none of our values are showing up in the SmartDashboard. Our connection indicator even shows green.

We are using robotpy 2013.2 and the latest version of SmartDashboard. Any help is appreciated.

Thank you.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-03-2013, 13:15
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,040
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: SmartDashboard Issues

Hm. It should work... I can't think of any good reasons why it wouldn't work. It's been working for us. Your code is running, correct?

Do you have it configured correctly with your team number in preferences? You might also check to see if any variables are present in the View -> Reveal portion of the SmartDashboard. Also, Another thought is to remove the settings file for SmartDashboard, and start it up again to see if that fixes it.

I just uploaded RobotPy 2013.3 to FirstForge, try that too and let me know. It also has the mandatory C++ updates included, so you should run that anyways.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
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 19:53.

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