View Single Post
  #10   Spotlight this post!  
Unread 19-12-2014, 13:42
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,086
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: Is FTP going to be available by default on roboRIO

Quote:
Originally Posted by NotInControl View Post
However, since your questioning is based on running an install script, you should re-write your install script to SSH into the RoboRio and transfer the files to the proper locations. This is exactly how the C++/Java build scripts transfer the binaries from your dev machine to the RoboRio when writing code. You can access the RoboRio by using mDNS and asking the user for their team number, such that you ssh into roborio-TEAM#.local

To make your script more bullet proof, have it fall back to the USB 172.22.11.2 address and check 10.TE.AM.2 address if it can not resolve mDNS.
Yes, I've already examined the build scripts for how they work.

Quote:
If you want your script to be cross platform, you can do this in many ways, scp is loaded on Linux and mac by default so you can just use that command line, on windows you can pre-package your script with pscp.exe from putty to run as a command line tool
And this is also the same conclusion that I had already reached.
__________________
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