I'm not a lawyer, but I'd say it's OK under these conditions : a) you're visiting all the objects you're mapping and b) you're primary goal is to explore new places and share your findings (as opposed to completing the OSM map so that you can use it in some commercial project)