Comments (14)
@Twinters007 this is the problem I was mentioning earlier
from robotpy-wpilib.
Why can't we just use pscp (and plink for running remote shell commands)?
from robotpy-wpilib.
Ha. I haven't used Windows in so long, that I forgot about those.
from robotpy-wpilib.
What about some form of rsync? I have found that scp can be rather inefficient when copying large numbers of small files, and when you are actively developing code for a robot, you may not need to transfer everything. Plus, I just did some tests with the wpilib library as an example, and scp took ~3 min to transfer to a remote server vs ~10 sec with rsync.
Also, here is a native python implementation of it: http://freecode.com/projects/pysync/
from robotpy-wpilib.
I have found using rsync on Windows is problematic. Also (and this surprised me a few months ago), it requires an rsync binary to be present on the remote machine.
from robotpy-wpilib.
Does the roborio have it pre-installed?
from robotpy-wpilib.
It does not.
from robotpy-wpilib.
The RoboRIO has tar and unzip. Why can't we zip/tar locally, scp the zip/tar file, and run the right remote command to unzip/untar? I would recommend tar as there's some options we can use to only update files that have later modification times.
from robotpy-wpilib.
For wpilib/hal, we should use the opkg package manager (uses .ipk files which are basically tgz files with a required package structure) to install them on the RoboRIO. For user programs, we can use tar or zip.
from robotpy-wpilib.
I think I disagree with that -- let's not do more packaging than we need to do. We already have python packages for wpilib/hal/et al. Why not distribute those as sdists, copy them to the robot, and run 'pip install foo.tar.gz' there? This will allow us to also have the installer do things like install utility libraries/etc without extra effort (#6).
Python 3.4 comes with pip preinstalled, so I assume that the python ipk has it.
from robotpy-wpilib.
Whoops, I forgot that we already had this discussion... been a long week. Concur that pip is fine to use for the libraries after Python is installed with an ipk.
Yes, pip is installed as part of the Python package.
from robotpy-wpilib.
Haha, I thought we had this discussion, but I too had forgotten.
from robotpy-wpilib.
Can this be closed? It looks like the install scripts use the putty tools on Windows.
from robotpy-wpilib.
Yes, thanks. They even work too, I tested it a few minutes ago.
from robotpy-wpilib.
Related Issues (20)
- Command based robot? HOT 1
- Reported segfault in SmartDashboard.putStringArray HOT 3
- TrajectoryGenerator and SplineParameterizer don't get units type caster
- Design physics/simulation support HOT 2
- Add Swerve Drive support HOT 5
- Auto-generated type annotations? HOT 2
- Broken link in readme.md
- 2021 - import wpilib and sim issues after pip install -U robotpy[all] HOT 2
- SmartDashboard::putData doesn't keep objects alive HOT 10
- CTRL-C in gui on Linux segfaults HOT 1
- wpilib.shuffleboard not implemented HOT 4
- `OSError: Failure` on Linux HOT 2
- Fix Mechanism2D HOT 2
- wpilib.simulation.DCMotorSim missing
- [BUG]: OSError with robotpy-hal library HOT 1
- Unable to find wpilib.shuffleboard in 2021 or 2022 libraries HOT 3
- [BUG]: makeCompressor crashes HOT 1
- [BUG]: Broken Implementation of WPILib SPI HOT 7
- [BUG]: Exceptions from startCompetition don't terminate code on roboRIO HOT 2
- [BUG]: bad error message for SpeedControllerGroup construction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotpy-wpilib.