Units for motor velocity in vexIQ Python

#1

What are the units for motor velocity in Vex IQ Python?

#2

Revolutions per minute.

#3

I’m getting values of 7600 - 8600 for a motor with no load.

#4

Please post your code.

#5

https://www.robotmesh.com/studio/5e0bcc533d68603bcb948be0

#6

Whoops, sure enough. If it is any consolation, Python B does the correct thing if you pass it vex.VelocityUnits.RPM, as seen here: https://www.robotmesh.com/studio/5e0c0b693d68603bcb948cc8

I have opened a bug for this incorrect behavior.

#7

We were really hoping to have available velocity in ticks per second, without having to calculate it ourselves.