How to use ROS nodes/packages from the internet?
I'm working on my first ROS project and now that i've built a working robot that does some simple things i'd like to start incorporating more open source tools into my robot. I'd like to know how to use a package once it's downloaded from the Internet. My example:
I've got a 3d camera and i'd like to incorporate this into my workspace (github repository found here).
The octomap server seems to have nodes (at least one) but i don't know how to start it (them) and i'm not even sure i'm building them correctly. The ROS tutorials on the wiki don't really cover this specifically. What i've tried so far:
- run sudo apt-get install ros-kinetic-octomap. It tells me my octomap is the current version and up to date
- clone the entire octomap repository ( https://github.com/OctoMap/octomap_ma... ) into my workspace and run catkin_make (this didn't do anything) .
- I also tried just downloading and followed the build instructions for this , and downloaded the octomap_msgs repository ( https://github.com/OctoMap/octomap_msgs ) and this one ( https://github.com/OctoMap/octomap_ros ) as listed in the instructions of the Octomap package summary, "If you want to use OctoMap in ROS, octomap_ros and octomap_msgs provide messages, wrappers and conversion methods. octomap_server provides map building and serving capabilities. "
How do i actually launch the nodes from octomap_server? Or from anything i download online?
**EDIT:
In case this question is confusing or too specific here's a more general version of what i'd like to know:
I've downloaded some ROS packages/nodes online. Where do i put them in my catkin_ws such that when i build the workspace, whatever i've downloaded will be built. Ie. in the src directory? The build? Devel? Some combination of the above?
And, once the nodes have been built into my ROS project, how do i actually launch them? Usually when i download new nodes there are instructions on what command to run to launch the node (or wrapper node) but in this case there are no instructions. So without those instructions, how do you know what to do to launch a node. Perhaps someone could link me to a good tutorial on using roslaunch? Roslaunch seems to do what i want but i'm sure how to really use it without explicit instructions.
Can anyone help with this? Thanks
So just to avoid an xy-problem: what is your real goal here? "incorporating more open source tools into my robot" isn't really it, right?
Your example is so specific about
octomap_mapping
that any answer will likely not be generic enough to help you with your earlier .... stated goal, so I'm wondering whether some more clarification there might be beneficial.
Sure no worries. I've downloaded octomap, which has some nodes i'd like to launch. Thats my specific goal. But in general i don't know how to incorporate new nodes that i've downloaded into my projects. I assumed there was like a general answer, perhaps there isn't. If each case is its own...
...then i guess my questions is specifically about launching these octomap nodes i referenced in my question. Hope that clears it up.