Comments (1)
Question: how to make it idiot-proof to pull updates from github to the robot's pi to avoid oopsies in the pit at competition?
- We want to avoid "oops, I checked in the Windows version" or "oops, I forgot to rebuild it after pulling"
- Idea1: make sure the
build.gradle
file that's on master is set to build for raspbian, and addbuild.gradle
to the gitignore so nobody accidentally checks it in with Windows turned on. - Idea2: check in some scripts that make it easier to work on the pi:
start.sh
-- launch the vision process, will not persist across reboots. Include in here calling the utility to set contrast / brightness / autowhitebalance off for the Microsoft Lifecam.stop.sh
-- kills the vision process, whether started bystart.sh
or started at boot.install.sh
-- inserts the vision process into the system boot scripts.uninstall.sh
-- removes the vision process from the system boot scriptsupdate.sh
--stop.sh; git pull; gradlew build; start.sh
- Idea3 (Ken):
stop.sh, start.sh, install.sh, uninstall.sh
same as above.update.sh
designed to run on a laptop, scp the jar over, and restart the process. Copy the old jar to *jar.bkup
- Idea4 (Kevin): split
update.sh
into two separate parts:pullFromGit.sh
andpushToPi.sh
, where the push script does not require the laptop to have internet.
PS do some learning about systemd / sysvinit
to do the start on boot stuff.
from trackerboxreloaded.
Related Issues (20)
- Parameters file to hold vision calibration vals
- Dump sample images to disk HOT 4
- Bounding Box Suffication HOT 2
- Fix Filters Acting Weird
- Make the Network Table not require an IP
- Make the program hand data to roboRIO.
- Test if Vision + Bling can run on the same pi HOT 1
- Finish linux scripts HOT 5
- Dump match images to USB drive HOT 1
- Create Judge's Binder content HOT 1
- Send bounding box area over NetworkTables
- Pi system clock doesn't work: re-think img name timestamps HOT 1
- Use match number from FMS in img log filenames
- Match name based logging
- Refractor
- CLI
- Automated testing program
- Make it clusterable HOT 1
- Clean up and lighten vision
- Make version of Trackerbox without a bunch of add ons
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 trackerboxreloaded.