ros-infrastructure / rospkg

rospkg Python library for ROS
http://wiki.ros.org/rospkg
36 stars 97 forks source link

Add option to show all ROS package names and their versions #221

Closed 708yamaguchi closed 3 years ago

708yamaguchi commented 3 years ago

I add option to show all ROS package names and their versions like below. I think this option is useful for printing an overview of the ROS environment.

$ rosversion --all
...
rospack: 2.5.6
rospy: 1.14.10
rviz: 1.13.15
...

Without this option, we need to do like below and this takes a little long time.

$ for i in $(rospack list-names); do echo "$i: $(rosversion $i)"; done
cottsay commented 3 years ago

Re-opening to trigger GH Actions.