The most important thing I can add to this it simply, To resist will get you Tazed, arrested, and charged. objecting without resistance will not. It is best to argue the fourth amendment in court not at the scene. remember, anything you say can and will be used against you, so do not say anything beyond "I do not consent to any search and seizure nor will I answer any questions, however i will not resist." this is the only thing you should ever say to the police, and every time you say it, it should be followed with, "am I now free to go?"
One last word of caution, never, ever unholster your firearm. If the police want you disarmed, insist that they be the ones to unholster your firearm. If you are ordered to unholster it yourself, and refuse, an obstruction charge would be dismissed if it's based on you refusal to unholster yourself. You're lawyer will argue that you were acting in the best interests of your safety as well as the officers.