Talk to your public defender. We can't second guess his advice/counsel. I know you're stressed to level 11, but you need to talk to him to know how this will play out.
Your court-appointed public defender is in the best position, having heard all the public and non-public privileged details about your matter, to advise you.
I agree with the wise observations of Mr. Gotzh.
Make sure you arrive at the courthouse early so you can speak to the public defender assigned to your case before the case is called, and remind him/her of your issues so they can advise you accordingly, taking into consideration the discovery or information available to them provided by the prosecutor and/or the arresting officer or the police department and the confidential information you share with your lawyer.