what does generator on a motorcycle do
The change of direction is in the flow of electricity. As a motor it consumes electricity (flows in) to make mechanical power, and as a generator, it consumes mechanical power to produce electricity (flows out).