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

Cristina's profile - activity

2014-03-23 15:25:24 -0500 received badge  Teacher (source)
2013-08-23 08:50:09 -0500 received badge  Good Question (source)
2013-05-31 12:51:39 -0500 received badge  Nice Question (source)
2013-03-10 21:50:40 -0500 received badge  Famous Question (source)
2013-03-10 03:35:14 -0500 answered a question include package ??

Perhaps the package is not added as dependency. Check in the /home/user/catkin_ws/src/project1/manifest.xml file -- you should have there a line like

<depend package="sound_play"/>

2013-03-09 05:47:59 -0500 commented answer Is cmvision a working package?

@trinighost I am working in groovy, it seems like CvBridge.h is deprecated in this version and I was able to get rid of the error by using cv_bridge/cv_bridge.h. Of course, now I have other errors, but perhaps you will have more luck!

2013-03-09 05:13:22 -0500 commented question Is cmvision a working package?

I can confirm I am getting the same error when writing an image subscriber like in this tutorial: http://www.ros.org/wiki/image_transport/Tutorials/SubscribingToImages

2013-02-16 04:53:54 -0500 received badge  Notable Question (source)
2013-02-13 23:47:22 -0500 received badge  Famous Question (source)
2013-02-07 22:08:26 -0500 received badge  Notable Question (source)
2013-02-05 03:44:49 -0500 received badge  Popular Question (source)
2013-02-04 20:58:27 -0500 commented answer InvalidROSPkgException when running roswtf: no manifest file in roscpp

@ROS-freak Yeah, that sounds logical enough.

2013-02-04 02:15:50 -0500 received badge  Popular Question (source)
2013-02-02 23:37:46 -0500 received badge  Commentator
2013-02-02 23:37:46 -0500 commented answer InvalidROSPkgException when running roswtf: no manifest file in roscpp

You're right, re-running it several times seems to get rid of the problem! I still don't understand why the problem occurred in the first place, however :D

2013-02-02 21:51:38 -0500 asked a question Error running rviz: Xlib: extension "NV-GLX" missing on display ":0.0"

I cannot get rviz to start. I did

rosdep install rviz
rosmake rviz

They both run fine; when I run

rosrun rviz rviz

I get the following error (it tries 100x and gives me the same error that many times):

