Move functions shared with plow into rover section.

This is in preperation to more formally share these in the future.