ros commands are not running [closed]
Hi, I am using ros for past few months.Yesterday when i execute roscore it doesn't run.But before i executed every command.Would you help me with that.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
Hi, I am using ros for past few months.Yesterday when i execute roscore it doesn't run.But before i executed every command.Would you help me with that.
Asked: 2013-09-24 16:45:47 -0500
Seen: 286 times
Last updated: Sep 24 '13
Roscore before you rosrun every thing?
Can you tell what happens when you try and run roscore? Do you get any output?
Give the exact command that you enter and copy the error here.
i gave roscore and it is not running..and i am not getting any error also..My cursor symbol is standing at second line itself and if i give roscreate-pkg [package-name] then the package is creating.. otherwise if i give roscreate-pkg [package-name] image_transport roscpp std_msgs opencv2 cv_bridge uvc_camera then it is not running.. and i am getting this problem for last one week..
Try running `roscore -v` to get verbose output from roscore and paste the results in your question. Also can you give the output of running `env|grep ROS` before you run roscore? This is to check your environment variables as roscore may do this if ROS_MASTER_URI is set incorrectly.
Note: strip the `` from the command before pasting it into a terminal. Also what happens when you press CTRL-C in the terminal where the stalled roscore is running?
I gave 'env|grep ROS' o/p: env|grep ROS ROS_ROOT=/opt/ros/fuerte/share/ros ROS_PACKAGE_PATH=/home/abi/t:/home/abi/cv1:/home/abi/wi:/home/abi/colorThresholdProcess:/home/abi/abc:/home/abi/testROSOpenCVFFMPEG:/home/abi/ab:/home/abi/pub_node:/home/abi/tutorialROSOpenCV:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks:/home/abi/ ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros ROS_MASTER_URI=http://localhost:11311 ROS_DISTRO=fuerte ROS_ETC_DIR=/opt/ros/fuerte/etc/ros
I'm a bit lost with this one but why don't you try running the Python debugger on these scripts as they are all in Python (at the first debugger prompt, type continue and then when you press CTRL-C you will drop into the debugger): python -m pdb `which roscore`