Classes | Macros | Functions | Variables
sick_scan_test.cpp File Reference
#include "boost/filesystem.hpp"
#include <boost/regex.hpp>
#include <boost/algorithm/string.hpp>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <sys/wait.h>
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include "sick_scan/sick_generic_laser.h"
#include <ros/console.h>
#include "tinystr.h"
#include "tinyxml.h"
Include dependency graph for sick_scan_test.cpp:

Go to the source code of this file.

Classes

class  paramEntryAscii
 

Macros

#define MAX_NAME_LEN   (1024)
 
#define SICK_SCAN_TEST_MAJOR_VER   "001"
 
#define SICK_SCAN_TEST_MINOR_VER   "000"
 
#define SICK_SCAN_TEST_PATCH_LEVEL   "000"
 
#define WIN32_LEAN_AND_MEAN
 

Functions

void cloud_callback (const sensor_msgs::PointCloud2ConstPtr &cloud_msg)
 
void createPrefixFromExeName (std::string exeName, std::string &prefix)
 
int createTestLaunchFile (std::string launchFileFullName, std::vector< paramEntryAscii > entryList, std::string &testLaunchFile)
 
bool getPackageRootFolder (std::string exePath, std::string &packageRootFolder)
 
std::vector< paramEntryAsciigetParamList (TiXmlNode *paramList)
 
pid_t launchRosFile (std::string cmdLine)
 
int main (int argc, char **argv)
 Startup routine. More...
 
void processLaserScan (const sensor_msgs::LaserScan::ConstPtr &scan)
 
void replaceParamList (TiXmlNode *node, std::vector< paramEntryAscii > paramOrgList)
 
void searchForXmlFileInPathList (std::string pathList, std::string &packagePath, std::string xmlFileName)
 
int startCallbackTest (int argc, char **argv)
 
void sudokill (pid_t tokill)
 

Variables

int callbackCnt = 0
 
int callbackScanCnt = 0
 
int cloud_height = 0
 
int cloud_width = 0
 
float ERR_CONST = -1E3
 
double intensityStdDev = 0.0
 
pid_t pid
 
float range_max = -1E3
 
float range_min = -1E3
 
double rangeStdDev = 0.0
 
float scan_angle_increment = -1E3
 
float scan_angle_max = -1E3
 
float scan_angle_min = -1E3
 
float scan_time_increment = -1E3
 

Macro Definition Documentation

◆ MAX_NAME_LEN

#define MAX_NAME_LEN   (1024)

Definition at line 74 of file sick_scan_test.cpp.

◆ SICK_SCAN_TEST_MAJOR_VER

#define SICK_SCAN_TEST_MAJOR_VER   "001"

Definition at line 77 of file sick_scan_test.cpp.

◆ SICK_SCAN_TEST_MINOR_VER

#define SICK_SCAN_TEST_MINOR_VER   "000"

Definition at line 78 of file sick_scan_test.cpp.

◆ SICK_SCAN_TEST_PATCH_LEVEL

#define SICK_SCAN_TEST_PATCH_LEVEL   "000"

Definition at line 79 of file sick_scan_test.cpp.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 43 of file sick_scan_test.cpp.

Function Documentation

◆ cloud_callback()

void cloud_callback ( const sensor_msgs::PointCloud2ConstPtr &  cloud_msg)

Definition at line 411 of file sick_scan_test.cpp.

◆ createPrefixFromExeName()

void createPrefixFromExeName ( std::string  exeName,
std::string &  prefix 
)

Definition at line 557 of file sick_scan_test.cpp.

◆ createTestLaunchFile()

int createTestLaunchFile ( std::string  launchFileFullName,
std::vector< paramEntryAscii entryList,
std::string &  testLaunchFile 
)

Definition at line 349 of file sick_scan_test.cpp.

◆ getPackageRootFolder()

bool getPackageRootFolder ( std::string  exePath,
std::string &  packageRootFolder 
)

Definition at line 604 of file sick_scan_test.cpp.

◆ getParamList()

std::vector<paramEntryAscii> getParamList ( TiXmlNode paramList)

Definition at line 191 of file sick_scan_test.cpp.

◆ launchRosFile()

pid_t launchRosFile ( std::string  cmdLine)

Definition at line 308 of file sick_scan_test.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Startup routine.

Parameters
argcNumber of Arguments
argvArgument variable
Returns
exit-code

Definition at line 641 of file sick_scan_test.cpp.

◆ processLaserScan()

void processLaserScan ( const sensor_msgs::LaserScan::ConstPtr &  scan)

Definition at line 517 of file sick_scan_test.cpp.

◆ replaceParamList()

void replaceParamList ( TiXmlNode node,
std::vector< paramEntryAscii paramOrgList 
)

Definition at line 281 of file sick_scan_test.cpp.

◆ searchForXmlFileInPathList()

void searchForXmlFileInPathList ( std::string  pathList,
std::string &  packagePath,
std::string  xmlFileName 
)

Definition at line 580 of file sick_scan_test.cpp.

◆ startCallbackTest()

int startCallbackTest ( int  argc,
char **  argv 
)

Definition at line 532 of file sick_scan_test.cpp.

◆ sudokill()

void sudokill ( pid_t  tokill)

Definition at line 183 of file sick_scan_test.cpp.

Variable Documentation

◆ callbackCnt

int callbackCnt = 0

Definition at line 402 of file sick_scan_test.cpp.

◆ callbackScanCnt

int callbackScanCnt = 0

Definition at line 408 of file sick_scan_test.cpp.

◆ cloud_height

int cloud_height = 0

Definition at line 401 of file sick_scan_test.cpp.

◆ cloud_width

int cloud_width = 0

Definition at line 400 of file sick_scan_test.cpp.

◆ ERR_CONST

float ERR_CONST = -1E3

Definition at line 508 of file sick_scan_test.cpp.

◆ intensityStdDev

double intensityStdDev = 0.0

Definition at line 403 of file sick_scan_test.cpp.

◆ pid

pid_t pid

Definition at line 306 of file sick_scan_test.cpp.

◆ range_max

float range_max = -1E3

Definition at line 514 of file sick_scan_test.cpp.

◆ range_min

float range_min = -1E3

Definition at line 513 of file sick_scan_test.cpp.

◆ rangeStdDev

double rangeStdDev = 0.0

Definition at line 404 of file sick_scan_test.cpp.

◆ scan_angle_increment

float scan_angle_increment = -1E3

Definition at line 512 of file sick_scan_test.cpp.

◆ scan_angle_max

float scan_angle_max = -1E3

Definition at line 510 of file sick_scan_test.cpp.

◆ scan_angle_min

float scan_angle_min = -1E3

Definition at line 509 of file sick_scan_test.cpp.

◆ scan_time_increment

float scan_time_increment = -1E3

Definition at line 511 of file sick_scan_test.cpp.



sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19