This package provides an easy way to access rospack from within Orocos RTT in order to resolve the path to a ROS package on the current system.
You can resolve the path to a ROS package on your system in the following way by importing rtt_rospack and then using find:
import("rtt_ros");
ros.import("rtt_rospack"); // extends the 'ros' service with a 'find' function
var string the_path = ros.find("actionlib");