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 gun has been called the great equalizer ... It insures that the people are the equal of their government whenever that government forgets that it is servant and not master of the governed." --Ronald Reagan