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

Revision history [back]

click to hide/show revision 1
initial version

I don't see anything immediately wrong with your code, but there are a few pieces that are missing:

  1. How are you setting params? I notice that you're using global params in some places, and private parms in others.
  2. I see that you have a ROS_INFO to print the frame rate during every capture. Does that value change when you change the framerate parameter? If that value updates, it means that your parameter code is working. If it doesn't update, it means that there's something wrong with the way you're setting or getting parameters.
  3. In general, it looks like you have some good logging statements in your code. It would be very useful to see part of the output (2-3 frames before and 4-5 frames after you try to change the frame rate)