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

Kinect fps

asked 2014-08-18 10:21:38 -0600

faty gravatar image

Hi, I would like to know if it's possible to change the number of fps of kinect, i'm getting 30 fps and I would like to get 1 frame par second. Any help will be appreciated. thnx in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-08-19 00:59:48 -0600

ahendrix gravatar image

Yes. The openni drivers have a "skip" parameter which allows them to skip frames received from the Kinect. There are also options to decrease the frame rate and resolution of the sensor itself.

Both of these can be set through ROS parameters and through dynamic_reconfigure (rosrun rqt_reconfigure rqt_reconfigure).

edit flag offensive delete link more
0

answered 2014-08-19 05:13:04 -0600

faty gravatar image

I have found the openni configuration file and I have set FPS to 1 in depth, image (rgb) and IR, but when I try to use the Kinect with this configuration I get this error: CvCapture_OpenNI::setDepthGeneratorProperty : Device Protocol: Bad Parameter sent ! thanks.

edit flag offensive delete link more

Comments

Why aren't you using dynamic_reconfigure as I suggested? I suggested it specifically because it prevents you from selecting invalid parameters, and allows you to change the settings without restarting the driver.

ahendrix gravatar image ahendrix  ( 2014-08-19 12:50:37 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-08-18 10:21:38 -0600

Seen: 845 times

Last updated: Aug 19 '14