Go to Post YES! I am a MENTOR. Not a chaperone. I am busy all day, I don't want to deal with the stupidity that may or may not go on at night. Besides, I might see something as a cool physics experiment, where a chaperone might see someone dropping pop cans down the stair wells. - Not2B [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 09-02-2013, 15:27
Nathan Powell's Avatar
Nathan Powell Nathan Powell is offline
The Prime Function
FRC #2582 (PantherBots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Lufkin, TX
Posts: 37
Nathan Powell is an unknown quantity at this point
Windriver C++ Assistance

I've run into a slight issue--My team is in need of more workspaces to archive code with, but I never learned how to create new ones. May someone offer assistance? Any information on creating projects and .cpp/.h files would be useful, as well.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2013, 15:28
Nathan Powell's Avatar
Nathan Powell Nathan Powell is offline
The Prime Function
FRC #2582 (PantherBots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Lufkin, TX
Posts: 37
Nathan Powell is an unknown quantity at this point
Re: Windriver C++ Assistance

Note--I know how to create an example project; I would like information on creating other types of projects, please. The FRC manual is not very specific on this.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2013, 17:40
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Windriver C++ Assistance

The idea is to start with one of the samples that are provided in the C++ FRC distribution, then modify it into your program by adding all of your specific robot code.

You can get an idea by looking at this page:
http://wpilib.screenstepslive.com/s/...-robot-project

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2013, 18:05
Nathan Powell's Avatar
Nathan Powell Nathan Powell is offline
The Prime Function
FRC #2582 (PantherBots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Lufkin, TX
Posts: 37
Nathan Powell is an unknown quantity at this point
Re: Windriver C++ Assistance

That I do understand. I use the templates there as bases for my code. Do you know how to create a new workspace? There can only be one of each example per workspace.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2013, 11:22
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Windriver C++ Assistance

If you go to the File menu, and select Switch Workspace, you can put in a path to a new workspace. It will create the directory, set it as your workspace, and Workbench will restart. Then you can start creating projects in the new place.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2013, 18:53
dhe95 dhe95 is offline
Registered User
FRC #2637 (Panthers)
Team Role: Programmer
 
Join Date: May 2012
Rookie Year: 2012
Location: California
Posts: 9
dhe95 is an unknown quantity at this point
Re: Windriver C++ Assistance

After you make an example project, you should rename it to something more appropriate and then you can make more while keeping them all in the workspace if needed.

And to add .cpp/.h files you would just do new file and name it with the right extension
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


All times are GMT -5. The time now is 12:02.

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