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

nrb's profile - activity

2020-03-11 09:59:14 -0500 received badge  Notable Question (source)
2019-05-20 01:17:10 -0500 marked best answer NodeHandle class working

In the tutorials, I read that creating an object of NodeHandle registers my program as a node with ROS master.

Where I find the code that helps me understand this in depth?

2019-03-05 14:48:59 -0500 marked best answer Error when I run the command: rosrun rqt_graph rqt_graph

I followed the steps given here : Understanding Topics

I get the following error:

Inspiron-5559:~$ sudo apt-get install ros-kinect-rqt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinect-rqt

When I run rqt : image description

When I run the command :

Inspiron-5559:~$ rosrun rqt_graph rqt_graph
Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui_cpp/cpp_binding_helper.py", line 43, in <module>
    from . import libqt_gui_cpp_sip
ImportError: dynamic module does not define module export function (PyInit_libqt_gui_cpp_sip)

[WARN] [1518230850.310686]: Failed to load Python extension for LZ4 support. LZ4 compression will not be available.
RosPluginProvider.load(rqt_graph/RosGraph) exception raised in __builtin__.__import__(rqt_graph.ros_graph, [RosGraph]):
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui/ros_plugin_provider.py", line 80, in load
    module = __builtin__.__import__(attributes['module_name'], fromlist=[attributes['class_from_class_type']], level=0)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 45, in <module>
    from qt_dotgraph.dot_to_qt import DotToQtGenerator
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_dotgraph/dot_to_qt.py", line 36, in <module>
    import pydot
ModuleNotFoundError: No module named 'pydot'

PluginManager._load_plugin() could not load plugin "rqt_graph/RosGraph":
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_handler.py", line 99, in load
    self._load()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_handler_direct.py", line 54, in _load
    self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui_py/ros_py_plugin_provider.py", line 60, in load
    return super(RosPyPluginProvider, self).load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui/ros_plugin_provider.py", line 86, in load
    raise e
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui/ros_plugin_provider.py", line 80, in load
    module = __builtin__.__import__(attributes['module_name'], fromlist=[attributes['class_from_class_type']], level=0)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 45, in <module>
    from qt_dotgraph.dot_to_qt import DotToQtGenerator
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_dotgraph/dot_to_qt.py", line 36, in <module>
    import pydot
ModuleNotFoundError: No module named 'pydot'
2018-10-18 00:37:57 -0500 received badge  Famous Question (source)
2018-09-24 06:03:01 -0500 received badge  Famous Question (source)
2018-09-01 15:40:18 -0500 received badge  Notable Question (source)
2018-09-01 15:40:18 -0500 received badge  Popular Question (source)
2018-08-28 19:50:16 -0500 received badge  Famous Question (source)
2018-08-13 20:31:31 -0500 received badge  Popular Question (source)
2018-06-21 14:30:32 -0500 received badge  Notable Question (source)
2018-06-21 14:30:32 -0500 received badge  Popular Question (source)
2018-06-20 14:07:48 -0500 received badge  Famous Question (source)
2018-06-20 14:07:48 -0500 received badge  Notable Question (source)
2018-05-29 10:11:21 -0500 received badge  Notable Question (source)
2018-05-08 20:49:41 -0500 received badge  Popular Question (source)
2018-05-08 13:30:11 -0500 commented answer import cv2 error caused by ROS!

Thank you!

2018-05-08 13:29:58 -0500 marked best answer import cv2 error caused by ROS!

I have anaconda installed. which python gives me the following output:

/home/nehal/anaconda3/bin/python


Now when I start python on command line, it starts the anaconda's python but import cv2 gives me the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so: undefined symbol: PyCObject_Type

In the .bashrc I have :

export PATH="/home/nehal/anaconda3/bin:$PATH"
export PYTHONPATH="/home/nehal/anaconda3/lib/python3.6/dist-package‌​s:$PYTHONPATH"
ROS_IP=
ROS_HOSTNAME=
ROS_MASTER_URI=
source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash

and nothing else related to python in .bashrc

nehal@nehal-Inspiron-5559:~$ echo $PYTHONPATH
/home/nehal/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/kinetic/lib/python2.7/dist-packages:/home/nehal/anaconda3/lib/python3.6/site-package‌​s:/home/nehal/anaconda3/lib/python3.6/dist-package‌​s:/home/nehal/anaconda3/lib/python3.6/dist-package‌​s:/home/nehal/anaconda3/lib/python3.6/dist-package‌​s:/home/nehal/anaconda3/lib/python3.5/dist-package‌​s:/home/userx/anaconda3/lib/python3.5/dist-package‌​s:/home/userx/anaconda3/lib/python3.5/dist-package‌​s:/home/userx/anaconda3/lib/python3.5/dist-package‌​s
2018-05-08 12:45:03 -0500 edited question import cv2 error caused by ROS!

