Comments (3)
Also, fallback code that can be toggled
thanks to @jackhymowitz for this idea
from alloy.
I had an idea for a "dumb" way of doing this in FRC. I believe the code deployment process is basically a glorified SFTP copy of a compiled jar file to a specific folder on the RIO which gets run automatically on boot. You could have the code swap around the jar files on an error before killing its own process to have the RIO re-run the jar file (now the new hopefully error-free jar).
from alloy.
Doing this in FTC is a bit more challenging as there's no "dumb" way of doing it. You could package each revision of the code as a separate jar which gets loaded on demand by a version-switching stub which talks directly to the Qualcomm libraries and swaps out the jars appropriately (although to the user it would just look like you're switching teleop/auto modes).
from alloy.
Related Issues (18)
- Add robot setup and init as separate methods to allow for multiple teleop modes
- Updater does not update methods in a per instance basis HOT 2
- PID Wrapping
- Motors do not disable when disabled HOT 1
- Updater does not access non alloy classes HOT 3
- Debugger should have levels HOT 1
- Create JSON file handler to allow on robot code
- Create version 2.0.0-beta that implements use of components in all parts of Alloy HOT 2
- Add automatic code formatting for uniform code format HOT 1
- Utils for alloy HOT 1
- Fix package reference for autonomous HOT 1
- Make InputCompnonents more efficient and updates in general
- Change setDriveTrain and getDriveTrain methods in Alloy Subclasses
- Include Tolerance in BangBang Correction
- Fix Modules to acutally set the offset
- Acceleration Limiting HOT 2
- Optional Naming in components for debugging
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 alloy.