cyberbotics / webots_ros

Webots ROS package
88 stars 39 forks source link

Set WEBOTS_EXTRA_PROJECT_PATH using rospack #110

Closed BarceloChristian closed 2 years ago

BarceloChristian commented 2 years ago

Requires Webots#4364

Uses rospack to find ROS packages being exported for webots_ros, making them available as extra projects by setting the WEBOTS_EXTRA_PROJECT_PATH environment variable.

Exported packages should be set as following:

<export>
  <webots_ros webots_extra_project_path="${prefix}"/>
</export>

Documentation is added in a PR here

ad-daniel commented 2 years ago

Thank you, a better place to document this possibility and how to use it would be here.

Also, please note that @omichel left an additional comment in the previous PR here. As both changes require modifying the docs in the develop branch, you can do them both at the same time.

omichel commented 2 years ago

@BarceloChristian: you should able to press the "Merge pull request" button now.