My question involves criminal law for the state of: FLORIDA

Okay here's the deal.
Me and some friends drove from miami to Marco island (by naples) and were smoking blunts on the way over there. We didn't know Marco Island was so hardcore with their traffic violations so I was speeding 55 on a 30 and a cop pulled me over. The car REEKED of weed and I was all nervous and he asked me to give him the stash before he found it and I got into deeper shit, so I complied. After the big scare or whatever they were more chill. I couldn't drive my car because I was under the influence but I did handstands and hand springs for them to prove my ability to focus under the influence of marijuana, and they let me park the car at a near by store.

well to the point...

I had to appear in court today, and I went. I got caught with like 1.5 grams that weren't even mine, but I took the blame for because I was driving and my friends and little brother were all under age and under strict parental watch (i know what that's like so I took one for the team). This is like the 3rd time I'd ever smoked and this bullshit happens. Well they wanted to imply some programs that cost a ridiculous amount of money and time I really don't feel like spending, so I rejected all of them and pleaded not guilty.. They re-scheduled my court date..

I just wanted to know....
What can be the possible outcomes?

Can judges be sweet talked? I'm great at that... and I know my rights.

Does the cop that arrested me have to appear in court?

If he doesn't, does it mean I'm off?