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

Pointgrey camera driver parameter limits cfg file

asked 2017-02-20 16:21:47 -0500

eab gravatar image

I am trying to set the frame rate on my Point Grey Chameleon 3. The dynamic reconfigure has a max value of 100. This is set in the PointGrey.cfg file. However, the camera itself is capable of higher frame rates.

I have installed the camera driver from apt:

sudo apt-get install ros-kinetic-pointgrey-camera-driver

Is there a way for me to modify the PointGrey.cfg file somewhere? I assume with my install method that it is all packaged up in a binary file and not changeable. Is there a way to override the default PointGrey.cfg file with a custom one? Can I point the Nodelet at a new .cfg file? Maybe in the launch file?

I have a custom launch file already where I set various parameters for the Nodelet. I generated this launch file by copying the camera.launch file from the github page and adding parameters ( https://github.com/ros-drivers/pointg... ). Is there a line I could add in here to tell the Nodelet to use a custom .cfg file?

I have tried installing from source so that I can modify the PointGrey.cfg file, but I have not had any luck getting that to work either.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-20 17:49:47 -0500

eab gravatar image

I ended up figuring out how to install from source. I was trying to copy just the pointgrey_camera_driver subfolder, but you need to do the entire repository so that the dependencies are met.

After doing this, I was able to change the PointGrey.cfg file and get higher frame rates.

edit flag offensive delete link more

Comments

If you feel you have answered your own question, then could you please accept your own answer by clicking the checkmark to the left of your answer? Thanks.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-21 01:56:44 -0500 )edit

As to the solution you ended up with: dynamic reconfigure is infrastructure that gets generated at compile time. So creating a workspace, cloning the sources, updating the config and then rebuilding is (at the moment) the only way to change the bounds for a config item.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-21 01:58:38 -0500 )edit

It says I need more "points" to accept or unaccept my own answer.

eab gravatar image eab  ( 2017-02-21 08:25:12 -0500 )edit

I've just accepted it for you.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-21 08:40:51 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-02-20 16:21:47 -0500

Seen: 585 times

Last updated: Feb 20 '17