added flag for when new data is received
added Costmap2DPublisher