ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 180 forks source link

Frame Rate Issue #94

Open Codebot2455 opened 7 years ago

Codebot2455 commented 7 years ago

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

PointGrey.cfg

gen.add("frame_rate",         double_t, SensorLevels.RECONFIGURE_RUNNING,    "Camera speed (frames per second).",                                            30, 0, 100)
fabrizioschiano commented 7 years ago

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

davrsky commented 7 years ago

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

JaouadROS commented 6 years ago

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

fabrizioschiano commented 6 years ago

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