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

bnm-rc's profile - activity

2017-04-20 16:46:28 -0500 marked best answer How to add custom message types in rosmatlab

Hi everyone,
what do I have to do to add custom message types for use with rosmatlab by TU Darmstadt?

I tried to add a new directory called msg in workspace/src/rosmatlab/rosmatlab and placed a file called Num.msg inside of it. But examining the appropriate CMakeLists.txt file, I noticed all message being included with the function add_mex_messages followed by the message name in paranthesis.

So does anybody know how to solve this?

[Edit 2014-03-12]
Okay I now created a new package outside of the rosmatlab workspace and defined a new message type there. Then I compiled it to make it accessible by the ROS system itself. Then I added a add_mex_messages() statement to the CMakeLists.txt in the rosmatlab workspace and a <build_depend /> tag in the package.xml to refer to that package containing the new message type. When I compiled the rosmatlab workspace with these settings everything went well, until cmake claimed a non-existent header file referred to by the C-MEX file of my message type. In fact the header file doesn't exist at all and I'm wondering why it hasn't been generated by rosmatlab or whatever if everything else has been generated. I'm sorry, if it is obvious to all of you, but it is neither documented nor obvious to me, so if anyone has anything to say about this topic, please let me know! Thanks in advance.

Greets,
Roberto

2016-12-26 12:30:44 -0500 received badge  Famous Question (source)
2015-07-02 06:24:58 -0500 received badge  Famous Question (source)
2015-07-02 06:24:58 -0500 received badge  Notable Question (source)
2015-02-06 08:31:18 -0500 received badge  Notable Question (source)
2015-02-06 08:31:18 -0500 received badge  Famous Question (source)
2015-01-15 09:43:53 -0500 received badge  Famous Question (source)
2015-01-15 09:43:53 -0500 received badge  Notable Question (source)
2014-10-29 10:51:03 -0500 received badge  Taxonomist
2014-10-22 14:11:17 -0500 received badge  Famous Question (source)
2014-10-22 14:11:17 -0500 received badge  Notable Question (source)
2014-09-04 08:29:49 -0500 received badge  Famous Question (source)
2014-06-17 01:12:56 -0500 received badge  Notable Question (source)
2014-05-15 01:48:47 -0500 received badge  Famous Question (source)
2014-05-13 00:39:47 -0500 received badge  Notable Question (source)
2014-05-07 01:25:43 -0500 received badge  Popular Question (source)
2014-05-03 12:22:05 -0500 received badge  Popular Question (source)
2014-04-22 23:10:35 -0500 commented answer Compile rosmatlab with winros on Windows 7 (catkin_make)

I probably missed the --install step, but already worked around this by calling nmake install from within the build library. Thanks a lot anyway!

2014-04-21 23:27:40 -0500 received badge  Popular Question (source)
2014-04-21 07:09:03 -0500 received badge  Popular Question (source)
2014-04-20 06:56:50 -0500 marked best answer Missing file in the ActionLib Intermediate Tutorial

Hi everyone,

I was going through the tutorials on the ActionLib, when I recognized a missing file (description) on the Averaging Action . In the code explanation on the tutorial page ( http://wiki.ros.org/actionlib_tutoria... it says

[...] This includes action message generated from the Averaging.action file show above. This is a header generated automatically from the AveragingAction.msg file. [...]

, but there actually isn't any Averaging.action file shown on the page or previous pages. Also, the linked AveragingAction.msg ( http://www.ros.org/doc/api/actionlib_... ) isn't existing.

I worked around this with an improvised Averaging.action like this:

#goal
int32 samples
---
#result
int32 average
int32 samplecount
int32 stddeviation
---
#feedback
int32 samplenumber
int32 currentaverage
int32 currentstddeviation

but I am not sure if it will work semantically correctly when I proceed with the tutorial.

Could someone please update this?
Thanks in advance!

2014-04-15 06:05:41 -0500 received badge  Notable Question (source)
2014-04-03 22:03:07 -0500 asked a question winros find_package(catkin) failure

Hi,
when I try to compile an overlay workspace with winros_make I get the following error:

loading initial cache file C:\work\overlay\config.cmake
CMake Error at CMakeLists.txt:47 (message):
  find_package(catkin) failed.  catkin was neither found in the workspace nor
  in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
  sourced before.

I don't know what I should do, because I previously called the setup.sh in C:\work\ws\devel which is the directory I have my self compiled windros SDK.

Can someone please help me?


UPDATE1
I also tried to add the following lines to both config.cmake and CMakeLists.txt in the root and src folder, respectively:

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "C:/work/ws/src/catkin/cmake")
set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};C:/work/ws/src/catkin/cmake")
2014-04-02 20:57:22 -0500 asked a question Compile rosmatlab with winros on Windows 7 (catkin_make)

