The value of ${prefix} in package.xml

asked 2015-03-21 18:53:40 -0600

abcgarden gravatar image

updated 2015-03-21 18:54:29 -0600

I have several questions related to this topic:

  1. What is the value of ${prefix} in package.xml? Is it an env variable?

  2. How can I output these values?

  3. Are there any other "hidden" variables like this one in package.xml?

  4. Is it possible to run system command in package.xml, such as $(rospack find std_msgs) ?

  5. Is it a general question applicable to all xml files or is it only ROS-specific?


edit retag flag offensive close merge delete


I know the answer to the first one now. The value of ${prefix} is the path where package.xml locates.

abcgarden gravatar imageabcgarden ( 2015-03-23 08:40:54 -0600 )edit

@abcgarden How do you know? Is there any documentation on-line about it?

achmad_fathoni gravatar imageachmad_fathoni ( 2018-06-28 14:07:51 -0600 )edit