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_ |
Definition at line 58 of file trigger_node.cpp.
TriggerNode::TriggerNode | ( | ) | [inline] |
Definition at line 62 of file trigger_node.cpp.
bool TriggerNode::setup | ( | void | ) | [inline] |
Set up device connection to first camera on the bus.
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 | ) | [inline, private] |
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 | ) | [inline, private] |
Send software trigger to camera.
Definition at line 142 of file trigger_node.cpp.
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.