Go to Post FIRST- its a pandemic in all our schools. - Akash Rastogi [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

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-02-2013, 22:21
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Virtual cRIO (cRIO Emulator)

I have created a Virtual cRIO so you can test your robot code without having to wait for the mechanical and electrical teams to finish their jobs.

This is the first release so do not expect it to work flawlessly!

Download: http://www.mediafire.com/?wpwkpreo6hwjc16

Instructions:
- Download the jar file and place onto desktop
- Open netbeans (or other IDE)
- If using netbeans either create a new robot project or use an existing project
- Once your robot project is created right click on the project you just made and click properties
- Click on Libraries, and remove the classes.jar library and add the Virtual cRIO.jar
- Once the library is added make sure there are no errors with the class imports
- Now you have to create a new file in the src folder by right clicking the src folder and New -> Other -> Other -> Empty file, name it main.txt
- Now in that file put <PackageName>.<MainClass> but replace PackageName with the actual package name and the MainClass with the main class that extends SimpleRobot and then save the file
- Now all you have to do is click the build icon (the one that looks like a hammer)
- Now open Virtual cRIO.jar and click the Choose Jar button
- Find your built robot project which is usually in your documents folder under netbeansprojects/<Project Name>/dist
- And now you should be able to enable the cRIO!

If you are having any trouble or having any problems please be sure to leave a comment below so I may assist you!

Screenshot:

Last edited by Chiller : 08-02-2013 at 16:32.
Reply With Quote
 


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 10:11.

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