In the motors and sensors setup in robotc, what does changing the motor type (high torque, high speed, and turbo) do to the program. I always thought is was just for reference.
Specifically the option is only used for the when ROBOTC tries to calculate the rpm of a motor based on the IME. The nMotorEncoder function gives the raw value but forward(5,rotations, 127) requires the correct motor setting to go the correct distance. Or the getMotorVelocity function that returns RPM would need to correct motor setting in the motor and sensor setup.
Edit I had written 128 on my phone lol
4361T
December 9, 2015, 11:26am
#3
In easyC, at least for programming IME’s, you have to change the motor type, otherwise it won’t work at all.