Code: Select all
os.system( "sudo shutdown -h now")
Is shutdown -h now safe to issue?
The robot launches several Python processes to manage sensor readings, interrupts for the wheel encoders, and motor speed control. (None that will be writing to the disk at the time, but something in the OS is blinking the green light periodically)