where:
v
is the velocity of the wheelr
is the radius of the wheelω
is the angular velocity (motorVelocity) of the wheelrpm
is the revolutions per minute of the wheelπ
is the revolutions per minute of the object
To calculate the motor’s angular displacement, we first need to convert the rotational speed from RPM to angular velocity in radians per second.
After calculating the angular velocity, we divide by the gear ratio to adjust for the gearing system. The final formula for motor velocity is:
Once we have the angular velocity, the next step is to calculate the angular displacement. Angular displacement refers to how far the motor has rotated during a given time interval.
where:
θ
is the angular displacementΔt
represents the time interval (delta_seconds).