include
psen_scan
laserscan.h
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
#ifndef PSEN_SCAN_LASERSCAN_H
17
#define PSEN_SCAN_LASERSCAN_H
18
19
#include <vector>
20
#include <cstdint>
21
#include <
psen_scan/psen_scan_internal_angle.h
>
22
23
namespace
psen_scan
24
{
29
typedef
struct
LaserScan
30
{
31
public
:
32
LaserScan
(
const
PSENscanInternalAngle
& resolution,
33
const
PSENscanInternalAngle
& min_scan_angle,
34
const
PSENscanInternalAngle
& max_scan_angle);
35
36
std::vector<uint16_t>
measures_
;
37
PSENscanInternalAngle
resolution_
;
38
PSENscanInternalAngle
const
min_scan_angle_
;
39
PSENscanInternalAngle
const
max_scan_angle_
;
40
}
LaserScan
;
41
}
// namespace psen_scan
42
43
#endif // PSEN_SCAN_LASERSCAN_H
psen_scan::LaserScan
Class to hold the data for one laserscan without depencies to ROS.
Definition:
laserscan.h:29
psen_scan::LaserScan::measures_
std::vector< uint16_t > measures_
Definition:
laserscan.h:36
psen_scan::LaserScan::min_scan_angle_
PSENscanInternalAngle const min_scan_angle_
Definition:
laserscan.h:38
psen_scan_internal_angle.h
psen_scan::LaserScan::max_scan_angle_
PSENscanInternalAngle const max_scan_angle_
Definition:
laserscan.h:39
psen_scan::LaserScan::resolution_
PSENscanInternalAngle resolution_
Definition:
laserscan.h:37
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