Gravar-mail: Impact of discrete corrections in a modular approach for trajectory generation in quadruped robots