# Machine with four wheels, how can I find the velocity of the left and ride side of the machine independently?

I have a four wheeled differential driving machine. I am writing a plugin that requires turn rate. Is there a way to find the velocity of a specific wheel in a machine?

Here is my Turn Rate Method.

    int32_t calcTurnRate()
{
//Define pointers to front left and front right wheels