On the optimal trajectory generation for servomotors: A Hamiltonian approach | IEEE Conference Publication | IEEE Xplore