ros commands are not running
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 by Abikala on 2013-09-24 16:45:47 UTC
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 by Abikala on 2013-09-24 16:45:47 UTC
Comments
Roscore before you rosrun every thing?
Asked by FuerteNewbie on 2013-09-24 17:34:59 UTC
Can you tell what happens when you try and run roscore? Do you get any output?
Asked by DamienJadeDuff on 2013-09-24 21:30:07 UTC
Give the exact command that you enter and copy the error here.
Asked by dornhege on 2013-09-24 23:24:22 UTC
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..
Asked by Abikala on 2013-09-26 02:35:32 UTC
Try running
roscore -v
to get verbose output from roscore and paste the results in your question. Also can you give the output of runningenv|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.Asked by DamienJadeDuff on 2013-09-26 18:58:14 UTC
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?
Asked by DamienJadeDuff on 2013-09-26 18:58:50 UTC
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
Asked by Abikala on 2013-09-27 00:10:26 UTC
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
Asked by DamienJadeDuff on 2013-09-30 02:36:14 UTC