When flying over one of those pick-up icons on the track, a special weapon or skill will be randomly assigned; sometimes, you just have to hope for the best.
If it's a particularly difficult track and you're approaching the toughest section, you'll be praying for an auto-pilot.