SLAM Navigation: Drive controller

Hi,

I followed these steps:

Save it as drive_controller.cpp in the tutorial_pkg/src folder.

Now in CMakeLists.txt file find line:

find_package(catkin REQUIRED COMPONENTS
    roscpp
)

and change it to:

find_package(catkin REQUIRED COMPONENTS
    roscpp tf
)

then declare executable:

add_executable(drive_controller_node src/drive_controller.cpp)

And specify libraries to link:

target_link_libraries(drive_controller_node
${catkin_LIBRARIES}
)

Ran the catkin command.

Thanks
Vineet