Cost-effective visual odometry system for vehicle motion control in agricultural environments