Visual Servoing Platform  version 3.3.0 under development (2020-02-17)
vpLaserScanner Class Reference

#include <visp3/sensor/vpLaserScanner.h>

+ Inheritance diagram for vpLaserScanner:

Public Member Functions

 vpLaserScanner ()
 
 vpLaserScanner (const vpLaserScanner &scanner)
 
virtual ~vpLaserScanner ()
 
void setIpAddress (std::string ip_address)
 
void setPort (int com_port)
 

Protected Attributes

std::string ip
 
int port
 

Detailed Description

Class that defines a generic laser scanner.

Definition at line 57 of file vpLaserScanner.h.

Constructor & Destructor Documentation

◆ vpLaserScanner() [1/2]

vpLaserScanner::vpLaserScanner ( )
inline

Default constructor that initialize all the internal variable to zero.

Definition at line 62 of file vpLaserScanner.h.

◆ vpLaserScanner() [2/2]

vpLaserScanner::vpLaserScanner ( const vpLaserScanner scanner)
inline

Copy constructor.

Definition at line 64 of file vpLaserScanner.h.

◆ ~vpLaserScanner()

virtual vpLaserScanner::~vpLaserScanner ( )
inlinevirtual

Default destructor that does nothing.

Definition at line 66 of file vpLaserScanner.h.

Member Function Documentation

◆ setIpAddress()

void vpLaserScanner::setIpAddress ( std::string  ip_address)
inline

Set the Ethernet address of the laser.

Examples:
SickLDMRS-Acq.cpp, and SickLDMRS-Process.cpp.

Definition at line 69 of file vpLaserScanner.h.

Referenced by vpSickLDMRS::setup().

◆ setPort()

void vpLaserScanner::setPort ( int  com_port)
inline

Set the communication port.

Definition at line 72 of file vpLaserScanner.h.

Referenced by vpSickLDMRS::setup().

Member Data Documentation

◆ ip

std::string vpLaserScanner::ip
protected

Definition at line 72 of file vpLaserScanner.h.

Referenced by vpSickLDMRS::setup(), and vpSickLDMRS::vpSickLDMRS().

◆ port

int vpLaserScanner::port
protected

Definition at line 76 of file vpLaserScanner.h.

Referenced by vpSickLDMRS::setup(), and vpSickLDMRS::vpSickLDMRS().