added velocity constraints in control.py + example