Public Member Functions | Private Member Functions | Private Attributes
asr_sick_lms_400::asr_sick_lms_400 Class Reference

#include <sick_lms400.h>

List of all members.

Public Member Functions

 asr_sick_lms_400 ()
 asr_sick_lms_400 (const char *host, int port, int debug_mode)
int Connect ()
int Disconnect ()
int EnableFilters (int filter_mask)
int EnableRIS (int onoff)
int GetMACAddress (char **macadress)
unsigned char * ParseIP (char *ip)
int ReadAnswer ()
int ReadConfirmationAndAnswer ()
sensor_msgs::LaserScan ReadMeasurement ()
int ReadResult ()
int ResetDevice ()
int SendCommand (const char *cmd)
int SetAngularResolution (const char *password, float ang_res, float angle_start, float angle_range)
int SetGateway (char *gw)
int SetIP (char *ip)
int SetMeanFilterParameters (int num_scans)
int SetNetmask (char *mask)
int SetPort (uint16_t port)
int SetRangeFilterParameters (float range_min, float range_max)
int SetResolutionAndFrequency (float freq, float ang_res, float angle_start, float angle_range)
int SetScanningFrequency (const char *password, float freq, float angle_start, float angle_range)
int SetUserLevel (int8_t userlevel, const char *password)
int StartMeasurement (bool intensity=true)
int StopMeasurement ()
int TerminateConfiguration ()

Private Member Functions

int AssembleCommand (unsigned char *command, int len)

Private Attributes

unsigned char buffer_ [4096]
unsigned int bufferlength_
unsigned char command_ [BUF_SIZE]
int commandlength_
int ExtendedRIS_
int FilterMask_
const char * hostname_
int MeanFilterNumScans_
std::vector
< MeasurementQueueElement_t > * 
MeasurementQueue_
int n_
int portno_
float RangeFilterBottomLimit_
float RangeFilterTopLimit_
long int resolution_
long int scanning_frequency_
struct sockaddr_in serv_addr_
struct hostent * server_
int sockfd_
int verbose_

Detailed Description

Definition at line 64 of file sick_lms400.h.


Constructor & Destructor Documentation

Definition at line 67 of file sick_lms400.h.

asr_sick_lms_400::asr_sick_lms_400::asr_sick_lms_400 ( const char *  host,
int  port,
int  debug_mode 
)

Definition at line 40 of file sick_lms400.cpp.


Member Function Documentation

int asr_sick_lms_400::asr_sick_lms_400::AssembleCommand ( unsigned char *  command,
int  len 
) [private]

Definition at line 624 of file sick_lms400.cpp.

Definition at line 53 of file sick_lms400.cpp.

Definition at line 99 of file sick_lms400.cpp.

Definition at line 153 of file sick_lms400.cpp.

Definition at line 107 of file sick_lms400.cpp.

Definition at line 196 of file sick_lms400.cpp.

unsigned char * asr_sick_lms_400::asr_sick_lms_400::ParseIP ( char *  ip)

Definition at line 168 of file sick_lms400.cpp.

Definition at line 604 of file sick_lms400.cpp.

Definition at line 612 of file sick_lms400.cpp.

Definition at line 387 of file sick_lms400.cpp.

Definition at line 535 of file sick_lms400.cpp.

Definition at line 286 of file sick_lms400.cpp.

Definition at line 519 of file sick_lms400.cpp.

int asr_sick_lms_400::asr_sick_lms_400::SetAngularResolution ( const char *  password,
float  ang_res,
float  angle_start,
float  angle_range 
)

Definition at line 308 of file sick_lms400.cpp.

Definition at line 241 of file sick_lms400.cpp.

Definition at line 225 of file sick_lms400.cpp.

Definition at line 122 of file sick_lms400.cpp.

Definition at line 257 of file sick_lms400.cpp.

Definition at line 273 of file sick_lms400.cpp.

int asr_sick_lms_400::asr_sick_lms_400::SetRangeFilterParameters ( float  range_min,
float  range_max 
)

Definition at line 137 of file sick_lms400.cpp.

int asr_sick_lms_400::asr_sick_lms_400::SetResolutionAndFrequency ( float  freq,
float  ang_res,
float  angle_start,
float  angle_range 
)

Definition at line 336 of file sick_lms400.cpp.

int asr_sick_lms_400::asr_sick_lms_400::SetScanningFrequency ( const char *  password,
float  freq,
float  angle_start,
float  angle_range 
)

Definition at line 322 of file sick_lms400.cpp.

int asr_sick_lms_400::asr_sick_lms_400::SetUserLevel ( int8_t  userlevel,
const char *  password 
)

Definition at line 185 of file sick_lms400.cpp.

Definition at line 371 of file sick_lms400.cpp.

Definition at line 507 of file sick_lms400.cpp.

Definition at line 297 of file sick_lms400.cpp.


Member Data Documentation

unsigned char asr_sick_lms_400::asr_sick_lms_400::buffer_[4096] [private]

Definition at line 133 of file sick_lms400.h.

Definition at line 134 of file sick_lms400.h.

Definition at line 137 of file sick_lms400.h.

Definition at line 138 of file sick_lms400.h.

Definition at line 124 of file sick_lms400.h.

Definition at line 128 of file sick_lms400.h.

Definition at line 113 of file sick_lms400.h.

Definition at line 125 of file sick_lms400.h.

Definition at line 139 of file sick_lms400.h.

Definition at line 114 of file sick_lms400.h.

Definition at line 114 of file sick_lms400.h.

Definition at line 127 of file sick_lms400.h.

Definition at line 126 of file sick_lms400.h.

Definition at line 130 of file sick_lms400.h.

Definition at line 130 of file sick_lms400.h.

struct sockaddr_in asr_sick_lms_400::asr_sick_lms_400::serv_addr_ [private]

Definition at line 115 of file sick_lms400.h.

Definition at line 119 of file sick_lms400.h.

Definition at line 114 of file sick_lms400.h.

Definition at line 123 of file sick_lms400.h.


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


asr_sick_lms_400
Author(s): Aumann Florian, Krehl Yann, Mei├čner Pascal
autogenerated on Thu Jun 6 2019 18:11:42