2025-11-17 (3 Exc G1,G2): Project Stuff#

Tasks#

Status “Ongoing”#

Questions

Status “Done”#

Questions

  • Is there anything missing?

  • How hard was it?

Grading#

  • DingsbumsSPS: state machine

Random Code Review#

  • jfasch/FH-STECE2023 file descriptor leak

  • jfasch/FH-STECE2023

    • ifstream too bloated for existence check. open()? access()? stat()?

      (Same with InputSwitchGPIOSysfs)

    • Optimize OutputSwitchGPIOSysfs::set_state()

Today#

  • Test programs aren’t unit tests

  • Knepferldrucker: cleanup libgpiod

    • motor led tests todo

    • motor-stepper auskommentiert

    • plan: tests/ motor led tests umnieten auf nicht-unit-test. cmdline switch –type={led,stepper} (oder so)

  • input-output-switch-gpio-sysfs-tests.cpp -> kein unit test

Tomorrow#

  • Present AnalogSensor hierarchy

  • State machine

  • const members, and initializer lists

  • Exceptions and file descriptor leaks