ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

The value of ${prefix} in package.xml

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

abcgarden gravatar image

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

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?

Thanks.

edit retag flag offensive close merge delete

Comments

1

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

abcgarden gravatar image abcgarden  ( 2015-03-23 08:40:54 -0500 )edit
1

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

achmad_fathoni gravatar image achmad_fathoni  ( 2018-06-28 14:07:51 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-06-28 15:23:56 -0500

petermitrano gravatar image

from comments: The value of ${prefix} is the path where package.xml is located

not sure if this is true just copying for visibility

edit flag offensive delete link more

Comments

Combinacijus gravatar image Combinacijus  ( 2021-12-19 08:38:20 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2015-03-21 18:53:40 -0500

Seen: 2,635 times

Last updated: Jun 28 '20