Go to Post Our role models are practical visionaries. That's the glue. - JaneYoung [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 10-01-2012, 15:08
Ian McTavish Ian McTavish is offline
Registered User
FRC #4152
 
Join Date: Jan 2012
Location: Huntsville, ON
Posts: 2
Ian McTavish is an unknown quantity at this point
Any reason I can't use Visual Studio?

Hi, I've started a Rookie team and we're getting to work. For programming I'm most comfortable with C++ out of the available languages. At our school we use Visual Studio for our IDE. Is there any reason I can't use this for the competition (obviousely I need to set up the libraries).
Thanks for your help.
  #2   Spotlight this post!  
Unread 10-01-2012, 15:17
Zuelu562's Avatar
Zuelu562 Zuelu562 is offline
Ready for WPI District!
AKA: Jake Janssens
FRC #3623 (Terror Bots)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Massachusetts
Posts: 340
Zuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to behold
Re: Any reason I can't use Visual Studio?

First off, Welcome to FIRST and Chief Delphi. I hope you guys have fun this year.

The reason Wind River is given to teams instead of another IDE such as Visual Studio for FRC use is due to the fact of the downloader. You are going to need to use Wind River to download your code, and it has some very good examples built into the WPI Lib, which is what we use to code FRC Robots in C++.

You can, in theory, do your code development in another IDE and copy and paste the code into Wind River when you need to download (I use this method to move code between my home PC and one of our 2 development laptops).

Instructions for downloading code to the robot via the Wind River IDE is part of the Getting Started with the 2012 Control System PDF.
__________________
Team Resume
562 "S.P.A.R.K." - Student Programmer 2008-2011, Field Coach 2011
3623 "Terror Bots" - Technical Mentor, Field Coach 2012 - Present

Volunteer Resume:
BattleCry@WPI 12, 13, 15, 16 - Queuing
BattleCry@WPI 14 - Field Reset
Granite State District Event 2014 - Team Queueing
NEFIRST District Championships '14,'15,'16 - Team Queuing
  #3   Spotlight this post!  
Unread 10-01-2012, 21:15
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Any reason I can't use Visual Studio?

The reason WindRiver C++ is required is due to the cRIO possessing a different processor than your computer. Visual C++ from microsoft can only compile (by default) for an intel processor, while the cRIO is freescale-based.

While I am not sure if microsoft makes a suitable crosscompiler, as long as you are using windows it will be less of a hassle to install WindRiver.
  #4   Spotlight this post!  
Unread 11-01-2012, 00:07
spacepenguine spacepenguine is offline
Registered User
AKA: Ian Hartwig
no team
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2008
Location: Troy, MI
Posts: 43
spacepenguine is an unknown quantity at this point
Re: Any reason I can't use Visual Studio?

As sjspry said, the reason that they push WindRiver is because it includes the VxWorks cross compiler. You can actually upload compiled software to the cRio through the ftp interface (many teams use this to upload text files with configuration data). As far as I know, Visual Studio can't do the cross compiling that is required for the different processor/WindRiver embedded linux on the cRio.

On another note, WindRiver is not bad as an ide. It's actually built on Eclipse.
__________________
2008-2011: #226 - The Hammerheads
  #5   Spotlight this post!  
Unread 11-01-2012, 01:07
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Any reason I can't use Visual Studio?

If your team does any kind of code management, you can actually develop in any IDE you want and push that code onto your repository and build it on your "dedicated" machine. That is what we are doing this year.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #6   Spotlight this post!  
Unread 11-01-2012, 03:26
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: Any reason I can't use Visual Studio?

Quote:
Originally Posted by spacepenguine View Post
As far as I know, Visual Studio can't do the cross compiling that is required for the different processor/WindRiver embedded linux on the cRio.
VxWorks is the operating system on the cRIO-FRC. It does not run embedded Linux.
  #7   Spotlight this post!  
Unread 11-01-2012, 06:22
Ian McTavish Ian McTavish is offline
Registered User
FRC #4152
 
Join Date: Jan 2012
Location: Huntsville, ON
Posts: 2
Ian McTavish is an unknown quantity at this point
Re: Any reason I can't use Visual Studio?

Quote:
Originally Posted by davidthefat View Post
If your team does any kind of code management, you can actually develop in any IDE you want and push that code onto your repository and build it on your "dedicated" machine. That is what we are doing this year.
This seems like a great solution - I really appreciate everyone's comments. It saved some trial and error time!
  #8   Spotlight this post!  
Unread 16-01-2012, 02:34
enrique's Avatar
enrique enrique is offline
Registered User
FRC #1251 (Tech Tigers)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Florida
Posts: 87
enrique will become famous soon enough
Send a message via Yahoo to enrique
Re: Any reason I can't use Visual Studio?

If your doing this I recommend starting the project in winriver, then editing the created files in VS. I used to have a procedure on how to make VS compile for ppc by having it run the winriver command line compile commands, but I can't find it. I will look some more and see if I find it. If you did this, and maybe write a plug in to ftp to the crio, then you could use VS to edit and compile but not debug.
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 18:53.

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