What does export tag in package.xml do?

asked 2023-08-09 11:16:58 -0500

user1928 gravatar image

updated 2023-08-09 11:18:31 -0500

What does the following block of code in a package.xml do?

<export>
  <gazebo_ros gazebo_model_path="${prefix}/models"/>
</export>

I thought if I have this code in my package's package.xml & catkin_make the package & source the corresponding setup.bash file, the GAZEBO_MODEL_PATH env variable will be set automatically instead of having to set it manually. But that doesn't look like the case.

Can anyone please explain this? Thanks!

P.S: I was trying to follow this tutorial

P.P.S: I'm using ROS Noetic. & Gazebo-11

edit retag flag offensive close merge delete

Comments

I found some useful info here: https://answers.ros.org/question/2518...

user1928 gravatar image user1928  ( 2023-08-10 14:15:56 -0500 )edit