diff --git a/example/python/testRemoteRaveBot.py b/example/python/testRemoteRaveBot.py index ed42105c..49c4cdc4 100644 --- a/example/python/testRemoteRaveBot.py +++ b/example/python/testRemoteRaveBot.py @@ -67,7 +67,7 @@ enc.getEncoders(v) # read the encoder values and put them into 'v' print 'v[1] is: ' + str(v[1]) # print element 1 of 'v', note that motors and encoders start at 0 -for i in range(1,axes): mode.setVelocityMode(i-1) # use the object to set the device to velocity mode (as opposed to position mode) +for i in range(axes): mode.setVelocityMode(i) # use the object to set the device to velocity mode (as opposed to position mode) print 'test velocityMove(0,10) -> moves motor 0 (start count at motor 0) at 10 degrees per second' vel.velocityMove(0,10)