Does "ride" mean the same thing in these two sentences?

She loves to ride her new motorcycle through town.

The child rode on his mother's hips.
different meanings