use a previously created package
This is a very basic question. So far when working with ROS, I have either:
- Create a workspace and several packages inside (as described here or
- Use code that is complete.
My questions are two
- What is the best way to distribute one of my packages? Should I give the code starting from the package folder or starting from the workspace folder?
- If I want to use someone else's package is it enough to copy the package folder inside the src folder of the workspace and then call catkin_make?
Thanks
This is not an answer, but some observations:
site:answers.ros.org
to your query). If you found those, please mention them, so we can avoid discussing the same things, and also clarify what parts of your question weren't covered by the Q&As you already found.As always, we're here to help, but we should really try to avoid discussing the same things multiple times. We already have approx 58000 questions.