ros-drivers / pointgrey_camera_driver

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

Default configuration not loading #19

Closed pedropgusmao closed 8 years ago

pedropgusmao commented 9 years ago

Hi,

Please, I set the default value of video_mode in PointGrey.cfg to format7_mode1 as in:

gen.add("video_mode", str_t, SensorLevels.RECONFIGURE_STOP, "Video mode.", "format7_mode1", edit_method = video_modes)

but the camera keeps loading format7_mode0.

Is there a way for the camera to load these parameters at launch time?

Thanks, Pedro

mikepurvis commented 8 years ago

You can specify them using <param> tags in your roslaunch, eg:

https://github.com/ros-drivers/pointgrey_camera_driver/blob/3fe1e8b3814891cba3ba2aee1fc0aff4b0081120/pointgrey_camera_driver/launch/bumblebee.launch#L16