A randomized attitude slew planning algorithm for autonomous spacecraft | Synapse