Skip to content

Kill Switch Subsystem (C++ System) #38

@konnorandrews

Description

@konnorandrews

Requirements

  • listens to serial hub for interrupt message (see Kill Switch Controller (Arduino) #37)
  • when an event is received send it to the JavaScript using a TCP hub
  • send the event [ "killSwitch", "1" /* state */ ]
  • has a property to check state of kill switch bool enabled()

Other thoughts

auto subsystem = new KillSwitch(serialHub, tcpHub);
if(subsytem.enabled()){
  // kill switch is enabled
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions