Skip to content

Commit

Permalink
Update testRemoteRaveBot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Feb 2, 2018
1 parent 2171d3e commit 0c83592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/python/testRemoteRaveBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0c83592

Please sign in to comment.