$search

sick_lms400::SickLMS400 Class Reference

#include <sick_lms400.h>

List of all members.

Public Member Functions

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)
 SickLMS400 (const char *host, int port, int debug_mode)
 SickLMS400 ()
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

sick_lms400::SickLMS400::SickLMS400 (  )  [inline]

Definition at line 67 of file sick_lms400.h.

sick_lms400::SickLMS400::SickLMS400 ( const char *  host,
int  port,
int  debug_mode 
)

Definition at line 40 of file sick_lms400.cpp.


Member Function Documentation

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

Definition at line 624 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::Connect (  ) 

Definition at line 53 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::Disconnect (  ) 

Definition at line 99 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::EnableFilters ( int  filter_mask  ) 

Definition at line 153 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::EnableRIS ( int  onoff  ) 

Definition at line 107 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::GetMACAddress ( char **  macadress  ) 

Definition at line 196 of file sick_lms400.cpp.

unsigned char * sick_lms400::SickLMS400::ParseIP ( char *  ip  ) 

Definition at line 168 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::ReadAnswer (  ) 

Definition at line 604 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::ReadConfirmationAndAnswer (  ) 

Definition at line 612 of file sick_lms400.cpp.

sensor_msgs::LaserScan sick_lms400::SickLMS400::ReadMeasurement (  ) 

Definition at line 387 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::ReadResult (  ) 

Definition at line 535 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::ResetDevice (  ) 

Definition at line 286 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SendCommand ( const char *  cmd  ) 

Definition at line 519 of file sick_lms400.cpp.

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

Definition at line 308 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SetGateway ( char *  gw  ) 

Definition at line 241 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SetIP ( char *  ip  ) 

Definition at line 225 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SetMeanFilterParameters ( int  num_scans  ) 

Definition at line 122 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SetNetmask ( char *  mask  ) 

Definition at line 257 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SetPort ( uint16_t  port  ) 

Definition at line 273 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SetRangeFilterParameters ( float  range_min,
float  range_max 
)

Definition at line 137 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::SetResolutionAndFrequency ( float  freq,
float  ang_res,
float  angle_start,
float  angle_range 
)

Definition at line 336 of file sick_lms400.cpp.

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

Definition at line 322 of file sick_lms400.cpp.

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

Definition at line 185 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::StartMeasurement ( bool  intensity = true  ) 

Definition at line 371 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::StopMeasurement (  ) 

Definition at line 507 of file sick_lms400.cpp.

int sick_lms400::SickLMS400::TerminateConfiguration (  ) 

Definition at line 297 of file sick_lms400.cpp.


Member Data Documentation

unsigned char sick_lms400::SickLMS400::buffer_[4096] [private]

Definition at line 133 of file sick_lms400.h.

Definition at line 134 of file sick_lms400.h.

unsigned char sick_lms400::SickLMS400::command_[BUF_SIZE] [private]

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.

const char* sick_lms400::SickLMS400::hostname_ [private]

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 sick_lms400::SickLMS400::serv_addr_ [private]

Definition at line 115 of file sick_lms400.h.

struct hostent* sick_lms400::SickLMS400::server_ [private]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


sick_lms400
Author(s): Radu Bogdan Rusu (rusu@cs.tum.edu), Dejan Pangercic (dejan.pangercic@cs.tum.edu)
autogenerated on Tue Dec 4 10:17:07 2012