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

Revision history [back]

click to hide/show revision 1
initial version

This error message

CMake Error at navigation_tutorials/robot_setup_tf_tutorial/CMakeLists.txt:11 (add_executable):
  add_executable cannot create target "tf_broadcaster" because another target
  with the same name already exists.  The existing target is an executable
  created in source directory "/home/is/catkin_ws/src/robot_setup_tf".  See
  documentation for policy CMP0002 for more details.

indicates to me, that you have two packages in your workspace that are building the same target "tf_broadcaster": /home/is/catkin_ws/src/navigation_tutorials/robot_setup_tf_tutorial AND /home/is/catkin_ws/src/robot_setup_tf

So my initial suggestion would be to move one of the folders out of your src folder to avoid this conflict. I guess you are working on navigation_tutorials/robot_setup_tf_tutorial so the robot_setup_tf can be moved out like mv /home/is/catkin_ws/src/robot_setup_tf /home/is/robot_setup_tf