35 #include <sensor_msgs/LaserScan.h> 75 int SetAngularResolution (
const char* password,
float ang_res,
float angle_start,
float angle_range);
76 int SetScanningFrequency (
const char* password,
float freq,
float angle_start,
float angle_range);
77 int SetResolutionAndFrequency (
float freq,
float ang_res,
float angle_start,
float angle_range);
79 int StartMeasurement (
bool intensity =
true);
80 sensor_msgs::LaserScan ReadMeasurement ();
81 int StopMeasurement ();
83 int SetUserLevel (int8_t userlevel,
const char* password);
84 int GetMACAddress (
char** macadress);
87 int SetGateway (
char* gw);
88 int SetNetmask (
char* mask);
89 int SetPort (uint16_t port);
92 int TerminateConfiguration ();
94 int SendCommand (
const char* cmd);
99 int ReadConfirmationAndAnswer ();
101 int EnableRIS (
int onoff);
102 int SetMeanFilterParameters (
int num_scans);
103 int SetRangeFilterParameters (
float range_min,
float range_max);
104 int EnableFilters (
int filter_mask);
107 unsigned char* ParseIP (
char* ip);
111 int AssembleCommand (
unsigned char*
command,
int len);
115 struct sockaddr_in serv_addr_;
117 struct addrinfo *addr_ptr_;
133 unsigned char buffer_[4096];
ROSLIB_DECL std::string command(const std::string &cmd)
long int scanning_frequency_
unsigned int bufferlength_
float RangeFilterBottomLimit_
std::vector< MeasurementQueueElement_t > * MeasurementQueue_
float RangeFilterTopLimit_