removes trailing spaces and empty lines
moves outside for-loop const variables
adds missed space in header include
removes unused param planner_costmap_publish_frequency