ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
752 stars 911 forks source link

rosnode: allow rosrun & roslaunch to find script #2262

Closed gavanderhoorn closed 1 day ago

gavanderhoorn commented 2 years ago

As per subject.

See the commit comment for more info.

Inspired by what rosservice does:

https://github.com/ros/ros_comm/blob/dd78ac8af128bb8eb992d6431bb9f994658ea6ab/tools/rosservice/CMakeLists.txt#L8-L9

I'm not aware of any adverse side-effects, but haven't extensively tried to look for any either.

gavanderhoorn commented 2 years ago

Discovered this while updating rosnode kill in launch file on ROS Answers.