Does the word "direction" have the same definition in the next two sentences?

He checked the direction and velocity of the wind.

Keep going in the same direction.
the same meaning