Fault-tolerant attitude control of spacecraft. (2021)