With one exception, years ago in Calif., all my interactions with law enforcement, local or state, have been of the highest quality. We have a small but efficient police department in my little town. The officers wave on patrol if you're outside; one officer stopped me on my block to chat about my dog as we were walking. If you treat LEOs with respect and are friendly, I'm guessing you'll get that back. Copping an attitude, being belligerant, etc., will not get you what you want, which is to be turned loose, sans ticket or arrest ... Most cops have a scary, dangerous job and I can certainly understand why they wish to get on top of a situation immediately, so I never take offense at being told to keep my hands in sight or step from my vehicle, if that's what is being asked ...
"The welfare of humanity is always the alibi of tyrants." Albert Camus