Go to Post The strive for the Chairman's award is by far more important than the award. - Pavan Dave [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 05-01-2013, 14:08
turtleman turtleman is offline
Captain/ Programmer
AKA: Carlos Jimenez
FRC #4369 (Brick City Bots)
Team Role: Leadership
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Sanford, NC
Posts: 17
turtleman is an unknown quantity at this point
That cRIO simulator mentioned at Kick-Off

You know, the one mentioned with the new changes along with the game simulator.

I was wondering if that was a website or something, as I'm not seeing anything like it in the KoP. Anyone mind helping me out? (put in programming directory as it has to deal with it...sort of.)
__________________
Cav Pride
  #2   Spotlight this post!  
Unread 05-01-2013, 14:10
mocibot's Avatar
mocibot mocibot is offline
Registered User
FRC #1829 (Carbonauts)
Team Role: Student
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Here
Posts: 21
mocibot is just really nicemocibot is just really nicemocibot is just really nicemocibot is just really nice
Re: That cRIO simulator mentioned at Kick-Off

From my understanding it's in LabView, not sure if it works with C++ or Java.
__________________
Good luck, stay safe, learn new things, and have fun!
I'm a student, because I don't fit in any one category.
  #3   Spotlight this post!  
Unread 05-01-2013, 14:36
bscharles's Avatar
bscharles bscharles is offline
Booyah
AKA: Brian Scharles
FRC #0930 (The Mukwonago BEARs)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wisconsin
Posts: 53
bscharles will become famous soon enough
Re: That cRIO simulator mentioned at Kick-Off

