USU-Robosub / Poseidon

USU's third-generation autonomous submarine
http://usub.cs.usu.edu
17 stars 0 forks source link

Add Kill-Switch Controller to the Beaglebone Black #232

Closed TekuConcept closed 7 years ago

TekuConcept commented 7 years ago

Implement and integrate Kill-Switch hardware to software interface.

Maybe look into linux/gpio.h This may need to be written an a linux kernel module. If possible, find solution that uses a blocking file descriptor.

See also #161 - Moving this functionality to the bone for ease of development.

TekuConcept commented 7 years ago

To speed up development, this issue will resort back to #161.

  1. The Arduino sends a notification to the Bone via the existing StartController through a second serial port interface.
  2. Peripherals will spawn a new listening thread that will be blocked by the tty device file until an event is read in.
  3. Event information with then be forwarded to the JS scripts.