billmania / roboquest_core

The backend functionality for the RoboQuest project
1 stars 0 forks source link

Add shutdown and reboot to updater.py #53

Open billmania opened 10 months ago

billmania commented 10 months ago

Using the existing mechanism for communication from the rq_ui browser UI to the updater.py daemon, add two capabilities:

  1. clean shutdown of the complete robot
  2. clean reboot of the complete robot

On the base OS also monitor the HAT's "shutdown" pin.

Required to support rq_ui Issue 113

billmania commented 10 months ago

Define a new message via the update FIFO. Use the following two commands:

  1. systemctl halt
  2. systemctl reboot
billmania commented 10 months ago

Version 11 of updater.py will handle the shutdown pin.