Accessing files on the driver station laptop from the robot
Hey everyone,
Our team is working on some off-season projects and one of them is reading parameters to the robot from a text file (possibly using config files)
We know how to process the file when it's local but we try to make it easier to edit and want to have the file stored on the driver station laptop.
What is the best way to read the config text file from the robot?
Can we use ftp VI's to copy it to the roboRIO through the FMS? (Will it work?)
We also had an idea to send the entire file as a string through Network Tables VI's and then read it on the roboRIO and save as a (.ini) file to process it. (Can the Network Tables handle such long string efficiently?)
We are looking for other teams' solutions and we will be happy if you will share your experience with us.
Thank you!
__________________
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
Last edited by GuyM142 : 10-06-2016 at 12:32.
|