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

persuasiv's profile - activity

2022-05-24 08:14:34 -0500 received badge  Taxonomist
2017-10-24 08:47:40 -0500 received badge  Famous Question (source)
2017-10-24 08:47:40 -0500 received badge  Notable Question (source)
2017-10-09 18:21:41 -0500 received badge  Famous Question (source)
2017-10-09 18:21:41 -0500 received badge  Popular Question (source)
2017-10-09 18:21:41 -0500 received badge  Notable Question (source)
2017-07-02 01:50:42 -0500 received badge  Famous Question (source)
2017-04-20 21:13:30 -0500 received badge  Popular Question (source)
2017-04-09 11:13:13 -0500 received badge  Notable Question (source)
2017-04-05 04:49:44 -0500 received badge  Enthusiast
2017-04-04 15:13:37 -0500 commented question Custom message with rosbuild & rospy [No module named *]

@jarvisschultz: Can't believe. The same error on catkin workspace after followed all instructions step by step from tutorials...

2017-04-04 10:06:28 -0500 commented question Custom message with rosbuild & rospy [No module named *]

I will try to go with catkin then. Thank you, didn't know that rosbuild is outdated.

2017-04-03 10:43:01 -0500 asked a question Custom message with rosbuild & rospy [No module named *]

Hello!

I'am trying to build a ros node which use a custom message. I have installed ROS Indigo on Ubuntu 12.04. The workspace I use is rosbuild and the code is in Python.

The problem I am facing with is that I'm unable to import the custom message I just created. The import statement for my message is the following:

from roi_py.msg import *

or

from roi_py.msg import sendMsg

Where "sendMsg" is the name of my message located in msg/sendMsg.msg

But the result is the following:

user@system:~/ROS_Workspace/sandbox/roi_py$ rosrun roi_py roi.py 
Traceback (most recent call last):
  File "/home/user/ROS_Workspace/sandbox/roi_py/scripts/roi.py", line 10, in <module>
    from roi_py.msg import *
ImportError: No module named roi_py.msg

In the same project I also have some CPP files. In those file I can use my messages and works. It looks like only Python is not recognizing my custom messages.

Also the package path seems to be good:

user@system:~/ROS_Workspace/sandbox/roi_py$ echo $ROS_PACKAGE_PATH 
/home/user/ROS_Workspace/sandbox:/opt/ros/indigo/share:/opt/ros/indigo/stacks

PS: However, the statement to include standard messages is working:

from std_msgs.msg import String

Do you guys have any idea?

PS: rosbuild_genmsg() is also uncommented on CMakeLists.txt

And the tree of roi_py looks like:

├── bin
├── CMakeLists.txt
├── lib
├── mainpage.dox
├── Makefile
├── manifest.xml
├── msg
│   ├── recvMsg.msg
│   └── sendMsg.msg
├── README.md
├── scripts
│  └── roi.py
└── src
    └── roi_py
        └── __init__.py
2017-03-27 06:55:02 -0500 received badge  Popular Question (source)
2017-03-27 04:05:16 -0500 commented question ROS Indigo on Debian Jessie - Repositories Issue

Yes, that is the tutorial and I was thinking that it may works under Jessie too. I mean all the steps were working like in tutorial. But I can see now that it was a bad decision...

2017-03-27 03:18:47 -0500 received badge  Supporter (source)
2017-03-26 07:26:52 -0500 asked a question Integrating Qt UI into ROS

Hello!

ENV: ROS Indigo under Ubuntu 14.04

I just followed the ROS tutorials and I have created my beginner_tutorials package using rosbuild method, not catkin. What I want to do now, is to create a new ROS node to publish something on a topic. But, behind this node, I want to add an user interface; in other words, user send informations to a topic via a UI. The problem is integrating Qt UI into all this business.

I don't know why, but all the tutorials explain how to do this using catkin, but my workspace is under rosbuild.

When finally found some help here: https://github.com/decoderdan/project... I realized that roscreate-qt-pkg is missing. The following command:

rosrun qt_create roscreate-qt-pkg _pkg-name_

Return:

[rosrun] Couldn't find executable named roscreate-qt-pkg below /opt/ros/indigo/share/qt_create

I was also able to open CMaleLists.txt via QT Creator and it seems to work! I mean i can edit sources but I'm unable to add Qt code to my ROS project.

Any hint?

2017-03-26 07:00:31 -0500 commented question ROS Indigo on Debian Jessie - Repositories Issue

Actually it is correct. My processor is amd64. I followed this tutorial: http://wiki.ros.org/indigo/Installati... and it was installed successfully.

2017-03-23 07:18:54 -0500 asked a question ROS Indigo on Debian Jessie - Repositories Issue

I have just installed ROS Indigo on Debian Jessie. Everything worked just fine and installation was successfully.

But, the problem comes when I try to install any ROS package, e.g.: ros-indigo-ros-tutorials. The package is not found. There seems to be a problem with ROS Repositories but I can't figure out what.

So, I have the following repos: /etc/apt/sources.list.d/ros-latest.list

deb http://packages.ros.org/ros/ubuntu jessie main

And in /etc/apt/sources.list.d/backports.list

deb http://http.debian.net/debian jessie-backports main

Is there something wrong in this configuration?

And the output of sudo apt-get update | grep "packages.ros.org" seems ok:

Hit http://packages.ros.org jessie InRelease
Hit http://packages.ros.org jessie/main amd64 Packages
Ign http://packages.ros.org jessie/main Translation-en_US
Ign http://packages.ros.org jessie/main Translation-en

Do I miss something or what?