add map registration in simulation function
Merge pull request #104 from irvs/issue99

add map registration in simulation function