ros Questions
3
I am new to ROS,
I have a problem when I import rospy into my script file example.py and run it: It says:
Traceback (most recent call last):
File "/home/nagarjunv/hk_ws/src/rvo/src/example.py...
Feudalism asked 9/3, 2021 at 20:49
3
Solved
My python code gives this error:
from cv_bridge import CvBridge, CvBridgeError
ImportError: libcv_bridge.so: cannot open shared object file: No such file or directory.
However if I do a ldd, ev...
3
I am working with ROS. ROS needs to source a few scripts e.g., /opt/ros/noetic/setup.sh before running any python programs. Otherwise I cannot import roslib or similar stuffs.
When I debug with vsc...
Dressingdown asked 4/8, 2021 at 17:7
4
My current workflow for a project is the following:
build the project (via catkin)
source a setup.sh script (generated by catkin, which I wouldn't like to modify) setting environment variables an...
Trihedron asked 8/10, 2019 at 15:6
1
Traceback (most recent call last):
File "/opt/ros/melodic/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 50, in <module>
sys.argv, msg_template_map, srv_template_map)
F...
3
I have an inference code in TensorRT(with python). I want to run this code in ROS but I get the below error when trying to allocate buffer:
LogicError: explicit_context_dependent failed: invalid d...
Vendor asked 24/2, 2020 at 9:19
6
Solved
I am running ubuntu 14.04 and trying to launch ROS Simulator. I have this error:
ImportError: No module named 'glob'
Installing glob2 does not solve the problem.
python -m site output:
sys.pat...
4
Solved
I want to ask how to find all the executable names of a package in ROS (Robot Operating System)? For example, find spawn_model in gazebo_ros package. When I inspect the package in my system, it jus...
Tyrannosaur asked 3/7, 2016 at 13:51
3
I am having some lag issues with a rospy subscriber listening to image messages.
Overview:
I have a rosbag streaming images to /camera/image_raw at 5Hz. I also have an image_view node for displa...
Senior asked 6/11, 2015 at 3:53
3
Solved
I had a computer vision project on Ubuntu 14.04 with ROS indigo and python3, then I had to move on Ubuntu 16.04 with ROS kinetic. Here I ran into multiple issues:
1) I installed opencv, but couldn...
Volcano asked 11/3, 2018 at 15:19
4
Solved
I'm new to ros+python and i'm trying to publish a 1-D array from python ros node. I used Int32MultiArray but i cant understand the concept of layout in multiarray. Can anyone explain it to me? or i...
4
Solved
I am trying to run:-
roslaunch turtlebot_gazebo turtlebot_world.launch
but I am getting following error
Traceback (most recent call last):
File "/opt/ros/kinetic/share/xacro/xacro.py", line 55, ...
2
I have an Apache web server and I made a python script to run a command. Command that I'm running is launching a ROS launch file, that is working indefinitely. I would like to read output from the ...
Seventeenth asked 4/5, 2015 at 8:47
4
Solved
I couldn't understand the CMake documentation for install. I have a sample cmake file, where an executable is generated by
add_executable(${PROJECT_NAME}_node src/filename.cpp)
Then later installe...
Grisaille asked 2/11, 2018 at 15:29
4
I got an ImportError while trying to create a custom interface following the ros2 tutorial Creating custom msg and srv files. The project looks like this:
src/tutorial_interfaces/
├── CMakeLists.tx...
2
Solved
I am using ROS and C++ and ROS packages have a CMakeLists.txt in them. I would like to have a syntax highlighting for CMakeLists.txt in visual studio code.
Unfortunately, I searched on the interne...
Primer asked 30/4, 2019 at 11:43
3
Solved
I am new to ROS and rospy, and I am not familiar with non-simple data type as topic.
I want to build a ROS node as both a subscriber and publisher: it receives a topic (a list of two float64), and...
Carthy asked 31/3, 2017 at 0:15
8
The sequence of steps listed in http://wiki.ros.org/kinetic/Installat... have been followed. (Trying to install ROS kinetic in Ubuntu 16.04) Error when entering the following command :
$sudo apt-g...
Vientiane asked 26/7, 2017 at 19:32
3
Solved
I am new to ROS, I just opened a terminal and typed roscore and another terminal and typed rostopic node and I got this error that says
Failed to load Python extension for LZ4 support. LZ4 comp...
4
Solved
I'd like to kill a rosbag instance gracefully via terminal.
Gracefully means in that case, that the rosbag file doesn't have the suffix .active after kill.
so I do the following from terminal to s...
7
Whenever I try to create a workspace:
~/catkin_ws$ catkin_make
It shows like this:
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure th...
11
I'm trying to install ROS on Ubuntu. I'm getting this error:
sudo apt-get update
Hit:1 http://pk.archive.ubuntu.com/ubuntu cosmic InRelease
Hit:2 http://pk.archive.ubuntu.com/ubuntu cosmic...
12
I have first installed openCV from source using this script.
When I tested it was working well.
After I installed ROS kinetic, and open python3 and run import cv2 as cv, got the following error:
Py...
2
Solved
I'm trying to compile a package using Ros Indigo. I'm using a Raspberry Pi running Raspbian. The BZIP2_LIBRARIES BZIP2_INCLUDE_DIR are missing. When I run the make command, I get the following erro...
Subtend asked 16/8, 2015 at 23:40
3
Solved
ROS Fuerte I installed on my machine uses opencv 2.2. I would like to use 2.4.9 version just installed. Its location is /home/polar/soft/lib/opencv/opencv-2.4.9/build/lib.
How to do that with CMak...
Latitudinarian asked 13/2, 2015 at 19:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.