ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-11-10 11:04:22 -0500 | received badge | ● Famous Question (source) |
2021-11-10 11:04:22 -0500 | received badge | ● Notable Question (source) |
2016-07-25 09:12:52 -0500 | received badge | ● Great Question (source) |
2015-09-02 20:46:46 -0500 | received badge | ● Good Question (source) |
2014-10-06 12:13:35 -0500 | received badge | ● Nice Question (source) |
2014-09-10 09:20:42 -0500 | received badge | ● Student (source) |
2014-04-12 12:11:56 -0500 | received badge | ● Famous Question (source) |
2013-12-24 14:25:06 -0500 | received badge | ● Notable Question (source) |
2013-12-16 22:51:26 -0500 | received badge | ● Famous Question (source) |
2013-12-15 21:23:38 -0500 | received badge | ● Popular Question (source) |
2013-12-12 09:16:14 -0500 | received badge | ● Popular Question (source) |
2013-12-12 03:32:26 -0500 | asked a question | How to include headers from other packages I'm using ROS Groovy with catkin. I created a package1 with a file1.cpp in the src directory and a header file1.h in its include/package directory. I need to #include this header in another file2.cpp of another package2 in the same workspace and then call those declared function. file1.cpp doesn't have any main() function. It's only a list of functions and their body definitions. I'm not secure with this tool because everything I tried using tutorials is not working. Please, give me full informations about what to write in every CMakeLists.txt or package.xml and how to include that header in both packages. Thanks in advance. |
2013-12-11 23:05:57 -0500 | commented answer | How to link a common module in more packages? Thank you, can you make an example? I can create a package but how do I must make the others dependable by this one? Do I have to put some extra #include, CMakeLists or package.xml statement? |
2013-12-11 23:03:44 -0500 | answered a question | How to link a common module in more packages? Thank you, can you make an example? I can create a package but how do I must make the others dependable by this one? Do I have to put some extra #include, CMakeLists or package.xml statement? |
2013-12-11 22:06:23 -0500 | asked a question | How to link a common module in more packages? Hello, I have some ROS C++ packages that share many common functions. They are identical functions so I was thinking to put them all in another file.hpp and include this file in each package is needing them. I'm using catkin to create my workspace and all the packages I develop. They are all in src directory starting from the main one, as the tutorials said. But where do I must save this file.hpp in the workspace and which path I have to #include in each file that is using it? Do I have to modify the CMakeLists.txt? This is a scheme of my workspace:
Thanks in advance. |
2013-12-04 02:31:23 -0500 | received badge | ● Notable Question (source) |
2013-11-29 05:43:53 -0500 | received badge | ● Popular Question (source) |
2013-11-27 23:09:25 -0500 | received badge | ● Supporter (source) |
2013-11-27 21:46:30 -0500 | asked a question | catkin: move/remove package and workspace Hello, I have a catkin workspace containing some catkin packages. They were created using catkin_init_workspace and catkin_create_pkg commands respectively. I want to move them all in another directory but I didn't find any tutorial about it. Is there something I have to do before that? Can I simply mv -r this workspace directory? I have some doubts because using rosrun ROS I can find my packages everywhere and it doesn't ask me for paths, so I thought it could be possible only with some environment settings. I'm cautios about moving workspace, that's why I'm asking here :) I'm using ROS Groovy and Ubuntu 12.04 So, briefly my questione are:
Thanks in advance. |