src
laserscan.cpp
Go to the documentation of this file.
1
// Copyright (c) 2019 Pilz GmbH & Co. KG
2
//
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU Lesser General Public License as published by
5
// the Free Software Foundation, either version 3 of the License, or
6
// (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public License
14
// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16
#include <
psen_scan/laserscan.h
>
17
18
namespace
psen_scan
19
{
27
LaserScan::LaserScan
(
const
PSENscanInternalAngle
& resolution,
28
const
PSENscanInternalAngle
& min_scan_angle,
29
const
PSENscanInternalAngle
& max_scan_angle)
30
: resolution_(resolution), min_scan_angle_(min_scan_angle), max_scan_angle_(max_scan_angle)
31
{
32
measures_
.clear();
33
}
34
35
}
// namespace psen_scan
laserscan.h
psen_scan::LaserScan::measures_
std::vector< uint16_t > measures_
Definition:
laserscan.h:36
psen_scan::PSENscanInternalAngle
Class to model angles in PSENscan internal format (tenth of degrees)
Definition:
psen_scan_internal_angle.h:55
psen_scan
Definition:
build_ros_message_exception.h:21
psen_scan::LaserScan::LaserScan
LaserScan(const PSENscanInternalAngle &resolution, const PSENscanInternalAngle &min_scan_angle, const PSENscanInternalAngle &max_scan_angle)
Construct a new Laser Scan object.
Definition:
laserscan.cpp:27
psen_scan
Author(s):
autogenerated on Mon Feb 28 2022 23:16:20