Questions tagged [rosrun]
The rosrun tag has no usage guidance.
194
questions
0
votes
1
answer
44
views
ROSCORE RLException: ERROR: could not contact master
I have installed ROS noetic in ubuntu 20.04 and when I try to run roscore I always have following fault.
I have source /opt/ros/noetic/setup.sh and export | grep ROS result shows good.
declare -x ...
0
votes
3
answers
7
views
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 ...
0
votes
2
answers
16
views
Rosrun can not find an executable file
So I have a package called dijkstra, it contains a cpp program in the src folder called algorithm_1.cpp which I need to run.
First I run the command source devel/setup.bash to set up the environment. ...
0
votes
1
answer
30
views
execute ros2 run command on self wrote packages
im having some hard time trying to solve this bug:
system: ubuntu 24.04 LTS
ROS2 distro: Jazzy
I wrote a simple subscribe to teleop_twist_keyboard node to a topic then send Serial signal to my ...
0
votes
1
answer
93
views
unable to install rosbash
im trying to execute rosrun but it says i have to install
"apt install rosbash"
but when I try to install it it appears the following error:
Some packages could not be installed. This may ...
0
votes
1
answer
75
views
ModuleNotFoundError: No Module Named ''
I am running ros-humble and have been setting up my console-scripts so that I can run my nodes.
I've used this kind of setup before and have it working for another node, except for some reason I can't ...
0
votes
1
answer
22
views
ROS-NOETIC Program works when executing by rosrun but don't work when using roslaunch
I have a weird problem. I've created script for catching the rospy.log and publishing it into topic and saving to files.txt. It works fine while I'm launching it by rosrun. When ,launch file was ...
0
votes
1
answer
35
views
Unable to launch a python node using rosrun in ROS-Noetic (Ubuntu20)
COMMAND:
rosrun my_robot_tutorial robot_news_radio_transmitter.py //python publisher node
rosrun my_robot_tutorial smartphone.py //python subscriber node
...
0
votes
1
answer
98
views
Roslaunch: file not found error for logging
Hi,
I am working on a project, and I want to start the different nodes using a launch file. In the latter I start one Python node and the other is an rqt plugin that I created:
...
0
votes
1
answer
362
views
[SOLVED] rosrun - Couldn't find executable
I have installed ROS Melodic on Fedora 33 and all seems to work properly, for example, I've tried to run the turtlesim node with turtle_teleop_key and turtlesim_node and they work as expected.
So, I ...
0
votes
1
answer
479
views
/usr/bin/env: ‘python\r’: No such file or directory
When using WSL to write python code and then trying to run it from rosrun, this error code is encountered.
Originally posted by Victor_Kash on ROS Answers with karma: 50 on 2021-08-30
Post score: 0
0
votes
1
answer
27
views
shebang is ignored by rosrun
I am trying to use a specific python interpreter to run a ros node written by python. For example, I created a package named tmp, and there is a python code named tmp_new.py in catkin_ws/src/tmp/...
0
votes
2
answers
7
views
How to launch node if param equals true?
How would I start a node if a parameter equalled a given value? I'm thinking something like this pseudo code:
...
0
votes
1
answer
5
views
Error: package 'my_examples_pkg' not found
I have a launch file that looks like this:
...
0
votes
1
answer
4
views
ros run couldn't find executable file after catkin build and source
I'm trying to run an executable, but I'm getting the following error, I ran
catkin build
and then
...
0
votes
1
answer
40
views
ROS (Melodic) + Docker: rosrun not found
Hi there,
I am currently trying to run ROS Melodic on Docker to build the rosserial_arduino libraries for Arduino. Therefore I need to run
...
0
votes
2
answers
5
views
I created a python and c++ node . But I cant see my nodes with rosrun command
I am pretty new Ubuntu and ROS . I created a python and c++ node as you can see first and second part . But I dont see my nodes with rosrun command. I have got this nodes on my ...
0
votes
1
answer
416
views
Unable to use rosrun
`$ rosrun turtlesim
Usage: rosrun [--prefix cmd] [--debug] PACKAGE EXECUTABLE [ARGS]
rosrun will locate PACKAGE and try to find
an executable named EXECUTABLE in the PACKAGE tree.
If it finds it, it ...
0
votes
1
answer
13
views
rosrun depthimage_to_laserscan not working
I am using turtlebot 2 with astra pro sensor on ubuntu 14 with ros indigo.
when i run
$rosrun depthimage_to_laserscan depthimage_to_laserscan image:=camera/depth/image_raw
i get no response or any ...
0
votes
1
answer
9
views
What does rosrun do internally?
I was following this tutorial - https://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28python%29
Out of curiosity, I ran the listener using ...
0
votes
1
answer
2
views
rosrun can't open my video (ROS OpenCV)
Hi guys,
I'm trying to stream some video file (.mp4).
I wrote a node:
...
0
votes
1
answer
6
views
rosrun/roscd not recognising correct folder/project path
I made an executable python script for the nodes, and saved it at the location: /home/florian/catkin_build_ws/src/dlc_project/scripts
I have made it executable with chmod +x
I have the shebang line ...
0
votes
1
answer
121
views
Module not found error with rospkg when trying to import roslib
Hello,
I have developed a custom control algorithm for mz robot in gazebo. Untile yesterday I used to use
roslaunch spider_gazebo spider_world.launch
to spawn the ...
0
votes
1
answer
14
views
rosrun cant find package when using catkin_make_isolated
hi,
when i use catkin_make_isolated, i can build executable successfully.
but i cant use "rosrun package_name xxx" to execute it.
[rosrun] Couldn't find executable named xxx below /home/xxx/...
0
votes
1
answer
2
views
Scripts don't see ROS if executed by ProcessBuilder()
I want to execute a script with a ProcessBuilder(). My code is:
...
0
votes
5
answers
24
views
Command line argument passing in rosrun
Hi All,
I am trying to pass the command line arguments while running
rosrun <package> <node> <parameter>
So that a particular block of code ...
0
votes
1
answer
103
views
[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:
...
0
votes
1
answer
26
views
rosrun error FileNotFoundError: [Errno 2] No such file or directory
I'm trying to run
rosrun package python scripts
and get some errors below:
...
0
votes
1
answer
125
views
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:
...
0
votes
1
answer
27
views
[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 /home/MY_NAME/...
0
votes
2
answers
2
views
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 [...
0
votes
1
answer
65
views
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 ...
0
votes
1
answer
8
views
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 ...
0
votes
1
answer
65
views
Extracting depth images using rosrun command using realsense camera
I entered this command to extract depth images from intel realsense R200 camera:
...
0
votes
1
answer
3
views
ROSRUN can't find EXECUTABLE
Hello, I am using kinetic and I am trying to run a simple publisher and subscriber.
the cmakelists.xml has the following code.
...
0
votes
1
answer
3
views
0
votes
1
answer
5
views
python syntax error for rosrun .py script
Hello I'm a noob at python, I downloaded this github package (turtlesim_hunter)
Then when I rosrun I get a syntax error:
...
0
votes
1
answer
13
views
Running executables without using rosrun or roslaunch?
MY QUESTION :
Do ROS topics still properly communicate (subscribe/publish) in the following situation, even though I DID NOT run executables by rosrun/roslaunch?
If not, is there way to run ROS ...
0
votes
2
answers
23
views
rosrun beginner_tutorials listener.py results in no output
HI All
I'm using ubuntu 16/04 along with python for writing nodes.
I just have few hours experience on ROS.
I pushed rosrun beginner_tutorials listener.py after defining the source but this resulted ...
0
votes
1
answer
49
views
rosrun vs roslaunch to run a single node, any difference?
Hi everyone!
Well, in my understanding launch files are meant to launch a node or so many nodes at a time and allow setting parameters dynamically , remapping and ...
0
votes
1
answer
16
views
How to pass rosparam yaml file on rosrun cmd line
Is there a way to pass rosparam yaml file on rosrun cmd line
...
0
votes
1
answer
1
view
Can't execute rosjava Nodes. RosRUn not found Exception
I`ve been able to build and execute the tutorial_pubsub.
Then i created a new Rosjava package in an existing catkin_ws.
When i run gradle install and gradle installApp it all compiles right.
But when ...
0
votes
1
answer
21
views
error while loading shared libraries
I want to use shared objects as libraries. The .so files of them are at my disposal.
I created a catkin_package. That package contains a source, include and lib folder (where I put the .so files)
My ...
0
votes
1
answer
14
views
Can launch but not run my Nodelet
Hi everyone,
Since few days I try to understand and use Nodelet to dynamically load process from a cpp Node. I read lots of questions and answer from this forum and I have a problem. (Btw thanks to ...
0
votes
1
answer
6
views
something is wrong when i run turtlesim_node
I am a beginner, I am learning ROS.org I use the ‘indigo’ version
when i run this "rosrun turtlesim turtlesim_node"
The screen display
[ERROR] [1505802741.783016851]: [registerPublisher] ...
0
votes
1
answer
7
views
How to know which package is being used when two packages with same name are installed at different location?
Hi,
I have installed Hokuyo_node deprecated version from github. I already have Hokuyo_node installed while installing ROS. Now, when I use ...
0
votes
1
answer
19
views
Is it possible to run nodes without source?
Hi,
I'm working with ROS Kinetic in docker. I'm doing several thing through jenkins and several scripts to put my project (wrapped with ros) and all the dependency in the docker.
As I want to keep my ...
0
votes
1
answer
8
views
Problem with robot_upstart
I am trying to install robot_upstart for my package
...
0
votes
1
answer
7
views
Issue with rviz:Markers Sending Basic Shapes (C++). Running "rosrun using_markers basic_shapes": "Please create a subscriber to the marker"
1.my rosdistro: indigo; my ros workspace is catkin.
2.my tutorial:link text
3.and then when i run :rosrun rviz rviz, it come up with nothing in my rviz, like this picture:no fixed frame, no shape on ...
0
votes
1
answer
51
views
File output With roslaunch
Hello everyone,
I just have a simple question on which i'm stuck for a few days :
I have a node in which I output a hand written log file using the c++ functions from fstream.
When i'm starting it ...