The SCOTS attitude control system