Advanced Modern C++ for Robotics

Hello

I tried to proove the 3.3 solution of Mordern C++ classes and when I use catkin_make that appears.

image

This is my CMakeList.txt

  cmake_minimum_required(VERSION 3.0.2)
  project(exercise-33)
  
  find_package(catkin REQUIRED COMPONENTS
    roscpp
    nav_msgs
  
  )
  
  catkin_package(
     INCLUDE_DIRS include
     CATKIN_DEPENDS roscpp nav_msgs
  )
  
  
  include_directories(
    ${catkin_INCLUDE_DIRS}
  )
  
  add_executable(exercise33 
      src/exercise33.cpp 
      src/control_turtle.cpp
  )
  
  add_dependencies(exercise33 ${exercise33_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
  target_link_libraries(exercise33
  ${catkin_LIBRARIES}
  )

What am I forgetting?

Hello @Voltedge,

if you are at the very end of unit 3, the last exercise (Exercise 3.3) is faulty. We had to remove this exercise from the course. Unit 3 is updated now.

I sincerely apologize for the trouble caused.

Roberto

1 Like

Hi @rzegers

Oh, that’s okay. Thanks for response.

Ruben

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.