Public Member Functions | Private Member Functions | Private Attributes | List of all members
TriggerNode Class Reference

Public Member Functions

bool setup (void)
 
bool spin (void)
 
 TriggerNode ()
 

Private Member Functions

void shutdown (void)
 
bool trigger (void)
 

Private Attributes

dc1394camera_t * camera_
 
ros::NodeHandle node_
 

Detailed Description

Definition at line 58 of file trigger_node.cpp.

Constructor & Destructor Documentation

TriggerNode::TriggerNode ( )
inline

Definition at line 62 of file trigger_node.cpp.

Member Function Documentation

bool TriggerNode::setup ( void  )
inline

Set up device connection to first camera on the bus.

Returns
true if successful

Failure cleanup is sketchy, but that is OK because the node terminates, anyway.

Definition at line 73 of file trigger_node.cpp.

void TriggerNode::shutdown ( void  )
inlineprivate

shut down device connection

Definition at line 133 of file trigger_node.cpp.

bool TriggerNode::spin ( void  )
inline

spin, triggering the device twice a second.

Definition at line 112 of file trigger_node.cpp.

bool TriggerNode::trigger ( void  )
inlineprivate

Send software trigger to camera.

Returns
true if able to set software trigger.

Definition at line 142 of file trigger_node.cpp.

Member Data Documentation

dc1394camera_t* TriggerNode::camera_
private

Definition at line 152 of file trigger_node.cpp.

ros::NodeHandle TriggerNode::node_
private

Definition at line 151 of file trigger_node.cpp.


The documentation for this class was generated from the following file:


camera1394
Author(s): Jack O'Quin, Ken Tossell, Patrick Beeson, Nate Koenig, Andrew Howard, Damien Douxchamps, Dan Dennedy
autogenerated on Mon Jun 10 2019 12:52:31