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

Joery's profile - activity

2015-05-18 10:52:32 -0500 received badge  Famous Question (source)
2013-03-10 06:09:06 -0500 received badge  Famous Question (source)
2013-01-28 07:17:37 -0500 received badge  Notable Question (source)
2013-01-04 22:33:30 -0500 received badge  Notable Question (source)
2012-11-16 03:01:50 -0500 received badge  Popular Question (source)
2012-11-04 04:47:24 -0500 asked a question How can I possibly optimize kinect hand_detection

Hi,

I was wondering if there are some optimizations that might make hand_detection faster or publish data at a higher rate. When i run the hand_detection demo and look at the publishing rates using "rostopic hz" I get the following:

  • skeletons -> 30Hz
  • hands -> 2.5 - 3Hz
  • finger_norms -> 1.7 - 2.5 Hz

I added the finger norms for completeness sake as I checked with finger_detection demo as well. However as i expected the first two publishing rates are the same. Thus i think there is a bottleneck in the hand detection.

At first I tried launching required the nodes individual instead of using the launch file, and doing so I figured out that the dynamic_reconfigure had no effect. Thereafter I used rosparam to change the depth_mode of openni (as was said in another post), but this had no effect.

Next i went on a search in the source code (in particular detect_hands_wskel.cpp) and stumbled upon a fault in messageSync function. There is an if structure to check the time difference, which should be below 15ms (16ms when considering Nyquist actually) but in the comparison 0.15 is used instead of 0.015. After changing this I figured this was done because otherwise no hand data would be published at all. In the end I just removed the if structure as its influence is very low.

After this I have been trying to comment other parts of the code and adding printf statements for testing purposes, and now I am clueless about what more I can try to increase the publishing rate of hands.

As a side note: I need more data in a short time period as I want to use it for hand gesture recognition.

I hope anyone can help me with this or point me in the right direction. Thanks for taking the time to read this and hopefully type a response.

2012-10-29 22:11:03 -0500 received badge  Popular Question (source)
2012-10-11 22:08:39 -0500 received badge  Editor (source)
2012-10-08 23:21:12 -0500 asked a question mit-ros-pkg hand_detection/finger_detection is verry slow

Hi,

I am completely new to ROS and about to use it for kinect programming (since i need 3D hand tracking). The first steps all went well, and the goal was to get some of the kinect demos running. Both the hand detection and fingerdetection work but they are really slow in my opinion and I would want to have them working smoother before moving on.

In more detail: the primesense user tracker shown no delay of any kind and neither does the skeleton in rviz. However the colored areas that represent hand and fingers in rviz are always staying behind by a couple of seconds. Does anyone have an idea why it runs slow or how i could fix this.

I am running this on a laptop with following hardware: Intel Core2Duo 2.53GHz with 6GB RAM and running ubuntu 10.10 on it with the electric version of ROS installed.

All help will be appreciated