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

Add support for software trigger #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjavault
Copy link

@mjavault mjavault commented Jul 18, 2018

Issue #128 - add support for software trigger for cameras that support it.
You can use it as follows:

    <node pkg="nodelet" type="nodelet" name="camera_nodelet"
          args="load pointgrey_camera_driver/PointGreyCameraNodelet camera_nodelet_manager" output="screen">
...
      <param name="frame_rate" value="15" />
      <param name="enable_trigger" value="true" />
      <param name="trigger_mode" value="mode15" />
      <param name="trigger_source" value="software" />
      <param name="trigger_parameter" value="5" />
      <param name="timeout" value="-1" />
...
    </node>

then you can publish a std_msgs/Empty message on the trigger topic (note: that topic only exists if there is at least one consumer connected to the image topics).

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

Successfully merging this pull request may close these issues.

1 participant