Robotics StackExchange | Archived questions

Modify the follower.cpp in turtlebot_follower but it doesn't work

Hi, After I modify the the follower.cpp in turtlebot_follower and catkin_make in turtlebot, I run roslaunch turtlebot_follower follower.launch. It still run the follower.cpp before modify.

Can someone help me with this?

Asked by wyh on 2015-10-17 08:01:57 UTC

Comments

Answers

When you say you modified follower.cpp have you done that in the original file, or saved it with a different name ?

After running catkin_make did you source your workspace so it finds the modified version in the workspace, rather than a file in the base ROS install ?

Asked by nickw on 2015-10-18 01:56:08 UTC

Comments

Oh, thanks! I forgot source my workspace.

Asked by wyh on 2015-10-18 02:21:52 UTC

cd myWorkspace

source devel/setup.bash

Asked by wyh on 2015-10-18 02:24:00 UTC