ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Asfandyar Ashraf Malik's profile - activity

2014-06-01 00:13:53 -0500 received badge  Famous Question (source)
2014-06-01 00:13:53 -0500 received badge  Notable Question (source)
2014-06-01 00:13:53 -0500 received badge  Popular Question (source)
2014-04-21 04:31:35 -0500 asked a question could not find python module 'rosdep2.rospack

Whenever I do rosmake I get the following error. I have tried uninstalling rosdep and reinstalling it but I could not succeed. I have also reinstalled my ros 2 times but still I have the same problem. Currently I am using ros-groovy and using Ubuntu 12.10

I have even looked at the answers like the following link: rosrun-rviz-failed-in-groovy/ or link: rviz-runtime-error-in-groovy-at-mac-os-xhomebrew/ but still could not solve this error.

I also wanted to know where the error exists . is it because of Failed to invoke /opt/ros/groovy/bin/rospack deps-manifests rtkrcv or because of [rospack] Error: could not find python module 'rosdep2.rospack'. is rosdep up-to-date (at least 0.10.4)? because for rospack error I have tried almost everything to fix it.

Any help would be appreciated. Thanks.

 {-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/ros/core/rosbuild/rostoolchain.cmake  ..
  [rosbuild] Building package rtkrcv
  Failed to invoke /opt/ros/groovy/bin/rospack deps-manifests rtkrcv
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/rosdep2/__init__.py", line 45, in <module>
      from .lookup import RosdepDefinition, RosdepView, RosdepLookup, \
    File "/usr/lib/pymodules/python2.7/rosdep2/lookup.py", line 44, in <module>
      from .sources_list import SourcesListLoader
    File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 34, in <module>
      import tempfile
    File "/home/asfandyar/anaconda/lib/python2.7/tempfile.py", line 32, in <module>
      import io as _io
    File "/home/asfandyar/anaconda/lib/python2.7/io.py", line 51, in <module>
      import _io
  ImportError: /home/asfandyar/anaconda/lib/python2.7/lib-dynload/_io.so: undefined symbol: _PyLong_AsInt
  [rospack] Error: could not find python module 'rosdep2.rospack'. is rosdep up-to-date (at least 0.10.4)?


  CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:129 (message):


    Failed to invoke rospack to get compile flags for package 'rtkrcv'.  Look
    above for errors from rospack itself.  Aborting.  Please fix the broken
    dependency!

  Call Stack (most recent call first):
    /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:203 (rosbuild_invoke_rospack)
    CMakeLists.txt:12 (rosbuild_init)


  -- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
2014-04-21 03:02:41 -0500 commented answer rosdep is not working in my ubuntu 11.10

@dornhege I am encountering the same problem. I have removed rosdep from /usr/local/bin and reinstalled via "sudo apt-get install python-rosdep" but still I am encountering the same problem

2014-04-20 06:54:55 -0500 marked best answer Has anyone tried integrating RTKLIB into ROS?

Rtklib is a software for the enhancement of precision of data derived from satellite positioning system. I am trying to integrate some features of this software in ROS. I had few questions on this so wanted to know if there is anybody who has worked on it before.

Rtklib information can be found on

http://www.rtklib.com/
2014-04-20 06:54:49 -0500 marked best answer RVIZ tutorial error ( dir 'include' is neither an absolute directory nor exists)

I am following the rviz tutorials on ROS wiki The basic shapes tutorial

Whenever I do the catkin_make in the folder I have made with the command

catkin_create_pkg using_markers roscpp visualization_msgs

it gives me the following error. What should I do?

 The specified base path "/home/asfandyar/using_markers" contains a CMakeLists.txt but "catkin_make" must be invoked in the root of workspace

I tried moving the CMakeLists.txt to the src folder and then I used catkin_make and it gave me the following error.

 CMake Error at /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:314 (message):
      catkin_package() include dir 'include' is neither an absolute directory nor
      exists relative to '/home/asfandyar/using_markers1/src'
    Call Stack (most recent call first):
      /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
      CMakeLists.txt:50 (catkin_package)


    -- Configuring incomplete, errors occurred!
    Invoking "cmake" failed

What should I do?

2014-04-20 06:54:45 -0500 marked best answer change path of roscd

I am following the tutorials of the ros man page. I have a query. Whenever I use roscd beginner_tutorials I get:

/catkin_ws/install/share/beginner_tutorials$

How can I change roscd so that it gives me the path of beginner_tutorials in the /catkin_ws/devel/lib/beginner_tutorials folder

2014-04-20 06:54:45 -0500 marked best answer Change path of rosrun. Couldn't find executables?

I am following tutorials of ROS at the ROS wiki

//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/maverick/catkin_ws/install/share/beginner_tutorials

I know that the executable is not in the install folder but rather in devel. How can I make it search for rosrun beginner_tutorial talker in

devel/lib/beginner_tutorials/talker

Additional information: When I ran find -executable -type f the output is given as below:

*./devel/lib/beginner_tutorials/add_two_ints_client
./devel/lib/beginner_tutorials/talker
./devel/lib/beginner_tutorials/add_two_ints_server
./devel/lib/beginner_tutorials/listener
./devel/_setup_util.py
./devel/env.sh
./install/_setup_util.py
./install/env.sh
./build/CMakeFiles/CompilerIdC/a.out
./build/CMakeFiles/CompilerIdCXX/a.out
./build/CMakeFiles/CMakeDetermineCompilerABI_C.bin
./build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
./build/catkin_generated/installspace/_setup_util.py
./build/catkin_generated/installspace/env.sh
./build/catkin_generated/setup_cached.sh
./build/catkin_generated/env_cached.sh*

After using the env | grep ROS_PACKAGE_PATH I get:

ROS_PACKAGE_PATH=/opt/ros/groovy/share:/opt/ros/groovy/stacks

and I have sourced the file using the following command:

source ./devel/setup.bash
2014-04-20 00:15:10 -0500 commented answer rosdep is not working in my ubuntu 11.10

@unais How did you fix this. How did you remove it and then installed the new one

2014-01-28 17:31:08 -0500 marked best answer Process has died

I am just trying to launch a file using roslaunch rtklib.launch but it constantly says that process has died. I have spent a lot of time fixing this problem but I cannot. Also everything was working fine yesterday but when I try to launch it now, it does not work. The error is as follows

started roslaunch server http://malik:34688/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /rosversion
 * /rtkrcv/inpstr1_format
 * /rtkrcv/inpstr1_path
 * /rtkrcv/inpstr1_type
 * /rtkrcv/out_degform
 * /rtkrcv/out_outstat
 * /rtkrcv/out_solformat
 * /rtkrcv/out_timeform
 * /rtkrcv/out_timendec
 * /rtkrcv/out_timesys
 * /rtkrcv/outstr1_format
 * /rtkrcv/outstr1_path
 * /rtkrcv/outstr1_type
 * /rtkrcv/pos1_elmask
 * /rtkrcv/pos1_frequency
 * /rtkrcv/pos1_ionoopt
 * /rtkrcv/pos1_navsys
 * /rtkrcv/pos1_posmode
 * /rtkrcv/pos1_sateph
 * /rtkrcv/pos1_snrmask
 * /rtkrcv/pos1_soltype
 * /rtkrcv/pos1_tropopt

NODES
  /
    rtkrcv (rtkrcv/rtkrcv)

auto-starting new master
process[master]: started with pid [3881]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to a204a6d4-e98d-11e2-85d2-081196dfce64
process[rosout-1]: started with pid [3894]
started core service [/rosout]
process[rtkrcv-2]: started with pid [3906]
[rtkrcv-2] process has died [pid 3906, exit code -11, cmd /home/asfandyar/gnss-master/rtkrcv/bin/rtkrcv -m 3003 __name:=rtkrcv __log:=/home/asfandyar/.ros/log/a204a6d4-e98d-11e2-85d2-081196dfce64/rtkrcv-2.log].
log file: /home/asfandyar/.ros/log/a204a6d4-e98d-11e2-85d2-081196dfce64/rtkrcv-2*.log

I have already tried netstat -ltpn inorder to check there is no other ros program running. Any help would be appreciated.

2014-01-28 17:31:02 -0500 marked best answer stream server start error in rosrun

I did the roslaunch for this package gps_meas.launch but I am constantly receiving this error. I have tried fixing it but to no avail. The error is as follows:

started roslaunch server http://malik:49380/

SUMMARY
========

CLEAR PARAMETERS
 * /gps_meas/

PARAMETERS
 * /rosdistro
 * /rosversion

NODES
  /
    gps_meas (rtklib/str2str)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[gps_meas-1]: started with pid [6312]
stream server start
stream server start error
[gps_meas-1] process has died [pid 6312, exit code 255, cmd /home/asfandyar/gnss-master/rtklib/bin/str2str -in serial://ttyACM0:57600:8:n:1:off -out tcpsvr://:8600 -d 5000 -out file:///home/asfandyar/gnss-master/rtklib/logs/%Y%m%d_%h%M_gps_meas.log __name:=gps_meas __log:=/home/asfandyar/.ros/log/3149aa1c-dfe6-11e2-be64-d067e53f4c7b/gps_meas-1.log].
log file: /home/asfandyar/.ros/log/3149aa1c-dfe6-11e2-be64-d067e53f4c7b/gps_meas-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

The output of my env| grep ROS_PACKAGE_PATH is as follows:

ROS_PACKAGE_PATH=/home/asfandyar/ros:/opt/ros/groovy/stacks:/opt/ros/groovy/share:/home/asfandyar/gnss-master

Any help would be greatly appreciated. Thanks