Hi again,
I finally got to compile winros with another Boost version (in the end it was just ridiculously easy...), but now I don't know how to substitute the command

catkin_make -DCMAKE_INSTALL_PREFIX=$MATLAB_ROOT/ros/groovy -DBoost_NO_SYSTEM_PATHS=ON -DBOOST_ROOT=$MATLAB_ROOT/ros/groovy install

described here with winros_make, since I don't know how to pass those arguments to winros_make so that it redirects them to the internal call to cmake.

Is there anybody who solved this or has suggestions? I read about putting the arguments in either a configure.cmake or findboost.cmake file, but since I'm not yet familiar with cmake, I wasn't able to handle that by now.

Greets and big thanks in advance!

2014-03-27 10:38:43 -0500 received badge  Popular Question (source)
2014-03-26 00:02:54 -0500 commented answer Compile rosmatlab with winros, or what is catkin_make_isolated?

Thanks for your answer! The main reason why I considered using catkin_make_isolated is that it's described in the installation guide of rosmatlab. It's at the point where I want to compile ROS with another version of the boost libraries. But, as I realized while writing the answers to your questions, I don't need to build ROS, but winros, so the real question would be how I can compile winros with another version of the boost libraries.

2014-03-25 13:37:55 -0500 received badge  Famous Question (source)
2014-03-25 06:22:46 -0500 received badge  Popular Question (source)
2014-03-25 05:50:42 -0500 asked a question Compile rosmatlab with winros, or what is catkin_make_isolated?

Hi,
I'm compiling rosmatlab by the TU Darmstadt from source using winros. I already got to install it correctly in a Ubuntu environment with "original" ROS installed and I also got winros working on Windows 7. Now I'm following the steps I did to install rosmatlab on the Ubuntu system and am faced with a command called catkin_make_isolated which is described in section 3 (ROS) in the linked document.
Unfortunately, this command hasn't been rebuilt for winros and I don't even know how it actually differs from catkin_make. Can anybody tell me briefly what the differences are? Is it "easy" to find a workaround that works with catkin_make or should I take another approach on this?

Every suggestion is well appreciated.
Greets, Roberto

2014-03-21 00:27:27 -0500 commented question winros_make fails

Ooookay.. I just reinstalled all the tools and rebootet, then set up a new workspace and called winros_init_workspace as written in the tutorial. I noticed tons of items being fetched from repositories which wasn't the case before. But still it doesn't want to compile. Seems my settings for the compiler are broken -.-

2014-03-20 23:44:56 -0500 edited question winros_make fails

Hi,
I'm installing winros on a Windows 7 system according to this tutorial and am stuck at executing the winros_make command. It says

find_package(catkin) failed.  catkin was neither found in the workspace nor
in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
sourced before.

I couldn't find any setup.sh file I could source. Can someone please help? Greets :)


EDIT 1
To satisfy Daniel Stoniers question in the commentaries here is my CMAKE_PREFIX_PATH from the generated configure.cmake file:

set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${ROSDEPS_ROOT};${UNDERLAY_ROOTS}" CACHE PATH "semi-colon separated software/ros workspace paths.")

The referenced paths are defined as follows:

set(ROSDEPS_ROOT "C:/opt/rosdeps/groovy/x86" CACHE STRING "System root for ros dependency.")
set(UNDERLAY_ROOTS "" CACHE PATH "Semi-colon separated list of underlay roots.")

CLOSED
I closed this question, because the reason for the failure was a faulty system configuration. I installed the Windows SDK 7.1 parallel to my Visual Studio 2010, which caused the trouble. When I eventually retried on a clean system without installing the SDK, everything worked like a charm. Thanks very much though to everyone who helped me with this!

2014-03-20 23:41:41 -0500 commented question winros_make fails

@Yeongil Choe thanks for your comment. I already tried that several times. I did it once again now and added the ouput of winros_make to my question. Yes, I need groovy. I am trying to connect an Ubuntu system with the winros_environment for monitoring reasons.

2014-03-20 22:50:02 -0500 commented question winros_make fails

@yichoe thanks for your comment. My src folder is empty except for two files .rosinstall and CMakeLists.txt . I don't think there has been prior work, and I installed only but all packages suggested in the mentioned tutorial. One thing that came to my mind: On http://wiki.ros.org/win_python_build_tools/groovy which is linked by the tutorial, there are listed some "example" commands for using the tools I should download there. Do I have to commit them or are they really just _examples_?