Go to Post Practice bots are not regulated by FIRST. Your practice bot could have a flamethrower and a jamming device on it, and they wouldn't care in the slightest. You just can't compete at a competition with it. :) - AlecMataloni [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-07-2012, 20:35
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: cRIO simulator - FrcSimulatorClient-full-0.1a.jar

There appears to be a new CRIO simulator available.

Has anyone gotten the FrcSimulatorClient-full-0.1a.jar to work?
Does anyone have documentation?

http://sourceforge.net/projects/frcsimulator/

Dave Frederick, Manassas VA
  #2   Spotlight this post!  
Unread 19-07-2012, 01:06
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: cRIO simulator - FrcSimulatorClient-full-0.1a.jar

Quote:
Originally Posted by DaveFrederick View Post
There appears to be a new CRIO simulator available.

Has anyone gotten the FrcSimulatorClient-full-0.1a.jar to work?
Does anyone have documentation?

http://sourceforge.net/projects/frcsimulator/

Dave Frederick, Manassas VA
I was a CSA(Control System Adviser) this year. that tool is used by the FTAs and CSAs to confirm the field functionality and troubleshooting. It only simulates a robot from the FMS comms point of view and not much else.
__________________
-Borna Emami
Team 0x27
  #3   Spotlight this post!  
Unread 19-07-2012, 09:36
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 943
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: cRIO simulator

One could conceivably use a Proxy (http://en.wikipedia.org/wiki/Proxy_pattern) to abstract WPILib from the actual code, allowing a mock implementation with GUI/output to be set up in its place while using the same calls and method signatures. However, you'd have to make sure everything you're using is covered by the proxy (which can be a lot of work).

I guess I've never thought about it -- would using the same package names in a mock implementation be bad form? I suppose it's not a big deal if released under the same license as the original. It sure would make it easier on the proxy (otherwise some configuration file would have to be set up, or the code in the proxy would have to be changed when building differently).
  #4   Spotlight this post!  
Unread 19-07-2012, 10:16
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: cRIO simulator

Read one of my first posts on this forum as linked here:
http://www.chiefdelphi.com/forums/sh...231#post981231

That has not been updated in quite some time and the students that wrote most of it have moved on.

Perhaps you'll find some value in it.
  #5   Spotlight this post!  
Unread 07-08-2012, 09:49
Spectare Spectare is offline
Team Hacker
AKA: Benjamin Pylko
FRC #3181 (Pittsford Panthers)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Rochester, New York
Posts: 16
Spectare is an unknown quantity at this point
Re: cRIO simulator - FrcSimulatorClient-full-0.1a.jar

Quote:
Originally Posted by DaveFrederick View Post
There appears to be a new CRIO simulator available.

Has anyone gotten the FrcSimulatorClient-full-0.1a.jar to work?
Does anyone have documentation?

http://sourceforge.net/projects/frcsimulator/

Dave Frederick, Manassas VA
I'm one of the ones working on that, it's in the very early stages and can only really be used to verify that code you've written works (to some degree). We do plan to add a gui display of the robot eventually.

As the wiki on the website says, just run `java --classpath FrcSimulatorClient-xx.xxx.jar:YourJarNameOrPathToClassFiles net.sourceforge.frcsimulator.Client --gui -s your.class.package.and.name`

We have changed the command line arguments in the svn(dev) version after developing a class to handle them, reading the doc within the code should help alot. (once we figure out a good way to post the javadoc, we'll do that, until then you can read the code or generate it yourself).
Closed Thread


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