I'm thinking of taking an edible and then driving to pick up a friend who lives 7 minutes away
Gosh, why do you want to take that risk?
My friend is always slow to drive here instead.
You have the idea that it is safe to have an edible and then drive for 7 minutes, but it is a risk you have to reconsider. You could get into a bad accident because of the edible making you incoherent. Be patient and let your friend drive to you even if they are too slow, it's not worth the risk otherwise.
You're right I won't take the edible before I pick him up.
That sounds like a much safer idea. You can always take the edible when you get home.