Go to Post I would be thankful to just participate in champs, I would be happy with just that. - Brandon_L [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #31   Spotlight this post!  
Unread 04-02-2013, 08:33
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: jRIO

Hmmm are motor controller rendering side by side?
I've found that if the motors are somehow instantiated in robotInit then lots of issues are easily fixed... after build season i will fix a lot of issues but we are currently pressed for time... I didn't realize how important the smart dashboard and nettables were to other teams as we don't normally use them. I will add that as soon as camera support is finalized.
__________________

jRIO 2013 Project
Reply With Quote
  #32   Spotlight this post!  
Unread 22-02-2013, 11:52
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 120
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: jRIO

Has the link broken to this development? I cannot seem to find the code over at google docs.

I am very interested in trying this simulator out to aid in our development.

Thanks
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
Reply With Quote
  #33   Spotlight this post!  
Unread 22-02-2013, 12:27
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,560
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: jRIO

Quote:
Originally Posted by feverittm View Post
Has the link broken to this development? I cannot seem to find the code over at google docs.
Only the link in the latest post works: http://www.chiefdelphi.com/forums/sh...4&postcount=24
Reply With Quote
  #34   Spotlight this post!  
Unread 22-02-2013, 13:02
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: jRIO

Love the idea, but still a lot of work needs to be done.

Smartdashboard imports causes errors (such as the Robot Preferences imports in your robots code)
Also, Test mode should be an option in the Enabled drop down as well.
GUI has a bit of work to be done, but over all I'm very excited to see someone taking the initiative!
Reply With Quote
  #35   Spotlight this post!  
Unread 24-02-2013, 19:11
brad95411 brad95411 is offline
Registered User
FRC #2648
 
Join Date: Feb 2012
Location: Maine
Posts: 1
brad95411 is an unknown quantity at this point
Re: jRIO

I'm liking this idea, I did a quick test run and had a few glitches when trying to get the joystick to properly adjust the motor controller outputs.

Exception in thread "main" java.lang.NullPointerException
at org.jRIO.DashboardDisplay.DashboardDisplay.joystic kButtonGeneration(DashboardDisplay.java:929)
at edu.wpi.first.wpilibj.Joystick.<init>(Joystick.jav a:59)
at jriotest.RobotTemplate.<init>(RobotTemplate.java:3 2)
at jriotest.JRIOtest.main(JRIOtest.java:28)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.jRIO.DashboardDisplay.DashboardDisplay.jComboB ox1ActionPerformed(DashboardDisplay.java:823)
at org.jRIO.DashboardDisplay.DashboardDisplay.access$ 300(DashboardDisplay.java:16)
at org.jRIO.DashboardDisplay.DashboardDisplay$5.actio nPerformed(DashboardDisplay.java:173)
at javax.swing.JComboBox.fireActionEvent(JComboBox.ja va:1240)
at javax.swing.JComboBox.setSelectedItem(JComboBox.ja va:567)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.j ava:603)
at javax.swing.plaf.basic.BasicComboPopup$Handler.mou seReleased(BasicComboPopup.java:831)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEven tMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.jav a:6382)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3275)
at com.apple.laf.AquaComboBoxPopup$1.processMouseEven t(AquaComboBoxPopup.java:132)
at java.awt.Component.processEvent(Component.java:614 7)
at java.awt.Container.processEvent(Container.java:208 3)
at java.awt.Component.dispatchEventImpl(Component.jav a:4744)
at java.awt.Container.dispatchEventImpl(Container.jav a:2141)
at java.awt.Component.dispatchEvent(Component.java:45 72)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4210)
at java.awt.Container.dispatchEventImpl(Container.jav a:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2489 )
at java.awt.Component.dispatchEvent(Component.java:45 72)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:704)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:677)
at java.awt.EventQueue$3.run(EventQueue.java:675)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 674)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.jRIO.DashboardDisplay.DashboardDisplay.jToggle Button1MouseReleased(DashboardDisplay.java:780)
at org.jRIO.DashboardDisplay.DashboardDisplay.access$ 400(DashboardDisplay.java:16)
at org.jRIO.DashboardDisplay.DashboardDisplay$6.mouse Released(DashboardDisplay.java:180)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEven tMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.jav a:6382)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3275)
at java.awt.Component.processEvent(Component.java:614 7)
at java.awt.Container.processEvent(Container.java:208 3)
at java.awt.Component.dispatchEventImpl(Component.jav a:4744)
at java.awt.Container.dispatchEventImpl(Container.jav a:2141)
at java.awt.Component.dispatchEvent(Component.java:45 72)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4210)
at java.awt.Container.dispatchEventImpl(Container.jav a:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2489 )
at java.awt.Component.dispatchEvent(Component.java:45 72)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:704)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:677)
at java.awt.EventQueue$3.run(EventQueue.java:675)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 674)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)

I saw earlier in the thread someone posted about putting this in a Github, which is a great idea, it would be interesting to be able to look over your code, and it would be easier to keep track of updates and bugs.
Reply With Quote
  #36   Spotlight this post!  
Unread 01-03-2013, 15:39
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 120
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: jRIO

I tried to compile/run this using the main code from one of the standard projects. I followed the directions in the PDF, and removed the calls to the unsupported systems (specifically some Timer() calls).

When I run the program I get the following exception:

