After following the tutorial here
http://ros.org/wiki/ROS/Tutorials/WritingPublisherSubscriber(python)
using the catkin build system, I would like to install the resulting node.
If I run the talker.py node like this
~/Desktop/workspace$ . devel/setup.bash
~/Desktop/workspace$ rosrun beginner_tutorial talker.py
everything works fine.
However, if I try to install and run, the node cannot be found
~/Desktop/workspace$ make -C build install
<snip build output>
~/Desktop/workspace$ . install/setup.bash
~/Desktop/workspace$ rosrun beginner_tutorial talker.py
[rosrun] Couldn't find executable named talker.py below
/home/user/Desktop/workspace/install/share/beginner_tutorial
What do I need to add so that the node is installed in such a way that
rosrun can find it?