0
$\begingroup$

Rosanswers logo

Hello everybody,

I am running two programs at the same time so the computational cost is too high. Hence, i thought in reducing the frame rate of the kinect. I am using openni_launch and fuerte. Does anyone know how to reduce the FPS or whether it is possible?

Thank you very much!

Antonio


Originally posted by anto1389 on ROS Answers with karma: 106 on 2013-02-05

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You can skip frames to reduce frame rate.

Write this line in the terminal

set param name="camera/driver/data_skip" value="10"

and then run

roslaunch openni_launch openni.launch

This will drop 10 frames and output 2-3Hz data, whereas default value is 0 (which output 30 frames/sec without any dropping)


Originally posted by usman with karma: 81 on 2013-03-14

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by FBernuy on 2013-04-11:
I tried this and didn't work. Instead I used dynamic_reconfigure with the openni running. Here is the command I used: "$ rosrun dynamic_reconfigure dynparam set /camera/driver data_skip 9"

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.