pointgrey_camera_driver icon indicating copy to clipboard operation
pointgrey_camera_driver copied to clipboard

Frame Rate Issue

Open Codebot2455 opened this issue 8 years ago • 4 comments

I have a Point Grey Flea3 camera using pointgrey_camera_driver. Every time I launch it in ROS the frame rate is 7 FPS. I am able to change the frame rate to 30 FPS using rqt_reconfigure. I would like for the camera to start at 30 FPS by default. I have tried adding it as a param to the launch file but that didn't work. I also tried adding it to PointGrey.cfg but that didn't work. I also tried adding it in the command line using "frame_rate:=30" but that didn't work either.

Camera.launch

<node pkg="nodelet" type="nodelet" name="camera_nodelet"
      args="load pointgrey_camera_driver/PointGreyCameraNodelet camera_nodelet_manager" >
  <param name="frame_id" value="camera" />
  <param name="serial" value="$(arg camera_serial)" />

  <!-- When unspecified, the driver will use the default framerate as given by the
       camera itself. Use this parameter to override that value for cameras capable of
       other framerates. -->
  <param name="frame_rate" value="30" />
  
  <!-- Use the camera_calibration package to create this file -->
  <param name="camera_info_url" if="$(arg calibrated)"
         value="file://$(env HOME)/.ros/camera_info/$(arg camera_serial).yaml" />
</node>

<node pkg="nodelet" type="nodelet" name="image_proc_debayer"
      args="load image_proc/debayer camera_nodelet_manager">
</node>

PointGrey.cfg

gen.add("frame_rate",         double_t, SensorLevels.RECONFIGURE_RUNNING,    "Camera speed (frames per second).",				                             30, 0, 100)

Codebot2455 avatar Feb 07 '17 08:02 Codebot2455

Hi,

I know it is not the best way to reply to your question but for now I don't have time to write a full answer. I did write a kind of guide on how to set the resolution for a Flea Camera and this would help you also to set a frame rate at which the camera would start. It is handwritten , sorry for that.

Basically you need to register your configuration in your camera. Look at the point 11 of my guide. (I suggest you to go through the whole document, it doesn't take much, you could learn something)

Let me know if you need further help and I will try to write that guide in better form.

This is the link to the guide

fabrizioschiano avatar Feb 07 '17 13:02 fabrizioschiano

Hi @fabrizioschiano the link is broken, do you have a newer version posted somewhere? Thanks

davrsky avatar Jul 03 '17 23:07 davrsky

@fabrizioschiano Can we have the guide again please? or @bobjohnson2040 if you have it?

JaouadROS avatar Oct 16 '17 12:10 JaouadROS

I am sorry for the delay, here is the guide @davrsky @JaouadROS Change Pointgrey FLEA camera resolution.pdf

fabrizioschiano avatar Oct 25 '17 08:10 fabrizioschiano