extracting project metadata

asked 2023-05-15 10:03:41 -0500

Does ROS2 provide a tool or an API for parsing project files in order to extract metadata such as: - project name - package names - node names - launch file names

shouldn't be too difficult to writes such a tool in python for python projects, but in order to support multiple project languages, this becomes tedious real fast...

thanks.

edit retag flag offensive close merge delete

Comments

For anything more than simple parsing of package.xml, you could perhaps take a look at git-afsantos/haros. It's not perfect, but should be able to extract things like nodes, launch files, etc.

ROS 2 support is 'new', so not sure how mature it is.

gvdhoorn gravatar image gvdhoorn  ( 2023-05-15 13:26:35 -0500 )edit

thanks @gvdhoorn!

shalevm gravatar image shalevm  ( 2023-05-15 22:48:12 -0500 )edit