create msg file to publish distance and pose