Go to Post Most of our old robots have been scrapped for parts. Our Chairman submissions are still read every year by the whole team. - N7UJJ [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 02-04-2013, 09:51 PM
Folders's Avatar
Folders Folders is offline
Registered User
AKA: Emmanuel
FRC #1671 (Birdbrains)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Clovis
Posts: 8
Folders is an unknown quantity at this point
Thumbs up Smart Dashboard doesn't show any custom extensions.

TLDR: You're extensions aren't showing up?->Try restarting the JVM!

We're trying to get the SmartDashboard on our driver station to work. When we put the .jar extensions inside the extensions folder, they sporadically showed up. Most of the time, the extensions did not show up on the SmartDashboard. They only worked after the computer was restarted.

It turned out that the problem was with the Java Virtual Machine. When we closed the SmartDashboard, some of the program was left in the cache. When we updated it or when we added new extensions, it tried to use the old information and broke the system completely. So what we did was use the command: (IT ONLY WORKS WHEN the working directory is "SmartDashboard" in program files, so you have to navigate there first)
Code:
java -jar SmartDashboard.jar
This made the code run fresh every time, but it still doesn't work some of the time.

(This is mostly to help people with the same issue)
...
__________________
Emmanuel A.K.A. Folders
Email: Iameman9669@gmail.com
Reply With Quote
  #2   Spotlight this post!  
Unread 02-05-2013, 09:55 AM
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,033
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: Smart Dashboard doesn't show any custom extensions.

Sounds like a bug. I'd recommend filing something about this on their Tracker, so perhaps they can fix it.
__________________
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 09:56 AM.

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