updated to build with new costmap api