Code:
Exception in thread "main" java.lang.NullPointerException
	at org.jRIO.DashboardDisplay.DashboardDisplay.joystickButtonGeneration(DashboardDisplay.java:929)
	at edu.wpi.first.wpilibj.Joystick.<init>(Joystick.java:59)
	at robotsimulation.DefaultRobot.<init>(DefaultRobot.java:112)
	at robotsimulation.RobotSimulation.main(RobotSimulation.java:28)
It appears that the Joystick code is having issues. One question I would have is do you have to change the wpilib imports in your code to the new library? For instance I include the 'Joystick' library from wpilib. I would that I need to change these imports, but I haven't tried it yet.

Any clues as to what is happening?

Thanks
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
Reply With Quote
  #37   Spotlight this post!  
Unread 01-03-2013, 19:49
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: jRIO

Code:
run:
Exception in thread "Timer-1" java.lang.NullPointerException
	at edu.wpi.first.wpilibj.IterativeRobot.disabledEnter(IterativeRobot.java:72)
	at org.jRIO.IterativeRobotTask.StartCompetitionTask.run(StartCompetitionTask.java:51)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
The source code of this should be open and not compiled so we can make our own changes to fix any bugs :\. It would also make the creation of the code faster (people can see how the code works, make their own classes, post them here/to you to implement)

Last edited by Arhowk : 01-03-2013 at 22:30.
Reply With Quote
  #38   Spotlight this post!  
Unread 06-03-2013, 02:34
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: 429
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: jRIO

I would also love to have this project be open.

I started doing something similar myself before the season started and just didn't get it done.

Open this up to the community and we could have a real valuable tool!
__________________
http://team2168.org
Reply With Quote
  #39   Spotlight this post!  
Unread 20-04-2013, 12:03
Spaghetti's Avatar
Spaghetti Spaghetti is offline
Registered User
FRC #0488 (XBot)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Seattle
Posts: 13
Spaghetti is an unknown quantity at this point
Re: jRIO

+1 to please open source the project, I've also been thinking of doing something similar and would be happy to help make 1 great solution.

In particular, we use the Command/Scheduler functionality in WPILib very heavily and that isn't currently available here.

Last edited by Spaghetti : 20-04-2013 at 12:29.
Reply With Quote
  #40   Spotlight this post!  
Unread 13-06-2013, 17:51
DaveFrederick's Avatar
DaveFrederick DaveFrederick is offline
Registered User
FRC #1895
 
Join Date: Jan 2009
Location: Manassas,VA
Posts: 37
DaveFrederick is a jewel in the roughDaveFrederick is a jewel in the roughDaveFrederick is a jewel in the rough
Re: jRIO

Where is JRIO?
I would really like to learn about this simulator but don't see it on Google.
Regards,
Dave Frederick
Reply With Quote
  #41   Spotlight this post!  
Unread 09-10-2013, 09:22
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: jRIO

Hello all....
I have been very busy since I was last a student on our FRC team. As some of you may know, being a college student is a lot of work especially when you have to work 40+ hours a week. At any rate, that time of the year is coming up when teams are scrambling about to prepare for the 6 weeks of stress, robots, and bonding ahead of them and I happened to check on chiefdelphi. I am happy to note that my current side project is being haulted as of today and the jRIO project is starting back up. This time, jRIO 2013-2014 edition will hopefully not be so buggy and will, with community support this time, include command based programming. The project is on github right now however this edition is to be started completely from scratch. I will post when i have the first iteration up. Today, I will be designing the new architecture for this emulator and hopefully prevent the plentiful issues that many of you noted of the last edition.

Happy programming!

jRIO on GitHub
jRIO news updates
__________________

jRIO 2013 Project
Reply With Quote
  #42   Spotlight this post!  
Unread 14-10-2013, 11:58
JDWinnett JDWinnett is offline
Registered User
FRC #0956
 
Join Date: Oct 2011
Location: Oregon
Posts: 1
JDWinnett is an unknown quantity at this point
Re: jRIO

Quote:
Originally Posted by IisMathwizard View Post
Here.... we.... go!

https://docs.google.com/file/d/0B3mO...owSU5LNU0/edit

just download this zip file and inside is the jRIO.jar file and the documentation in .html and .odt file formats...

(i run linux so i included the odt just in case anyone else would appreciate it)
I'm sorry to bother you, I'm REALLY interested in your jRIO, but the link above tells me the file does not exist. Where can I get it?
Thanks.
Jeff
Reply With Quote
  #43   Spotlight this post!  
Unread 14-10-2013, 12:05
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: jRIO

Hello Jeff,
That version is no longer maintained and I have removed it from the download location. Currently, jRIO 2014 edition is in the works and a preliminary version for simple and iterative based robotic projects has an intended release time of early November. If you are interested in helping please visit the project on GitHub. I could use someone to help program the command based section. At this time, however, i haven't even started on the GUI but i have a few preliminary designs in mind. Most of what i have is actually just framework stuff.

Stay tuned to any major updates to the project at: IisMathwizard.com
__________________

jRIO 2013 Project
Reply With Quote
  #44   Spotlight this post!  
Unread 02-05-2014, 18:27
dmaciel10123 dmaciel10123 is offline
The Everything Guy
AKA: David Maciel
FRC #3525 (The Nuts and Bolts of Fury)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 100
dmaciel10123 is an unknown quantity at this point
Re: jRIO

Is there any news on this project? I've downloaded the most reason version from GitHub but I can't seem to get it to work and the site is stuck on some sort of happy birthday thing? I'm not entirely sure what's going on with it.
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 01:52.

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