joshbuhler / plops Goto Github PK
View Code? Open in Web Editor NEWPole-Line Operations Server
Pole-Line Operations Server
Research work being done in SerialPi project
swift run SerialPi call
This will fire up the axcall
process, and simply print out information as it's received. Currently unable to send repeated commands, but progress is being made. PoC work for sending to another process is happening in the doRubyThing()
method. So far, that method can send/receive text to a ruby script. Should be able to translate some of that work to doCallThing()
Basic authentication for comms team views. Don't want anyone else to be logging runners or making changes
We know when a runner left the prior station, we know their ETA for our station, we know the distance. In theory, we should be able to display a map with an estimated location.
Need a struct for storing runners
Ideally, a script that can be double-clicked or run in terminal to launch the system and connect it to the W100 system. It should:
[ ] Start any needed processes (database, ax.25 services, monitoring, etc.)
[ ] Get logging running
[ ] Bind any ports needed
[ ] Connect to system
RegEx for inbound runners does not handle the case of no inbound runners.
Work being done in SerialPi project
swift run SerialPi listen
This will fire up the axlisten
process, and simply print out information as it's received. This will include all traffic though, so additional work would need to be done to filter out what we actually care about, and to cleanup the raw packets being received.
As part of the startup process, we need to check-in with net control as a station
Collect messages addressed to our station
Simplified view that aid station workers can connect to in order to view incoming runners. Does not provide access to logging or other query info. should display current race time, as well as time data was last refreshed. ( In the event that a worker's device time is incorrect)
Display incoming runners, standings, temp info, etc. Station team members could connect their devices to this access point and have updated info in their pockets.
For every check-in/out, there needs to be an associated station, type, and timestamp.
CheckEvent {
runnerID:Int
station:StationEnum
time:Int
type:CheckEventType
}
enum CheckEventType {
in,
out
}
== OR ==
RunnerEvent {
runnerID:Int,
timestamp:Int,
station:StationEnum,
eventType:RunnerEventType
}
enum RunnerEventType {
checkIn,
checkOut,
dnf
}
https://medium.com/@jhheider/installing-vapor-and-swift-on-the-raspberry-pi-45a6c7baef35
These instructions mostly work, but they depend on getting Swift 5.2 running on the pi. I was able to hack the Package.swift files for a few things to specify 5.1, but there's too many things to tweak right now. Once 5.2 is on the pi, this should be smoother.
Normally when using the UI to submit a runner event, the time should be logged automatically. However, there may be a need to manually enter a time for a runner with a custom time.
Data should be timestamped and query-able
Station staff should be able to connect to an access point and access the vapor server running on the Pi.
Not likely, but may be useful. Ideally, we'll have a wifi access point that provides access to the pi, rather than the pi hosting the AP itself.
https://www.raspberrypi.org/documentation/configuration/wireless/access-point-routed.md
None of the other features matter until we can successfully pull the data from the system and reply to it via the TNC.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.