ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

MatthiasMayr's profile - activity

2022-08-07 10:06:23 -0500 received badge  Nice Question (source)
2017-03-15 09:48:29 -0500 commented question How to display a pcl_msgs/PolygonMesh in rviz?

I haven't tried it yet, but there may be a way.

PCL can save to STL with savePolygonFileSTL which should be usable with RViz.

2015-08-06 02:10:45 -0500 received badge  Taxonomist
2015-08-06 01:33:45 -0500 received badge  Student (source)
2014-09-10 02:14:13 -0500 received badge  Famous Question (source)
2014-03-31 00:02:01 -0500 received badge  Famous Question (source)
2014-03-17 16:15:46 -0500 received badge  Notable Question (source)
2014-03-17 05:32:05 -0500 answered a question Advanced actionserver usage
  1. Works out of the box. But the goalhandles received in the GoalCallback on the server side have to be stored somewhere to get access to older goals. In my implementation I just store them in a vector.

  2. Store the callback goalhandles on the server side and store the client goalhandles on the client side. Client goalhandles are the returned object of actionclient.sendGoal(goal).

  3. Use the client goalhandle received from the sendGoal-Function.

  4. The server goalhandle has a function allowing to access the goal. It can be accessed with (*server_goalhandle.getGoal()).[goal-attribute1]

2014-03-17 05:26:49 -0500 received badge  Popular Question (source)
2013-12-11 11:18:42 -0500 received badge  Notable Question (source)
2013-12-02 22:56:10 -0500 received badge  Popular Question (source)
2013-12-02 02:08:57 -0500 received badge  Scholar (source)
2013-12-02 02:08:53 -0500 commented answer How to make catkin compile packages within a metapackage?

Your tip with the folder worked. I didn't know, that the metapackages packages.xml and CMakeLists.txt have to be within a folder named like the metapackage. I also didn't find any documentation saying that.

2013-12-02 01:08:26 -0500 asked a question How to make catkin compile packages within a metapackage?

I'm using hydro with catkin (v. 0.5.77) and I'm using a metapackage because I want to enhance a rosbuild-stack, which I catkinized. My problem is, that catkin_make recognizes my metapackage, but doesn't touch (in terms of compile) the package within the metapackage.

To show the problem, I created a metapackage called "metapackage" in catkins source directory (~/catkin_ws/src/metapackage) and a package "package1" in the directory of the metapackage (~/catkin_ws/src/metapackage/package1). The package "package1" is working fine and compiling, when I move it in catkins source directory. But if it's in the metapackages directory, it isn't touched by catkin.

I went through all the ros-answers questions and the wiki, but I didn't find another way telling catkin about my package except the run_depend-tag, which doesn't change anything.

Thanks in advance.

Information

  • That's the CMakeLists.txt of my metapackage:

cmake_minimum_required(VERSION 2.8.3)
project(metapackage)
find_package(catkin REQUIRED)
catkin_metapackage()

  • That's the package.xml of my metapackage:
<?xml version="1.0"?>
<package>
  <name>metapackage</name>
  <version>0.0.0</version>
  <description>The metapackage package</description>

  <maintainer <a href="mailto:email="user@todo.todo">user</maintainer">email="user@todo.todo">user</maintainer</a>>
  <license>TODO</license>

  <buildtool_depend>catkin</buildtool_depend>
  <run_depend>package1</run_depend>


  <!-- The export tag contains other, unspecified, tags -->
  <export>
    <!-- You can specify that this package is a metapackage here: -->
    <metapackage/>
    <!-- Other tools can request additional information be placed here-->

  </export>
