Macros | Functions | Variables
grabber.cpp File Reference
#include <ros/ros.h>
#include <boost/thread.hpp>
#include <image_transport/image_transport.h>
#include <omronsentech_camera/GetSDKInfo.h>
#include <omronsentech_camera/GetLastError.h>
#include <omronsentech_camera/GetDeviceList.h>
#include <omronsentech_camera/WriteNodeFloat.h>
#include <omronsentech_camera/GetGenICamNodeInfo.h>
#include <omronsentech_camera/GetImageAcquisitionStatus.h>
#include <omronsentech_camera/EnableImageAcquisition.h>
#include <omronsentech_camera/EnableTrigger.h>
#include <omronsentech_camera/SendSoftTrigger.h>
Include dependency graph for grabber.cpp:

Go to the source code of this file.

Macros

#define MAX_GRABBED   10
 
#define SERVER_NODE   "stcamera_node"
 
#define TRIGGER_SELECTOR   "FrameStart"
 
#define TRIGGER_SOURCE   "Software"
 

Functions

void displaySDKInfo (ros::NodeHandle &n)
 
std::string getConnectedDeviceNamespace (ros::NodeHandle &n)
 
int getGain (ros::NodeHandle &n, std::string dev_ns, double &value, double &value_min, double &value_max)
 
int getLastError (ros::NodeHandle &n, std::string dev_ns)
 
void imageCallback (const sensor_msgs::ImageConstPtr &msg)
 
bool isImageAcquisitionEnabled (ros::NodeHandle &n, std::string dev_ns)
 
int main (int argc, char **argv)
 
int sendTrigger (ros::NodeHandle &n, std::string dev_ns)
 
int setGain (ros::NodeHandle &n, std::string dev_ns, double value)
 
int setImageAcquisition (ros::NodeHandle &n, std::string dev_ns, bool enabled)
 
int setTrigger (ros::NodeHandle &n, std::string dev_ns, bool enabled)
 

Variables

int grabbed_images = 0
 

Macro Definition Documentation

#define MAX_GRABBED   10

Definition at line 45 of file grabber.cpp.

#define SERVER_NODE   "stcamera_node"

Definition at line 44 of file grabber.cpp.

#define TRIGGER_SELECTOR   "FrameStart"

Definition at line 46 of file grabber.cpp.

#define TRIGGER_SOURCE   "Software"

Definition at line 47 of file grabber.cpp.

Function Documentation

void displaySDKInfo ( ros::NodeHandle n)

Definition at line 51 of file grabber.cpp.

std::string getConnectedDeviceNamespace ( ros::NodeHandle n)

Definition at line 76 of file grabber.cpp.

int getGain ( ros::NodeHandle n,
std::string  dev_ns,
double &  value,
double &  value_min,
double &  value_max 
)

Definition at line 122 of file grabber.cpp.

int getLastError ( ros::NodeHandle n,
std::string  dev_ns 
)

Definition at line 93 of file grabber.cpp.

void imageCallback ( const sensor_msgs::ImageConstPtr &  msg)

Definition at line 143 of file grabber.cpp.

bool isImageAcquisitionEnabled ( ros::NodeHandle n,
std::string  dev_ns 
)

Definition at line 152 of file grabber.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 220 of file grabber.cpp.

int sendTrigger ( ros::NodeHandle n,
std::string  dev_ns 
)

Definition at line 203 of file grabber.cpp.

int setGain ( ros::NodeHandle n,
std::string  dev_ns,
double  value 
)

Definition at line 107 of file grabber.cpp.

int setImageAcquisition ( ros::NodeHandle n,
std::string  dev_ns,
bool  enabled 
)

Definition at line 168 of file grabber.cpp.

int setTrigger ( ros::NodeHandle n,
std::string  dev_ns,
bool  enabled 
)

Definition at line 184 of file grabber.cpp.

Variable Documentation

int grabbed_images = 0

Definition at line 48 of file grabber.cpp.



omronsentech_camera
Author(s): OSE ROS Support
autogenerated on Tue Jul 2 2019 19:28:17