Go to Post It's too late to turn back - the only way is forward. Together - with a plan. - JaneYoung [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 12-02-2013, 14:15
CardcaptorRLH85's Avatar
CardcaptorRLH85 CardcaptorRLH85 is offline
The master of the cards ^_^
AKA: Raa'Shaun H.
FRC #0322 (F.I.R.E. "Flint Inspires Real Engineers")
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Michigan, USA
Posts: 59
CardcaptorRLH85 is an unknown quantity at this point
Send a message via ICQ to CardcaptorRLH85 Send a message via AIM to CardcaptorRLH85 Send a message via MSN to CardcaptorRLH85 Send a message via Yahoo to CardcaptorRLH85
Question How do I deploy code without WindRiver?

Here's my problem, the laptop with WindRiver installed is currently broken and a new one will arrive later this week. However, we want to actually operate our robot today. So, I need to get the .out file from my desktop at home on to the cRIO at the school. I know that I can FTP to the cRIO but when I did that yesterday I didn't know which folder to place the .out file in and I don't know if I have to rename it first. These are both things that I think I need to know for the purpose of making this work. I've done some searching but I haven't been able to find the answer anywhere else. Thanks for any assistance you can give ^_^

EDIT: I found the answer. The search function is kinda bad here on CD I found a thread from two years ago using Google just now. For future reference this is where it goes: ftp://10.xx.yy.2/system/startup/FRC_UserProgram.out Thanks go to byteit101 for helping someone else with this same issue.
__________________


Last edited by CardcaptorRLH85 : 12-02-2013 at 15:34. Reason: Found my answer.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2013, 21:31
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: How do I deploy code without WindRiver?

Glad the me from the past could help you now :-)

That ftp path still works, though if you want to also *build* code without WindRiver, you can use either UCPP makefiles, or the new GCC toolchain (http://www.chiefdelphi.com/forums/sh...d.php?t=105877 and http://www.chiefdelphi.com/forums/sh...d.php?t=109385)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2013, 23:39
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: How do I deploy code without WindRiver?

The "deployment" is simply a ftp transfer to the robot. You can use any ftp client to do this (like filezilla). The name and password on the robot is "user" and "password". The default directory (on the robot) is the correct destination.

HTH
__________________
Fast, cheap or working - pick any two!
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2013, 18:03
xraymypanda's Avatar
xraymypanda xraymypanda is offline
Cowboy programmer
AKA: Chris M
FRC #0599 (RoboDox)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Granada Hills,CA
Posts: 82
xraymypanda has a spectacular aura aboutxraymypanda has a spectacular aura about
Re: How do I deploy code without WindRiver?

How my team does it:
In Windriver, Clean your code
Download Filezilla
Open Filezilla
Connect to the robot (10.te.am.2)
Navigate to/ni-rt/system/ on the cRIO
Navigate to C:/YourProject/PPC603gnu/YourProject/
Rename YourProject.out to FRC_UserProgram.out
double click on FRC_UserProgram.out to send it to the robot
Once the transfer is complete, reboot your robot and drive away!
__________________

2011: Head Scout
2012: (figure)Head Programmer
2013: Head Programmer, Chief Strategist, Outreach Executive, and Driver
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2013, 16:43
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: How do I deploy code without WindRiver?

Somebody actually developed a tool for uploading images to the crio called frctool. It's written in go. If you're interested, the link is below. Obviously, this isn't the best solution if you're just going for a one-time upload.

https://bitbucket.org/zombiezen/frctool

Good luck!
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 03:34.

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