import cv2 error caused by ROS! I have anaconda installed. which python gives me the following output: /home/nehal/an

2018-05-08 12:36:37 -0500 asked a question import cv2 error caused by ROS!

import cv2 error caused by ROS! I have anaconda installed. which python gives me the following output: /home/jon/anac

2018-04-29 11:20:34 -0500 edited question display text in rtabmap

display text in rtabmap I am beginner to ROS and I use rtabmap to generate 3D maps of indoor environment. I want to labe

2018-04-29 11:20:24 -0500 edited question display text in rtabmap

display text in rtabmap I am beginner to ROS and I use rtabmap to generate 3D maps of indoor environment. I want to labe

2018-04-29 11:19:54 -0500 asked a question display text in rtabmap

display text in rtabmap I am beginner to ROS and I use rtabmap to generate 3D maps of indoor environment. I want to labe

2018-04-28 01:18:48 -0500 received badge  Enthusiast
2018-04-27 18:46:16 -0500 commented question [turtle1_tf_broadcaster-4] process has died

@lmathieu Tried the answers from the link above, but it didn't help.

2018-04-27 18:45:47 -0500 commented question [turtle1_tf_broadcaster-4] process has died

Tried the answers from the link above, but it didn't help.

2018-04-27 01:31:09 -0500 asked a question [turtle1_tf_broadcaster-4] process has died

[turtle1_tf_broadcaster-4] process has died I tried to follow the tutorial from here : http://www.ros.org/wiki/tf/Tutor

2018-03-25 23:10:53 -0500 edited question kinect reset odometry on rtabmap

kinect reset odometry on rtabmap When visual odometry can't be computed the screen turns red on RTAB map. How can I call

2018-03-25 23:10:13 -0500 asked a question kinect reset odometry on rtabmap

kinect reset odometry on rtabmap When visual odometry can't be computed the screen turns red on RTAB map. How can I call

2018-03-22 04:36:32 -0500 received badge  Popular Question (source)
2018-03-21 22:56:06 -0500 asked a question NodeHandle class working

NodeHandle class working In the tutorials, I read that creating an object of NodeHandle registers my program as a node w

2018-02-10 13:15:09 -0500 received badge  Student (source)
2018-02-10 12:28:56 -0500 received badge  Popular Question (source)
2018-02-09 22:14:29 -0500 answered a question Error when I run the command: rosrun rqt_graph rqt_graph

use " conda install pydot"

2018-02-09 21:06:27 -0500 edited question Error when I run the command: rosrun rqt_graph rqt_graph

Not able to install rqt package I followed the steps given here : Understanding Topics I get the following error: I

2018-02-09 21:05:43 -0500 edited question Error when I run the command: rosrun rqt_graph rqt_graph

Not able to install rqt package I followed the steps given here : Understanding Topics I get the following error: I

2018-02-09 20:42:32 -0500 asked a question Error when I run the command: rosrun rqt_graph rqt_graph

Not able to install rqt package I followed the steps given here : Understanding Topics I get the following error: I

2018-01-12 05:27:33 -0500 marked best answer Not able to use roscd command as it gives error

I get the following error when I use roscd:

Inspiron-5559:~$ roscd beginner_tutorials
roscd: No such package/stack 'beginner_tutorials'

But everytime when I source the setup.bash file then it works:

Inspiron-5559:~/catkin_ws$ . ~/catkin_ws/devel/setup.bash
Inspiron-5559:~/catkin_ws$ source devel/setup.bash

Then

Inspiron-5559:~/catkin_ws$ roscd beginner_tutorials
Inspiron-5559:~/catkin_ws/src/beginner_tutorials$

Hence I need to source the file everytime for roscd to work..How do I remove this error?

2018-01-12 05:20:38 -0500 received badge  Popular Question (source)
2018-01-11 21:00:12 -0500 edited question Not able to use roscd command as it gives error

Not able to use roscd command as it gives error I get the following error when I use roscd: Inspiron-5559:~$ roscd b

2018-01-11 20:55:23 -0500 edited question Not able to use roscd command as it gives error

Not able to use roscd command as it gives error I get the following error when I use roscd: Inspiron-5559:~$ roscd b

2018-01-11 20:54:45 -0500 asked a question Not able to use roscd command as it gives error

Not able to use roscd command as it gives error I get the following error when I use roscd: nehal@nehal-Inspiron-555

2018-01-03 06:09:44 -0500 marked best answer catkin commands not working

I have installed ros and catkin but when I echo $ROS_PACKAGE_PATH

Inspiron-5559:~/catkin_ws$ echo $ROS_PACKAGE_PATH
/opt/ros/kinetic/share

i don't get the src folder of catkin workspace along with it.Also catkin config command gives the following error.

Inspiron-5559:~/catkin_ws$ catkin config
catkin: command not found

How do I resolve the issue?

2018-01-03 06:09:44 -0500 commented answer catkin commands not working

Thank you...this helped