Public Member Functions | Private Attributes
DavidService Class Reference

List of all members.

Public Member Functions

void connect2David ()
bool david (David::Request &request, David::Response &resp)
 DavidService (const ros::NodeHandle &node_handle)
void disconnect ()
void erase ()
void eraseTexture ()
void grabTexture ()
 Send command for: Grab Image for texture.
void init ()
void save (std::string arg)
void start ()
void stop ()
 ~DavidService ()

Private Attributes

std::string argument
char buffer [BUFFSIZE]
std::string david_ip
bool debug_out
unsigned int msglen
ros::NodeHandle node_handle_
std::string port_string
struct sockaddr_in server
ros::ServiceServer service_
int sock

Detailed Description

Definition at line 65 of file david.cpp.


Constructor & Destructor Documentation

DavidService::DavidService ( const ros::NodeHandle node_handle) [inline]

Definition at line 88 of file david.cpp.

Definition at line 240 of file david.cpp.


Member Function Documentation

void DavidService::connect2David ( ) [inline]

Connect to TCP2COM DAVID Server

Definition at line 207 of file david.cpp.

bool DavidService::david ( David::Request &  request,
David::Response &  resp 
) [inline]

Definition at line 249 of file david.cpp.

void DavidService::disconnect ( ) [inline]

Disconnect from Socket

Definition at line 234 of file david.cpp.

void DavidService::erase ( ) [inline]

Send command for: erase Scan

Definition at line 177 of file david.cpp.

void DavidService::eraseTexture ( ) [inline]

Send command for: erase Texture

Definition at line 192 of file david.cpp.

void DavidService::grabTexture ( ) [inline]

Send command for: Grab Image for texture.

Definition at line 139 of file david.cpp.

void DavidService::init ( ) [inline]

Reads IP address and port from ROS parameter in david.launch

Definition at line 98 of file david.cpp.

void DavidService::save ( std::string  arg) [inline]

Send command for: Save Scan

Definition at line 154 of file david.cpp.

void DavidService::start ( ) [inline]

Send command for: start scanning with DAVID

Definition at line 109 of file david.cpp.

void DavidService::stop ( ) [inline]

Send command for: stop scanning with DAVID

Definition at line 124 of file david.cpp.


Member Data Documentation

std::string DavidService::argument [private]

Definition at line 81 of file david.cpp.

char DavidService::buffer[BUFFSIZE] [private]

Definition at line 76 of file david.cpp.

std::string DavidService::david_ip [private]

Definition at line 78 of file david.cpp.

Definition at line 84 of file david.cpp.

unsigned int DavidService::msglen [private]

Definition at line 77 of file david.cpp.

Definition at line 69 of file david.cpp.

std::string DavidService::port_string [private]

Definition at line 80 of file david.cpp.

struct sockaddr_in DavidService::server [private]

Definition at line 75 of file david.cpp.

Definition at line 70 of file david.cpp.

int DavidService::sock [private]

Definition at line 73 of file david.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


david_laserscanner
Author(s): Andreas Holzbach, Dejan Pangercic
autogenerated on Thu May 23 2013 10:26:37