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

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

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


Oh, thanks! I forgot source my workspace.

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

cd myWorkspace

source devel/setup.bash

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

Question Tools

1 follower


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

Seen: 256 times

Last updated: Oct 18 '15