If your sole peruse is to generate revenue.
Absolutely correct, its about the money, and only the money.
Like most people, I want reasonable laws enforced in a common sense manner. I really get pissed seeing my tax dollars being used by some Barney Fife hiding in the weeds with his radar gun. I've also seen folks get pulled over a block after leaving a bar or restaurant for no particular reason, no weaving or weirdness, and be forced to blow up the balloon.
I am surprised that more police don't resent being treated like a modern version of eighteenth century English highwaymen.
If traffic fines were replaced by mandatory jail sentences the number of tickets written would drop to zip because now it would cost the city to stop someone instead of fleecing them.