rviz::RenderSystem: error creating render window: std::exception
Xlib:  extension "NV-GLX" missing on display ":0.0".
[ WARN] [1359884146.909768203]: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
rviz::RenderSystem: error creating render window: std::exception
[ERROR] [1359884146.909883164]: Unable to create the rendering window after 100 tries.
rviz: /tmp/buildd/ros-groovy-rviz-1.9.20-0quantal-20130126-0146/src/rviz/ogre_helpers/render_system.cpp:272: Ogre::RenderWindow* rviz::RenderSystem::makeRenderWindow(intptr_t, unsigned int, unsigned int): Assertion `false' failed.
Aborted (core dumped)

My system: Ubuntu 12.10 32b, GeForce GT 630M, ROS Groovy.

I am going to update this post with other info as described in http://www.ros.org/wiki/rviz/Troubleshooting#How_to_make_a_usable_bug_report, unless someone recognizes this problem right away.

EDIT: Following the instructions in this answer http://answers.ros.org/question/10588/rviz-does-not-start-prints-glxunsupportedprivaterequest/?answer=15671#post-id-15671 got rid of the previous errors, now the rviz window opens up for a second and then crashes. I am getting:

[ INFO] [1359888641.886868366]: rviz version 1.9.20
[ INFO] [1359888641.887071444]: compiled against OGRE version 1.7.4 (Cthugha)
[ WARN] [1359888644.497027605]: OGRE EXCEPTION(7:InternalErrorException): Cannot compile GLSL high-level shader : rviz/pass_pos_color.vert Cannot compile GLSL high-level shader : rviz/pass_pos_color.vert 0:1(15): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE
 in GLSLProgram::compile at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLSL/src/OgreGLSLExtSupport.cpp (line 65)
Segmentation fault (core dumped)

EDIT 2: Same as before, tried it a couple more times, now rviz window appears. No idea why.

2013-02-02 04:53:25 -0500 asked a question InvalidROSPkgException when running roswtf: no manifest file in roscpp

I am trying to run roswtf as described at the end of the http://www.ros.org/wiki/ROS/Tutorials/Getting%20started%20with%20roswtf (beginner tutorial), but it complains about roscpp not having a manifest file:

WARNING(s) in /opt/ros/groovy/share/camera_info_manager/package.xml:
- The test dependency on "rostest" is redundant with: build_depend, run_depend
WARNING(s) in /opt/ros/groovy/share/diagnostic_analysis/package.xml:
- The test dependency on "rosbag" is redundant with: build_depend, run_depend
- The test dependency on "rostest" is redundant with: build_depend
- The test dependency on "diagnostic_msgs" is redundant with: build_depend, run_depend
Package: beginner_tutorials
Traceback (most recent call last):
  File "/opt/ros/groovy/bin/roswtf", line 35, in <module>
    roswtf.roswtf_main()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/__init__.py", line 87, in roswtf_main
    _roswtf_main()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/__init__.py", line 174, in _roswtf_main
    roswtf.packages.wtf_check(ctx)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/packages.py", line 187, in wtf_check
    warning_rule(r, r[0](ctx), ctx)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/packages.py", line 68, in manifest_msg_srv_export
    msgs = set(_manifest_msg_srv_export(ctx, 'msg'))
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roswtf/packages.py", line 59, in _manifest_msg_srv_export
    m_file = roslib.manifest.manifest_file(pkg, True)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/manifest.py", line 118, in manifest_file
    return _manifest_file_by_dir(d, required=required, env=env)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/manifest.py", line 94, in _manifest_file_by_dir
    """%locals())
roslib.packages.InvalidROSPkgException: 
Package '/opt/ros/groovy/share/roscpp' is improperly configured: no manifest file is present.

What could be the cause of this?

My configuration: Ubuntu 12.10 32b, ROS Groovy

2013-01-12 22:22:35 -0500 commented answer rosws problem fuerte

@r0nald Thanks! It's good to know it's not necessary. I was afraid some tools would kick the bucket because they missed this var.

2013-01-11 07:22:09 -0500 commented answer Beginner tutorials: segmentation fault with rospack depends1

@IsaacSaito Yep, I was following the github ticket and saw the fix...thanks a lot for your help!

2013-01-10 06:52:14 -0500 commented answer rosws problem fuerte

Even after executing this command, the $ROS_WORKSPACE is not set. I'm using Groovy under Ubuntu 12.10 32b. Any ideas why this happens?

2013-01-10 06:50:16 -0500 commented answer rosws problem fuerte

@r0nald Have you found out why $ROS_WORKSPACE was not set? I have the same problem (Groovy, Ubuntu 12.10 32b)

2013-01-09 11:19:19 -0500 received badge  Famous Question (source)
2013-01-08 21:26:46 -0500 received badge  Student (source)
2013-01-08 21:19:44 -0500 received badge  Scholar (source)
2013-01-08 21:19:42 -0500 received badge  Supporter (source)
2013-01-08 21:19:35 -0500 commented question Beginner tutorials: segmentation fault with rospack depends1

@IsaacSaito: Thanks a lot for your assistance! In the meantime I think I'll upgrade Ubuntu to Quantal and see if I can make some progress with that config.

2013-01-08 19:32:11 -0500 commented question Beginner tutorials: segmentation fault with rospack depends1

@IsaacSaito As far as I can recall, it gives me a segfault even for existing ros packages, but I'll try again to make sure. I have no other custom packages -- this happened while creating my first package as part of the beginner tutorial!

2013-01-08 13:59:05 -0500 received badge  Notable Question (source)
2013-01-08 09:13:39 -0500 received badge  Autobiographer
2013-01-08 09:08:44 -0500 commented question Beginner tutorials: segmentation fault with rospack depends1

@IsaacSaito Sorry, Linux noob-ish user here...the Windows debug landscape is different :D Posted what is hopefully complete debug trace now.

2013-01-07 09:55:36 -0500 received badge  Popular Question (source)
2013-01-07 05:39:24 -0500 commented question Beginner tutorials: segmentation fault with rospack depends1

@IsaacSaito I've posted my trace, seems like a python module gets stuck while detecting my Nvidia gfx card. Still not clear what to do.

2013-01-07 05:32:15 -0500 edited question Beginner tutorials: segmentation fault with rospack depends1

I have created a package as described under /ROS/Tutorials/CreatingPackage, and everything seems ok.

However, I get a segmentation fault when I try to see the dependencies with

rospack depends1 beginner_tutorials

Has anyone else encountered this problem? What might be the cause?

My setup: Ubuntu 12.04 32 bit, ROS Groovy.

EDIT: Debug trace, obtained by following @IsaacSaito's suggestion:

(gdb) run depends1 beginner_tutorials
Starting program: /opt/ros/groovy/bin/rospack depends1 beginner_tutorials
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0xb7a23112 in PyObject_IsTrue () from /usr/lib/libpython2.7.so.1.0

And the contents of the single file in /var/crash:

PythonArgs: ['/usr/bin/jockey-text', '-C', '--no-dbus', '-k', '3.2.0-29-generic-pae']
Traceback:
Traceback (most recent call last):
   File "/usr/bin/jockey-text", line 128, in <module>
     sys.exit(u.run())
   File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 452, in run
     if self.check_composite():
   File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 574, in check_composite
     self.set_handler_enable(h_id, 'enable', self.argv_options.confirm)
   File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 618, in set_handler_enable
     i = convert_dbus_exceptions(self.backend().handler_info, handler_id)
   File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 98, in convert_dbus_exceptions
     return fn(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 264, in handler_info
     'recommended': str(h.recommended()),
   File "/usr/share/jockey/handlers/nvidia.py", line 130, in recommended
     nd = NvidiaDetection()
   File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 68, in __init__
     self.getData()
   File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 149, in getData
     driver_version = self.__get_value_from_name(stripped_package_name)
   File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 87, in __get_value_from_name
     v = int(name)
 ValueError: invalid literal for int() with base 10: 'experimental-304'
UserGroups:

So it seems some python module chokes when detecting my Nvidia graphic card. I have a GeForce GT 630M, if that is relevant, and I have not installed yet any additional drivers except what Ubuntu installed by itself. I will try to see if updating the drivers will help, but seems like a weird dependency for ROS to get stuck on.

EDIT 2: Seems to be a bug in Ubuntu 12.04 and unrelated to ROS itself: bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1070795

EDIT 3: My conclusion in Edit 2 was incorrect, I had made a mistake in checking the creation date for the /var/crash file. Nothing is generated there when I run rospack depends1. The (hopefully correct) trace now! Yes, kind of a Linux noob here... :-)

(gdb) bt
#0  0xb7a23112 in PyObject_IsTrue () from /usr/lib/libpython2.7.so.1.0
#1  0xb7fabc40 in rospack::Rosstackage::isSysPackage(std::string const&) ()
   from /opt/ros/groovy/lib/librospack.so
#2  0xb7fac8ee in rospack::Rosstackage::computeDepsInternal(rospack::Stackage*, bool, std::string const&) () from /opt/ros/groovy/lib/librospack.so
#3  0xb7faccb6 in rospack::Rosstackage::computeDeps(rospack::Stackage*, bool)
() from /opt/ros/groovy/lib/librospack.so
#4  0xb7fac8b9 ...
(more)
2013-01-06 21:47:23 -0500 commented question Beginner tutorials: segmentation fault with rospack depends1

@IsaacSaito I will post the trace when I get home today, thanks!