Clearedcerror 51 on 2002 gem car now wont run

I have a gem car that will not send power to motor. it ran fine one day and when attempting yo use the next day it had error 51 on display. i tested and verified voltage on batteries, and unplugged and plugged in various connectors to ensure good connections. the error 51 is now gone and the contactor is pulling in, but when accelerator pedal is pushed only a slight hum from controller and no movement on motor. i need to tell whether its the controller, accelerator potentiometer or a wiring issue. i ohmed the potentiometer out and it goes from near zero to 5001 as the pedal is pushed. what voltages should the pot be sending and which output test point on controller should i test output voltages on as accelerator is pushed

Ohming motor may be the next easiest test.
Stuck brushes?