TactivergeLite

Lite / Intelligent Robotic Systems / Week 3

Week 3: Lists and structured data

Term 1: Engineering Computation

This week you will

Lessons

  1. Slice, filter, transform: lists at speed · about 35 min
    A wheel encoder logs 10,000 speeds. You need the last minute, every tenth sample, and only the readings above 20 cm/s. Can you do each in one line?
  2. From CSV file to records you can query · about 40 min
    A test rig writes a CSV with a header row and 2,000 lines. How do you ask 'which runs drew more than 1.5 A?' without counting columns by hand?
  3. Module check: the stores audit · about 45 min
    The robotics lab's stores list says 120 M3 bolts. The shelf has 96. Your job: write the program that finds every mismatch before the next build day.
← Week 2Week 4 →