set device gains in python script. integrate velocity in device increment method.