Flipping the robot? That's harsh. Did you look into wheel encoders or gyroscopes to keep it stable? Also might want to check out ROS (Robot Operating System) if you haven't. It's great for managing robot software through good times and bad. And don't get me started on cutting grass in …