You are riding over bridge gratings and your motorcycle has begun to weave. You should:

If your motorcycle begins to weave while you are traveling over bridge gratings, you should simply maintain a steady speed and proceed straight across the surface. Trying to stay in your lane while riding in a zigzagging motion is dangerous.
DMV Writen Test