Stream Away with Scala
summary
Scala framework Potassium models sensors as signals and events, uses map/zip/scan/sliding to implement feed‑forward, P, integral, FIR and IIR filters, and composes components into control graphs; running on Team 846’s robot it performs autonomous gear drops, shooting and a climber in competition. Web telemetry streams use Akka HTTP/Streams and Play JSON with a 125 ms tick to a Scala.js React Funky Dashboard. Demo connects a Nintendo Switch Joy‑Con via HID, moves the mouse via Java AWT, and uses squant for unit safety; all code is open source.
AI-written summary · about
chapters (10)
- 0:00Introduction to streaming
- 3:43Potassium framework
- 5:40Signals and control graphs
- 10:32Single value processing
- 13:46Combining signal streams
- 17:35Sliding window patterns
- 21:53Accumulation with scan
- 29:27Web streaming applications
- 33:19Joycon integration demo
- 43:50Q&A and closing
related talks
46mScala on the Move!
28mStreams on top of Scala
48mStreaming all the things with Akka Streams
38mSketching streams with aquascape
44mTaking the plunge - a deep dive into streaming with fs2
30mLEARN YOU AKKA STREAMS FOR GREAT GOOD!
01h 07mA Practical Introduction to Akka Streams
30mSmart Streams: A Real-time framework for scoring Big and Fast Data
