[Documentation] [TitleIndex] [WordIndex

Packages

The packages object gives you access to metadata about your installed ROS packages. Each of the Package objects has a variety of useful information, similar to what you might find with the rospack command. The API of the Package object is described below.

package.depends1

package.manifest

package.msg

package.srv

package.path

package.nodes

packages.launches

Example

In [1]: packages.rospy.depends1.roslib.manifest.license
Out[1]: u'BSD'

Stacks

The stacks object gives you access to metadata about your installed ROS stacks. Each of the Stack objects has a variety of useful information, similar to what you might find with the rosstack command. The API of the Stack object is described below.

stack.packages

stack.depends1

stack.manifest

stack.path

Example

In [1]: stacks.visualization.depends1.geometry.path
Out[1]: '/Users/kwc/ros-pkg/geometry'
In [3]: stacks.visualization.packages.rviz.depends1.tf.name
Out[3]: 'tf'

2024-11-30 17:52