View Single Post
  #1   Spotlight this post!  
Unread 10-06-2016, 12:55
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Re: Accessing files on the driver station laptop from the robot

Quote:
Originally Posted by Alan Anderson View Post
I suppose you could run an ftp server on the Driver Station computer and have the robot program connect and transfer the file. That does mean you will have to delay the initialization of your robot program until after there is a network connection.

If you are considering Network Tables at all, why not just use a Dashboard program to read the file and publish Network Tables variables for the configuration parameters? I think the Java SmartDashboard will do that sort of thing for you.

Why don't you want to put the file on the robot itself? I can think of a couple of ways to make doing that less of a hassle, the easiest of which might be to use a simple batch file to copy the file from the Driver Station computer to the robot filesystem after you've made changes to it.
1. Is there a way I can make sure that everything that is working at home will work with field setup as well? That's my biggest concern.
2. I remember reading about a team which tried to do that and had problems (with over 100 parameters). I will search for it.
3.I didn't know it was possible, how can it be done with a batch file?
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
Reply With Quote