Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing all 49 articles
Browse latest View live
↧

Flip video file i

Hi, I am having a hard time making my python code execute with ```rosrun```. My project structure looks like this: ```~/workspace/src/my_package``` which contains two subdirectories with my code, lets...

View Article


Can't find binary when building with Eclipse

Hi! I followed the instructions on how to work with Eclipse and I have successfully imported the project to eclipse and I have no errors. I also managed to build the project with no errors. But when I...

View Article


Import a floor plan gazebo 2.2

Hi Ros users: Is there any way to import a floor plan in gazebo 2.2 on 2d view? I know that in gazebo 5.0 it is possible how you can see in this tutorial...

View Article

ImportError: No module named rospkg

Hey, I'm trying to compile a rospackage, but I throws the following error: > ImportError: No module named rospkg I checked if it is installed: > sudo apt-get install python-rospkg ->...

View Article

Problem inserting STL or scene object in RViz

Hello everyone, I am currently working on a project with the robot Hiro and would like some advices with RViz. **I use ROS Hydro, on Ubuntu 12.04 (64-bit)** I would like to change the robot tools...

View Article


catkin_mak

Hello all. I trying to do the tutorial [Writing a Simple Action Server using the Execute Callback...

View Article

ImportError: No module named rospy

When I roslaunch my node, the error I receive is ImportError: No module named rospy But when I open up the python environment and run `import rospy`, it imports successfully and I can access...

View Article

Linking external library in ROS Python

Hi, I'm trying to add an external python library to my python project in my catkin workspace. The folder structure is not the best but I have my python executable in the `/scripts` folder along with my...

View Article


Python import: rosrun works well but roslaunch reports error

Hi, I'm writing some rospy nodes recently and some import errors ocur when I utilize roslaunch to start my node.a.py 1 import sys 2 sys.path.append("..") 3 from middle_abstraction.function_unit import...

View Article


Import command not working

This is the first part of my code: #!/usr/bin/env python import os import sys import signal import rospy import time Even then I got the error saying that: line 1:#!/usr/bin/env: no such file or...

View Article

Can't import rospy

Hello, I have a ROS aplication in Python and Qt, and when I run it from the terminal all is ok, but I try to run with double click (the script with the permissions and Nautilus configuration...

View Article

import select ImportError: No module named select

Since yesterday I've been having a problem to use the next command:> $ rospack depends1 rospy And any other command like this. I receive the next output: > $ rospack depends1 rospy>> failed...

View Article

Import error: no module named Num.msg

Hi, I want to use my own msg, and try this: from Num.msg import * and get the import error. Num.msg is in /msg/ and is found by "rosmsg show". When I don't import, codeline "a = Num()" gets error...

View Article


write my own urdf, define visual and collision

as for most realistic robots, the visual or collision part of them are too far complicated to manually write. Someone with experience said using sw_urdf_exporter has several disadvantages so that he...

View Article

Unable to import python script from a second package

I am attempting to import a python script which is part of a second package. The code for my project is located at https://github.com/Aditya90/zeroborgRobot/tree/feature/AddZeroborgLibrary. In the file...

View Article


Executable programm using ros (double click)

Hello, I have a c++ programm that starts a launchfile with exec (same result if i start it with system). It does work fine when starting from the terminal. However, I would like to have it execute on...

View Article

import error no module named srv

I am struggling to progress the error (below) which I have encountered when completing this part of the tutorial [link text](http://wiki.ros.org/ROS/Tutorials/ExaminingServiceClient) I'm not sure why...

View Article


cannot import libfreenect2

I have followed the steps for the installation of libfreenect2 as given in this link (https://github.com/OpenKinect/libfreenect2)(on Ubuntu 14.04.1) i have installed it at /home/user_name/ i have to...

View Article

importing rospy and actionlib causes embedding python code in c++ to fail

Hi, I am using a large code base were our robot path planning is entirely coded in python. We need to call the planner in one c++ code file to find the path length. I have tested my code with other...

View Article

Ros python packages __init__ level imports

I noticed that in native ROS packages all available modules seem to be imported at package level always. For example let us consider the `rosbag` python package. This is the output I see when print...

View Article
Browsing all 49 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>