Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 670

Determine path of (sourced) catkin workspace?

$
0
0
After sourcing a Catkin workspace, what is the best way to determine the root path of the sourced workspace? I'm aware of `catkin locate`, however this doesn't have the desired behavior because it does not rely on the sourced workspace, but rather is working directory dependent, i.e., - it would not work from outside of the workspace path structure, - and it does not work if you source workspace A but cd into workspace B etc. How can I reliably determine the path of the workspace that has been sourced?

Viewing all articles
Browse latest Browse all 670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>