Survivable robotic systems: reactive and homeostatic control