couldn't rosrun new executable after changing the source code
I am trying to sending head move command to pr2 robot, and in my CMakeLists.txt
file, I have add_executable(point_head src/point_head.cpp)
, after catkin_make
, I can use rosrun simple_head point_head
to move the head of pr2.
Then I changed the head position in point_head.cpp
and catkin_make
again. But when I rosrun simple_head point_head
again, the head of pr2 stills goes to the position unchanged. While when I manually run point_head
in ~/catkin_ws/devel/lib/simple_head/
, it goes to the new position correctly.
Is there anyone know why I couldn't run the new changed executable? Thanks a lot!