#include <laserscanner_lms400.h>
Signals | |
void | newData (const sensor_msgs::LaserScan::ConstPtr &msg) |
Public Member Functions | |
LaserScanner_LMS400 (std::string hostname, int framerate) | |
void | run () |
void | stop () |
Protected Attributes | |
bool | active |
int | framerate |
std::string | hostname |
unsigned long | LMSError |
int | MQuality |
sensor_msgs::LaserScan::Ptr | msg_ptr |
float | real_angle_res |
float | real_scan_freq |
float | scanner_actual_resolution |
float | scanner_max_resolution |
asr_sick_lms_400::asr_sick_lms_400 | sickLMS400 |
int | Socket |
Static Protected Attributes | |
static constexpr float | SCANNER_ANGLE_SPREAD = 70 |
static constexpr float | SCANNER_STARTING_ANGLE = 55 |
static constexpr float | SCANNER_TARGET_RESOLUTION = 0.2 |
Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 27 of file laserscanner_lms400.h.
LaserScanner_LMS400::LaserScanner_LMS400 | ( | std::string | hostname, |
int | framerate | ||
) |
Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 31 of file laserscanner_lms400.cpp.
void LaserScanner_LMS400::newData | ( | const sensor_msgs::LaserScan::ConstPtr & | msg | ) | [signal] |
Reimplemented from Abstract_LaserScanner.
void LaserScanner_LMS400::run | ( | ) | [virtual] |
Implements Abstract_LaserScanner.
Definition at line 61 of file laserscanner_lms400.cpp.
void LaserScanner_LMS400::stop | ( | ) | [virtual] |
Implements Abstract_LaserScanner.
Definition at line 109 of file laserscanner_lms400.cpp.
bool LaserScanner_LMS400::active [protected] |
Definition at line 42 of file laserscanner_lms400.h.
int LaserScanner_LMS400::framerate [protected] |
Definition at line 41 of file laserscanner_lms400.h.
std::string LaserScanner_LMS400::hostname [protected] |
Definition at line 48 of file laserscanner_lms400.h.
unsigned long LaserScanner_LMS400::LMSError [protected] |
Definition at line 50 of file laserscanner_lms400.h.
int LaserScanner_LMS400::MQuality [protected] |
Definition at line 52 of file laserscanner_lms400.h.
sensor_msgs::LaserScan::Ptr LaserScanner_LMS400::msg_ptr [protected] |
Definition at line 39 of file laserscanner_lms400.h.
float LaserScanner_LMS400::real_angle_res [protected] |
Definition at line 51 of file laserscanner_lms400.h.
float LaserScanner_LMS400::real_scan_freq [protected] |
Definition at line 51 of file laserscanner_lms400.h.
float LaserScanner_LMS400::scanner_actual_resolution [protected] |
Definition at line 47 of file laserscanner_lms400.h.
constexpr float LaserScanner_LMS400::SCANNER_ANGLE_SPREAD = 70 [static, protected] |
Definition at line 45 of file laserscanner_lms400.h.
float LaserScanner_LMS400::scanner_max_resolution [protected] |
Definition at line 47 of file laserscanner_lms400.h.
constexpr float LaserScanner_LMS400::SCANNER_STARTING_ANGLE = 55 [static, protected] |
Definition at line 44 of file laserscanner_lms400.h.
constexpr float LaserScanner_LMS400::SCANNER_TARGET_RESOLUTION = 0.2 [static, protected] |
Definition at line 43 of file laserscanner_lms400.h.
asr_sick_lms_400::asr_sick_lms_400 LaserScanner_LMS400::sickLMS400 [protected] |
Definition at line 40 of file laserscanner_lms400.h.
int LaserScanner_LMS400::Socket [protected] |
Definition at line 49 of file laserscanner_lms400.h.