Here is the power point from our beta test presentation that we did a few weeks ago. Our team tested the LabVIEW software, including the simulator. Basically, when you create a new LabVIEW project, you get the option to choose a simulated robot. Then you develop your code as usual, keeping in mind the options available on your robot. These can be found in Robot Simulation Readme.html document in the My Computer section of your robot project. Once you create your code, you go into robot main, right click the box in the lower left, and change the target to My Computer. Then, press the white run arrow in the top bar, and it will launch a simulation that runs just like your regular robot. Make sure you use a decent computer (so don't try it on your classmate).

The first file is a word 2007-2010 file, the second one is word 97-2003
Attached Files
File Type: zip beta test open house.zip (2.40 MB, 84 views)
File Type: zip beta test open house03.zip (2.62 MB, 41 views)

Last edited by bscharles : 05-01-2013 at 15:50.
  #4   Spotlight this post!  
Unread 05-01-2013, 22:48
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: That cRIO simulator mentioned at Kick-Off

Quote:
Originally Posted by mocibot View Post
From my understanding it's in LabView, not sure if it works with C++ or Java.
Well that's unfortunate. We were so excited for the ability to program without a bot.
Back to unit testing, I guess.
  #5   Spotlight this post!  
Unread 05-01-2013, 22:50
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: That cRIO simulator mentioned at Kick-Off

while we're on the topic, I have a question too

My team is under the impression that we need an autocad model in order to use the simulator (and if that's the case, it's pretty useless for us). Is this the case, or can I test the code without a custom model and such?
__________________
Team 3753 BulahBots
  #6   Spotlight this post!  
Unread 05-01-2013, 23:00
jvriezen jvriezen is offline
Registered User
FRC #3184 (Burnsville Blaze)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Burnsville, MN
Posts: 643
jvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond repute
Re: That cRIO simulator mentioned at Kick-Off

Quote:
Originally Posted by ctccromer View Post
while we're on the topic, I have a question too

My team is under the impression that we need an autocad model in order to use the simulator (and if that's the case, it's pretty useless for us). Is this the case, or can I test the code without a custom model and such?
Out of the box, you get some generic robots on a field that has some bumps and a bridge like in 2012 (thought not the same geometry) Also a loose ball on the field. You can choose arcade or tank drive with or without an arm for the generic bots.
__________________
John Vriezen
FRC, Mentor, Inspector #3184 2016- #4859 2015, #2530 2010-2014 FTC Mentor, Inspector #7152 2013-14
  #7   Spotlight this post!  
Unread 05-01-2013, 23:54
josh.pruim josh.pruim is offline
Registered User
FRC #4014
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2011
Location: United States
Posts: 36
josh.pruim will become famous soon enough
Re: That cRIO simulator mentioned at Kick-Off

I did also hear about the cRIO sim at kickoff, and I was so excited to finally be able to code without the bot and get exact results. However, a few weeks ago, I had found this nice library - http://code.google.com/p/frcjcss/ - I'm still unsure about C++ sims, but knowing the FRC community, there's one out there. If I stumble across one, I will be sure to report back here.
  #8   Spotlight this post!  
Unread 06-01-2013, 06:49
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: That cRIO simulator mentioned at Kick-Off

The simulator shouldn't really have been called a cRIO simulator or a vxWorks simulator. It is a robot simulator. It runs your WPILib code on the PC and that communicates to the generic NI Robot Simulator containing a FIRST specific model that is approximately a kitbot with lots of sensors. At the moment, only LV has the communications integrated into its WPILib implementation.

Greg McKaskle
  #9   Spotlight this post!  
Unread 06-01-2013, 11:59
rachelholladay's Avatar
rachelholladay rachelholladay is offline
Registered User
FRC #1912 (Team Combustion)
 
Join Date: Dec 2010
Rookie Year: 2006
Location: Slidell, Louisiana, USA
Posts: 540
rachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond reputerachelholladay has a reputation beyond repute
Re: That cRIO simulator mentioned at Kick-Off

Quote:
Originally Posted by bscharles View Post
Here is the power point from our beta test presentation that we did a few weeks ago. Our team tested the LabVIEW software, including the simulator. Basically, when you create a new LabVIEW project, you get the option to choose a simulated robot. Then you develop your code as usual, keeping in mind the options available on your robot. These can be found in Robot Simulation Readme.html document in the My Computer section of your robot project. Once you create your code, you go into robot main, right click the box in the lower left, and change the target to My Computer. Then, press the white run arrow in the top bar, and it will launch a simulation that runs just like your regular robot. Make sure you use a decent computer (so don't try it on your classmate).

The first file is a word 2007-2010 file, the second one is word 97-2003

Likewise for us. If anyone is interested in more documentation, here are some of our beta testing results:
http://team1912.com/beta_testing.html

The two most useful would probably be the presentation itself and possible the Task 4 (Simulator) description if you would be interested in reading a more rambling thought process
__________________
Carnegie Mellon School of Computer Science Class of 2017
2012 Dean's List Winner, 2011 NWCIT Award of Aspirations in Computing National Winner

2014 - : FIRST Team 3504 Girls of Steel (Mentor)
2014 Engineering Inspiration

2006 - 2013: FIRST Team 1912 Combustion (Webmaster / Controls Capt / Beta Test Lead / Drive Capt / JrFLL Coach)
2013 Woodie Flowers Finalist for Wendy Holladay. 2010 - 2013 Regional Chairman's Award at the Bayou Regional. 2011 - 2012 Best Website at the Bayou Regional. 2010 - 2013 Beta Test Team for Hardware and LabVIEW. 2012 JrFLL State Expo Coordinator.
  #10   Spotlight this post!  
Unread 06-01-2013, 18:34
bscharles's Avatar
bscharles bscharles is offline
Booyah
AKA: Brian Scharles
FRC #0930 (The Mukwonago BEARs)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wisconsin
Posts: 53
bscharles will become famous soon enough
Re: That cRIO simulator mentioned at Kick-Off

If anyone has any questions, I would be happy to answer them, since I did a lot of work with the simulator in beta testing. While it doesn't completely replace your robot, it is nice to be able to make sure your code runs properly and doesn't have any errors, as well as testing logic, etc.
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 02:25.

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