ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

According to the docs, in ROS kinetic the constructor for the Costmap is the following

Costmap2DROS (std::string name, tf::TransformListener &tf)

You should not use the constructor for ROS melodic

According to the docs, in ROS kinetic the constructor for the Costmap is the following

Costmap2DROS (std::string name, tf::TransformListener &tf)

You From your error message your ros distro is kinetic, not jade or melodic, so you should not use go with this one (which in this particular case it's equal to the constructor for ROS melodicjade one).