Is it posiible to sense a motor's rpm

I just need to know how I can sense a motor’s current rpm. Any suggestions?

1 Like

In VEXCode it should be

motor.velocity(rpm);

Also be aware you can specify other units such as

  • pct (percentage)
  • dps (degrees per second)

I recommend using the vexcode doxygen as a reference, it can be pretty helpful.

https://api.vexcode.cloud/v5/html/

6 Likes

adding onto this- you can use the magnetic encoders (the new rotational sensors), optical encoders), and the built-in IME (integrated motor encoders- they’re the sensor with the black disk inside the v5 motors) to plug in the values you need to get the rpm

3 Likes