Go to Post Is all your information based on hearsay and miscellaneous posts by other people that don't know what they are talking about? - dlavery [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 02-01-2009, 02:37
BenB's Avatar
BenB BenB is offline
Registered User
AKA: Ben Bennett
FRC #1114 (Simbotics)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Oakville, ON
Posts: 102
BenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond repute
Wind River Help

Hello,

I having been having issues building an ".out" file to download to the cRio. Before I get into to much detail about my issue, I'll first state what I can do.

I have downloaded and followed sections 1-5 including benchmark testing and have been successful.
I have downloaded the WPI library and copied the files into the correct folder.
I have created a new "Example" project in Wind River (Simple Robot Template from the Kernel Module Sample wizard), built it and downloaded it to the cRio. I even changed some values in the programing to ensure it wasn't the default code, so I know how to build ".out" files and download them to the cRio.
I have some background in C++ and I am comfortable with the language.

My issue:

I could simply use the example project, and manipulate it as needed to create a program for the robot, however, I would much prefer to be able to create my own project by extending classes. I have tried to create new projects and have been unsuccessful. I am not sure what the issue is. I've tried copying the code from the Simple Robot Template (MyRobot.cpp) into a new project, but this has not helped either. I may not be including the files properly, although I have downloaded and copied them into "C:\WindRiver\WPILib" as instructed.

Would someone be able to give (or link) me a step by step procedure to create a successful ".out" file? For convince, you could use the code from the Simple Robot Template (MyRobot.cpp).

Thank you
__________________
2010-present - Team 1114 - Simbotics
2007-2009 -Team 2166 - Bluebotics
  #2   Spotlight this post!  
Unread 02-01-2009, 09:13
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Wind River Help

What project type are you creating in WindRiver? I was able to build a project from scratch but you need to start a VxWorks Downloadable Kernel project. Then add WPILib to your include and library paths.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
  #3   Spotlight this post!  
Unread 02-01-2009, 18:09
BenB's Avatar
BenB BenB is offline
Registered User
AKA: Ben Bennett
FRC #1114 (Simbotics)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Oakville, ON
Posts: 102
BenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond repute
Re: Wind River Help

How do you add WPILib to your include and library paths.
__________________
2010-present - Team 1114 - Simbotics
2007-2009 -Team 2166 - Bluebotics
  #4   Spotlight this post!  
Unread 02-01-2009, 21:42
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Wind River Help

Quote:
Originally Posted by 2166BlueBotics View Post
How do you add WPILib to your include and library paths.
To add the paths right click on the project and choose Properties. From the tree list choose Build Properties. You add the include path on the Build Path tab. You then can add the library on the Libraries tab (I have mine pointing directly to WPILib.a). Make sure your active build spec is set to PPC603gnu.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: Wind tunnel Pat Major Extra Discussion 20 19-02-2009 19:41
Open Wind River excel2474 Programming 12 31-12-2008 17:36
pic: Virginia Tech wind third in DARPA falconmaster Extra Discussion 4 07-11-2007 17:16
Wind Tunnel Wayne Doenges General Forum 48 21-01-2005 19:22
pic: 237 on the road with Second Wind Dreams CD47-Bot Extra Discussion 6 25-05-2004 01:45


All times are GMT -5. The time now is 13:40.

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