On the computation of the continuous-time reference trajectory for mechanical juggling systems