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

Salvo's profile - activity

2015-01-14 07:11:17 -0500 received badge  Good Question (source)
2012-10-15 17:52:59 -0500 received badge  Good Answer (source)
2012-10-15 17:50:03 -0500 received badge  Nice Question (source)
2012-09-10 15:27:45 -0500 received badge  Nice Answer (source)
2012-08-23 19:40:17 -0500 received badge  Famous Question (source)
2012-07-30 11:53:53 -0500 received badge  Notable Question (source)
2012-07-08 13:47:10 -0500 received badge  Popular Question (source)
2012-06-27 23:02:22 -0500 received badge  Self-Learner (source)
2012-06-27 23:02:22 -0500 received badge  Teacher (source)
2012-06-26 10:45:42 -0500 received badge  Favorite Question (source)
2012-06-26 00:52:19 -0500 answered a question Fuerte + Ubuntu 12.04 + Kinect errors

Not sure if I found some solutions..

For the Python problem, I simply commented a line in the file /usr/lib/python2.7/threading.py , around line 806:

        # Thread.__block consumes an OS-level locking primitive, which
        # can never be used by a _DummyThread.  Since a _DummyThread
        # instance is immortal, that's bad, so release this resource.
#comment here:
#        del self._Thread__block

I am not a Python expert, so I do not know if this can cause other problems.. I think this is not exactly an elegant solution.. but it works.. so I will use this workaround and I will see if it will cause other issues.

About the last and most important problem, I simple killed the XnSensorServer program:

killall -s 9 XnSensorServer

before running openni.launch. Also here, I do not think it is the most elegant way, but it works.

However, to solve these issues I think we should wait for an update of both Python and Fuerte..

Bye, Salvo

2012-06-25 22:14:04 -0500 commented question Fuerte + Ubuntu 12.04 + Kinect errors

no one can help?

2012-06-25 10:48:22 -0500 received badge  Student (source)
2012-06-25 08:41:23 -0500 asked a question Fuerte + Ubuntu 12.04 + Kinect errors

Dear all, I am trying to access to the cloud point from a Kinect device using Ros Fuerte on a Ubuntu 12.04 64bit. The command roslaunch openni_launch openni.launch give me several errors. I also found several Ros Answers users with my same problems, but no one was able to find a complete solution.

Basically I found 3 kind of problems.

The first:

Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored process[camera_base_link3-21]: started with pid [9074]

This error and the similar ones are related to this Python bug http://bugs.python.org/issue14308 but I was not able to use the patch they proposed. However, it seems a minor bug that should not change anything (I hope!).

The second:

[ERROR] [1340647948.750262621]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressed/set_parameters]
[ERROR] [1340647948.758634172]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/theora/set_parameters]

It is related to a cyclic reference inside the files included by openni.launch. To solve this issue it is enough to comment inside the file (ros_stack)/openni_launch/launch/includes/depth_registered.launch the following code:

  <!-- Get all the usual depth topics -->
  <include file="$(find openni_launch)/launch/includes/depth.launch"
           ns="$(arg depth_registered)">
    <arg name="manager"    value="$(arg manager)" />
    <arg name="points_xyz" value="false" /> <!-- Suppress XYZ point cloud -->
    <arg name="respawn" value="$(arg respawn)" />
  </include>

so, this is ok.

At last:

[ INFO] [1340647956.288019996]: Number devices connected: 1
[ INFO] [1340647956.288166663]: 1. device on bus 002:08 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00365910150107A'
[ INFO] [1340647956.289262201]: Searching for device with index = 1
nodelet: /usr/include/boost/smart_ptr/shared_ptr.hpp:412: boost::shared_ptr<T>::reference boost::shared_ptr<T>::operator*() const [with T = xn::NodeInfo, boost::shared_ptr<T>::reference = xn::NodeInfo&]: Assertion `px != 0' failed.
[camera_nodelet_manager-1] process has died [pid 8573, exit code -6, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet manager __name:=camera_nodelet_manager __log:=/home/salvo/.ros/log/1c33ed90-bee0-11e1-b0ec-f46d04509546/camera_nodelet_manager-1.log].
log file: /home/salvo/.ros/log/1c33ed90-bee0-11e1-b0ec-f46d04509546/camera_nodelet_manager-1*.log

I was completely not able to solve this. Could you help me? Do you have any idea? Some workaround? I found other answers here about this, but in this case no one was able to solve..

Best, Salvo

2012-05-18 07:39:03 -0500 answered a question openni_launch not working in fuerte + ubuntu precise 12.04

Hello, I have the same problem with fuerte + ubuntu precise:

[ INFO] [1337361978.151711102]: Searching for device with index = 1
nodelet: /usr/include/boost/smart_ptr/shared_ptr.hpp:412: boost::shared_ptr<T>::reference boost::shared_ptr<T>::operator*() const [with T = xn::NodeInfo, boost::shared_ptr<T>::reference = xn::NodeInfo&]: Assertion `px != 0' failed.
[camera_nodelet_manager-2] process has died [pid 31832, exit code -6, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet manager __name:=camera_nodelet_manager __log:=/home/salvo/.ros/log/8e53190e-a10e-11e1-b6a6-f46d04509546/camera_nodelet_manager-2.log].
log file: /home/salvo/.ros/log/8e53190e-a10e-11e1-b6a6-f46d04509546/camera_nodelet_manager-2*.log

any news or ideas?

2011-05-15 14:49:54 -0500 received badge  Supporter (source)