Ask Your Question
0

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

asked 2015-10-17 08:01:57 -0500

wyh gravatar image

updated 2015-10-18 05:26:10 -0500

gvdhoorn gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-18 01:56:08 -0500

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 ?

edit flag offensive delete link more

Comments

Oh, thanks! I forgot source my workspace.

wyh gravatar imagewyh ( 2015-10-18 02:21:52 -0500 )edit

cd myWorkspace

source devel/setup.bash

wyh gravatar imagewyh ( 2015-10-18 02:24:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-10-17 08:01:57 -0500

Seen: 76 times

Last updated: Oct 18 '15