Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About multicamera use #67

Open
YunchuZhang opened this issue Dec 4, 2020 · 3 comments
Open

About multicamera use #67

YunchuZhang opened this issue Dec 4, 2020 · 3 comments

Comments

@YunchuZhang
Copy link

Hi,
I want to ask does anybody know how to change the launch file to make multicamera works?
I did not find any place to change ros ouput name field. Could somebody give some examples? Thanks!!!

I use the following launch file:








  <!-- Image size and type -->
  <param name="width" value="640"/>
  <param name="height" value="480"/>
  <!-- choose whichever uncompressed format the camera supports: -->
  <param name="video_mode" value="uncompressed"/> <!-- or yuyv/nv12/mjpeg -->
  <param name="frame_rate" value="15"/>

  <param name="timestamp_method" value="start"/> <!-- start of frame -->
  <param name="camera_info_url" value="file:///tmp/cam.yaml"/>

  <param name="auto_exposure" value="3"/> <!-- use aperture_priority auto exposure -->
  <param name="auto_white_balance" value="false"/>
</node>

change the first line's name does not work.

@QiTianDaShengDaShi
Copy link

多加几个就行了,类似如下;我打开三个相机
`







  <!-- Image size and type -->
  <param name="width" value="640"/>
  <param name="height" value="480"/>
  <!-- choose whichever uncompressed format the camera supports: -->
  <param name="video_mode" value="uncompressed"/> <!-- or yuyv/nv12/mjpeg -->
  <param name="frame_rate" value="30"/>

  <param name="timestamp_method" value="start"/> <!-- start of frame -->
  <param name="camera_info_url" value="file:///home/cam.yaml"/>

  <param name="auto_exposure" value="1"/> <!-- use aperture_priority auto exposure -->
  <param name="auto_white_balance" value="false"/>
</node>
  <!-- Image size and type -->
  <param name="width" value="640"/>
  <param name="height" value="480"/>
  <!-- choose whichever uncompressed format the camera supports: -->
  <param name="video_mode" value="uncompressed"/> <!-- or yuyv/nv12/mjpeg -->
  <param name="frame_rate" value="30"/>

  <param name="timestamp_method" value="start"/> <!-- start of frame -->
  <param name="camera_info_url" value="file:///home/cam.yaml"/>

  <param name="auto_exposure" value="1"/> <!-- use aperture_priority auto exposure -->
  <param name="auto_white_balance" value="false"/>
</node>
  <!-- Image size and type -->
  <param name="width" value="640"/>
  <param name="height" value="480"/>
  <!-- choose whichever uncompressed format the camera supports: -->
  <param name="video_mode" value="uncompressed"/> <!-- or yuyv/nv12/mjpeg -->
  <param name="frame_rate" value="30"/>

  <param name="timestamp_method" value="start"/> <!-- start of frame -->
  <param name="camera_info_url" value="file:///home/cam.yaml"/>

  <param name="auto_exposure" value="1"/> <!-- use aperture_priority auto exposure -->
  <param name="auto_white_balance" value="false"/>
</node>
`

@QiTianDaShengDaShi
Copy link

`







  <!-- Image size and type -->
  <param name="width" value="1920"/>
  <param name="height" value="1080"/>
  <!-- choose whichever uncompressed format the camera supports: -->
  <param name="video_mode" value="uncompressed"/> <!-- or yuyv/nv12/mjpeg -->
  <param name="frame_rate" value="30"/>

  <param name="timestamp_method" value="start"/> <!-- start of frame -->
  <param name="camera_info_url" value="file:///home/cam.yaml"/>

  <param name="auto_exposure" value="1"/> <!-- use aperture_priority auto exposure -->
  <param name="auto_white_balance" value="false"/>
</node>
  <!-- Image size and type -->
  <param name="width" value="1920"/>
  <param name="height" value="1080"/>
  <!-- choose whichever uncompressed format the camera supports: -->
  <param name="video_mode" value="uncompressed"/> <!-- or yuyv/nv12/mjpeg -->
  <param name="frame_rate" value="30"/>

  <param name="timestamp_method" value="start"/> <!-- start of frame -->
  <param name="camera_info_url" value="file:///home/cam.yaml"/>

  <param name="auto_exposure" value="1"/> <!-- use aperture_priority auto exposure -->
  <param name="auto_white_balance" value="false"/>
</node>
  <!-- Image size and type -->
  <param name="width" value="1920"/>
  <param name="height" value="1080"/>
  <!-- choose whichever uncompressed format the camera supports: -->
  <param name="video_mode" value="uncompressed"/> <!-- or yuyv/nv12/mjpeg -->
  <param name="frame_rate" value="30"/>

  <param name="timestamp_method" value="start"/> <!-- start of frame -->
  <param name="camera_info_url" value="file:///home/cam.yaml"/>

  <param name="auto_exposure" value="1"/> <!-- use aperture_priority auto exposure -->
  <param name="auto_white_balance" value="false"/>
</node>
`

@QiTianDaShengDaShi
Copy link

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants