November 2018
Beginner
472 pages
13h 5m
English
These problems can combine to cause real nightmares. I've seen changes in the code lead a robot to misbehave and damage itself in a way that made the SD card corrupted. I've been updating packages on the operating system when the power cable was knocked out, corrupting the SD card and breaking Raspbian two weeks before a major robot event, and it was painful rebuilding it. This was a lesson learned the hard way.
Back up the code and back up the SD card configuration. Over the rest of this chapter, we'll look at some solutions to keep your robot's software safe from many kinds of disaster.