ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Here is an API to get rosmsg through python: http://docs.ros.org/kinetic/api/rosmsg/html/
After import modules:
import rospy
import rosmsg
import rospkg
I can get the text of messages through rosmsg.list_msgs(ros_pkg)
from a certain package, and get all the packages through rospkg.RosPack().list()