Go to Post In FIRST, success = inspiration. - Daniel Brim [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 20-01-2010, 00:59
gwlund gwlund is offline
Registered User
FRC #2605
 
Join Date: Jan 2010
Location: Seattle
Posts: 8
gwlund is an unknown quantity at this point
Robot code simulation on Windows box with Windriver

I was wondering if anyone had advice on the best way to develop, build, and run a program locally on a computer without downloading the program to the cRIO. Obviously the WPILibs are not setup to work without the supporting hardware resources but I wanted to setup a simulation environment so concurrent development can happen on the project. I can easily override the WPILib classes to put a debug shim layer class in between the libs and our custom code.

Windriver has a VxWorks simulator that appears to be missing from the FIRST build. Another option would be to compile for a native build using gnu toolchain.

Wanted to know if there was some knowledge out there before I plowed my own road.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2010, 16:12
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Robot code simulation on Windows box with Windriver

I believe this project is similar to what you are describing: http://firstforge.wpi.edu/sf/project...b_test_harness
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2010, 17:01
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,039
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: Robot code simulation on Windows box with Windriver

Quote:
Originally Posted by jhersh View Post
I believe this project is similar to what you are describing: http://firstforge.wpi.edu/sf/project...b_test_harness
Yes, that is exactly the need that I'm trying to fill with that project. However, I am still in the process of porting the 2010 version of WPILib over to it, but if you're doing anything that was present in the 2009 version it should work just fine (for the items that are supported).

Patches/improvements are always welcome. Note that the code in SVN doesn't work at the moment due to me changing around how I modify WPILib, but hopefully it will be less painful to import WPILib in the future.
__________________
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
  #4   Spotlight this post!  
Unread 22-01-2010, 01:19
gwlund gwlund is offline
Registered User
FRC #2605
 
Join Date: Jan 2010
Location: Seattle
Posts: 8
gwlund is an unknown quantity at this point
Re: Robot code simulation on Windows box with Windriver

Thanks for the link and generous contribution to help all FRC teams be more efficient.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windriver 2010 Installation Windows SDK function Error Captain Fink C/C++ 1 01-06-2010 13:52
Cruch Time Help! 3 LabVIEW Tutorial Videos: State Machines; Faster Code; Simulation LVMastery NI LabVIEW 11 09-02-2009 14:36
Building WindRiver Code? lingomaniac88 Programming 4 28-01-2009 17:09
Problem debugging code with WindRiver LinuxMercedes Programming 3 07-01-2009 11:10
Open Simulation with Dashboard Provider running Ray Gitchell LabView and Data Acquisition 8 02-02-2007 12:21


All times are GMT -5. The time now is 02: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