in simulation_ws/src/simulation_app/scripts/file_uploader.py [0:0]
def write_map_to_disk(self, path, name):
rospy.loginfo('[file_uploader] Writing map file to disk at {}{}'.format(path,name))
subprocess.call( ['rosrun', 'map_server', 'map_saver', '-f' , path+name] )