Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing latest articles
Browse All 197 View Live
↧

rosrun crash on auto-complete (tab)

dear all, i am using ros kinetic and ubuntu 16.04. since a few days I recognize the fact that if I hit tab after typing rosrun to see the available packages the console freezes and dies after a few...

View Article


Running a node with rosrun requires extra input?

I'm trying to make OpenCV work with ROS and I finally found something that compiles, therefore I just downloaded and `catkin_make` [this.](https://github.com/Chinmoy07/Using-OpenCV-with-ROS) It did...

View Article


No output after starting my_publisher from the image_transport_tutorial pkg.

I'm following a tutorial `image_transportTutorialsExaminingImagePublisherSubscriber` and after command rosrun image_transport_tutorial my_publisher path/to/some/image.jpg nothing happens, no error or...

View Article

rosrun gazebo spawn_model -file 'pwd'/object.urdf -urdf -z 1 -model my_object

I launched gazebo successfully with this command: "roslaunch gazebo_ros empty_world.launch" In a second terminal window I launch this" ""rosrun gazebo spawn_model -file 'pwd'/object.urdf -urdf -z 1...

View Article

Rosnode runs with root access but not as a normal user

Hi, I am using ROS Kinetic with a Nvidia TX2 board. I have a rosnode performing detection using faster rcnn framework on a camera feed. When I run it as a normal user using the command: rosrun os_node...

View Article


rospack segmentation fault

Hi guys, I am using ros::package::getPath to resolve the path to a config file I am loading within my program. When I am starting the node using rosrun node_pkg node everything works just fine, but...

View Article

I am facing problem in catkin_make when trying to compile a package with...

[ 98%] Built target uuv_gazebo_ros_cpc_plugin [100%] Built target uuv_gazebo_ros_imu_plugin /usr/bin/ld: cannot find -lDepthCameraPlugin /usr/bin/ld: cannot find -lGpuRayPlugin /usr/bin/ld: cannot...

View Article

Extracting depth images using rosrun command using realsense camera

I entered this command to extract depth images from intel realsense R200 camera: rosrun image_view extract_images _sec_per_frame:=0.01 image:=/camera/depth/image_raw I wasn't able to get the images,...

View Article


Change behavior of killing nodes with same name

Any node which is already running with some name `my_node_name` will be killed if I run any node with the same name via `rosrun` and `roslaunch`. Example: # First terminal rosrun rviz rviz __name:=rviz...

View Article


Kill rosrun gracefully

Hi All, I am running a rosrun command to generate and publish messages continuously from a node X. But I am not able to gracefully kill the session. I am currently closing the terminal in order to stop...

View Article

Could not find Qt binding (looked for: 'pyqt', 'pyside') when rosrun

I install ros kinetic on Ubuntu 16.04, with python 2.7. `rqt_graph` shows properly, however, when I run `rosrun rqt_gui rqt_gui` and `rosrun rqt_reconfigure rqt_reconfigure`. It shows the following...

View Article

Serial Connection to Hokuyo from Master

Hi, I am currently getting the error: [ERROR] [1531729856.715593296]: Error connecting to Hokuyo: Could not open serial Hokuyo: /dev/ttyACM0 @ 115200 could not open serial device. Initially, after...

View Article

rosrun autocomplete show all src files.

when i try autocomplete at rosrun with tab key, uesr@pc:~$ rosrun name-of-pkg [tab] CMakeLists.txt [executable_name] main.cpp package.xml what i expect is to see only the executable_name on...

View Article


XV-11 Lidar Connected but not appearing on rviz

Hi, I have installed ubuntu 16.04 and ros kinetic on my odroid xu4 to use xv11 lidar. I have connected lidar with an arduino mega to the odroid. I just followed the steps on ros wiki for installing...

View Article

How to get string from terminal when starting the node. C++

Hello everyone, I'm trying to get a parameter used in the launch command of a node and use it on my c++ code. For example, when you're about to launch a node: $rosrun [packet] [node] [string], the...

View Article


Command line argument passing in rosrun

Hi All, I am trying to pass the command line arguments while running rosrun So that a particular block of code could be executed based on the parameter. Below is the approach. int main(int argc, char...

View Article

pass string parameter from command line using rosrun

In OpenCV, it's common that a program takes a command line parameter as the input image, such as "Mat source =cv::imread(argv[1],...)", now if I turn the program into a ros node, how can i achieve the...

View Article


[rosrun] Couldn't find executable

//www.ros.org/wiki/ROS/Tutorials/ExaminingPublisherSubscriber. When I try to run rosrun beginner_tutorials talker. It tells me that: [rosrun] Couldn't find executable named talker below...

View Article

No transform from [base_link] to frame [map]

Followed this [TF ROS tutorial](http://wiki.ros.org/tf/Tutorials/Introduction%20to%20tf) **Incurred error:** ![Global](/media/golluri/$h@r@th/Projects/UV sterilization robot/Project...

View Article

Rosrun tab autocompletion crashes terminal

I have been using ROS Kinetic on Ubuntu 16.04 for some time now. After doing some kernel upgrades I run into a problem when running the `rosrun` command. When I hit the tab after writing `rosrun` the...

View Article

unable to run ros package executable

Hello, I am trying to run a python script using the rosrun command, but each time I attempt to do this I get this message Usage: rosrun [--prefix cmd] [--debug] PACKAGE EXECUTABLE [ARGS] rosrun will...

View Article


Error: bad interpreter: No such file or directory

I am trying to run the following node using rosrun, to send data through my serial port and I get the error: /opt/ros/kinetic/bin/rosrun:...

View Article


How to pass topic names as input argument in the command line terminal?

Hello ! I have a problem that states "Read a rosbag, to parse a topic, that is passed as an input argument" How do I pass the input argument using "rosrun" in the command line terminal? My code...

View Article

rosrun error FileNotFoundError: [Errno 2] No such file or directory

I'm trying to run **rosrun package python scripts** and get some errors below: (cv-py3) hoang@hoang-Nitro-AN515-51:~/catkin_ws$ rosrun testpy test.py Parsing cfg/tiny-yolo-voc-3c.cfg Traceback (most...

View Article

ERROR: cannot launch node of type : can't locate node in package

I have installed Ubuntu 18 04 and ROS melodic. I have installed moveit using these instructions:...

View Article


Using Arbotix instead of arduino

I'm making a script that will read a ros message with positions for servo motors controlled by an arbotix-m microcontroller. I have tried running the script using rosrun rosserial_python serial_node.py...

View Article

implementation of cplex libraries into ROS. [rosrun] Couldn't find executable...

Hi, I'm trying to implement the c++ libraries of Cplex (external optimization library, provided by IBM) into the ROS enviroment. I'm running ROS kinetic on Ubuntu 16.04 LTS. I built the Cmakelist for...

View Article

[rospack] Error: package 'beginner_tutorials' not found

I followed the tutorials for ROS kinetic and in the writing a publisher and subscriber in C++ after copying the cpp files in the src folder of beginner_tutorials folder i pass: cd ~/catkin_ws...

View Article

Scripts don't see ROS if executed by ProcessBuilder()

I want to execute a script with a `ProcessBuilder()`. My code is: new ProcessBuilder().inheritIO().command("/bin/bash", "-c", "./deploy.sh").start(); In the bash script I have: #!/bin/bash rosrun...

View Article



osx: rosrun cannot find librospack dynamic library

I installed ros (kinetic) on my Mac Sierra 10.12.6. It seems to be up and running as it has no problem with `roscore`. Though, when I want to run the `turtlesim` package, it gives me an error: dyld:...

View Article
Browsing latest articles
Browse All 197 View Live


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