velocity integration with spring controller