how do i make my motors go a RPM instead of a power like 127?
With ROBOTC you can command the motors to go to a value that is proportional to RPM, have a read through this thread.
https://vexforum.com/t/robotc-has-pid-to-control-your-flywheel/31108/1
It is still a bit complicated. To convert from the motor control value to rpm look at the math in this specific post.
https://vexforum.com/index.php/conversation/post/143522
void RPMCalc()
{
SensorValue[I2C_1] = 0;
wait1Msec(time);
RPM = SensorValue[I2C_1] * Hz * 60 / ticks;
}
@jpearman this is what i put so far need help
If you go to your motor and sensor setup and assign the IME to the motor it’s on, RobotC can calcualte rpm for you:
getMotorVelocity(nameOfYourMotor);