</package>
  • If it's interesting, that's my toplevel CMakeLists.txt: pastebin.com/h6ssccXC
    (it needs a http:// prefix as I do not have enough karma to post links, but it's too long to post it here)
2013-12-02 00:59:00 -0500 asked a question How to make catkin compile packages within a metapackage?

I'm using hydro with catkin (v. 0.5.77) and I'm using a metapackage because I want to enhance a rosbuild-stack, which I catkinized. My problem is, that catkin_make recognizes my metapackage, but doesn't touch (in terms of compile) the package within the metapackage.

To show the problem, I created a metapackage called "metapackage" in catkins source directory (~/catkin_ws/src/metapackage) and a package "package1" in the directory of the metapackage (~/catkin_ws/src/metapackage/package1). The package "package1" is working fine and compiling, when I move it in catkins source directory. But if it's in the metapackages directory, it isn't touched by catkin.

I went through all the ros-answers questions and the wiki, but I didn't find another way telling catkin about my package except the run_depend-tag, which doesn't change anything.

Thanks in advance.

Information

  • That's the CMakeLists.txt of my metapackage:

cmake_minimum_required(VERSION 2.8.3)
project(metapackage)
find_package(catkin REQUIRED)
catkin_metapackage()

  • That's the package.xml of my metapackage:
<?xml version="1.0"?>
<package>
  <name>metapackage</name>
  <version>0.0.0</version>
  <description>The metapackage package</description>

  <maintainer <a href="mailto:email="user@todo.todo">user</maintainer">email="user@todo.todo">user</maintainer</a>>
  <license>TODO</license>

  <buildtool_depend>catkin</buildtool_depend>
  <run_depend>package1</run_depend>


  <!-- The export tag contains other, unspecified, tags -->
  <export>
    <!-- You can specify that this package is a metapackage here: -->
    <metapackage/>
    <!-- Other tools can request additional information be placed here-->

  </export>
</package>
  • If it's interesting, that's my toplevel CMakeLists.txt: pastebin.com/h6ssccXC
    (it needs a http:// prefix as I do not have enough karma to post links, but it's too long to post it here)
2013-12-02 00:57:00 -0500 asked a question How to make catkin compile packages within a metapackage?

I'm using hydro with catkin (v. 0.5.77) and I'm using a metapackage because I want to enhance a rosbuild-stack, which I catkinized. My problem is, that catkin_make recognizes my metapackage, but doesn't touch (in terms of compile) the packages within the metapackage.

To show the problem, I created a metapackage called "metapackage" in catkins source directory (~/catkin_ws/src/metapackage) and a package "package1" in the directory of the metapackage (~/catkin_ws/src/metapackage/package1). The package "package1" is working fine and compiling, when I move it in catkins source directory. But if it's in the metapackages directory, it isn't touched by catkin.

I went through all the ros-answers questions and the wiki, but I didn't find another way telling catkin about my package except the run_depend-tag, which doesn't change anything.

Thanks in advance.

Information

  • That's the CMakeLists.txt of my metapackage:

cmake_minimum_required(VERSION 2.8.3)
project(metapackage)
find_package(catkin REQUIRED)
catkin_metapackage()

  • That's the package.xml of my metapackage:
<?xml version="1.0"?>
<package>
  <name>metapackage</name>
  <version>0.0.0</version>
  <description>The metapackage package</description>

  <maintainer <a href="mailto:email="user@todo.todo">user</maintainer">email="user@todo.todo">user</maintainer</a>>
  <license>TODO</license>

  <buildtool_depend>catkin</buildtool_depend>
  <run_depend>package1</run_depend>


  <!-- The export tag contains other, unspecified, tags -->
  <export>
    <!-- You can specify that this package is a metapackage here: -->
    <metapackage/>
    <!-- Other tools can request additional information be placed here-->

  </export>
</package>
  • If it's interesting, that's my toplevel CMakeLists.txt: pastebin.com/h6ssccXC
    (it needs a http:// prefix as I do not have enough karma to post links, but it's too long to post it here)
2013-10-29 00:09:09 -0500 received badge  Supporter (source)
2013-10-23 01:53:48 -0500 commented answer Autonomous Navigation of a Known Map with TurtleBot Problem

I just encountered the same problem and I just started teleop, because it was mentioned, that one should do that. [1] Maybe it should be mentioned on the wiki page, that one has to use roslaunch kobuki_keyop keyop.launch as teleoperation. [1]: http://wiki.ros.org/turtlebot_navigation/Tutorials/Autonomously%20navigate%20in%20a%20known%20map