You can try and get your PD to get you a deal before the warrant is served. Then maybe you could turn yourself in and plea at 24hr court or at the time of a Motion to Set Aside the Warrant.
I agree with the previous post. If your attorney can strike a deal with the prosecutor, i.e., for time served or probation, have your attorney file a motion to set aside the capias and schedule it for a hearing and also notice it for a plea. When you come to court, the court will most likely set aside the warrant, accept your plea, and the case will be resolved. Good luck.