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>
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_;
40 } LaserScan;
41 } // namespace psen_scan
42 
43 #endif // PSEN_SCAN_LASERSCAN_H
Class to hold the data for one laserscan without depencies to ROS.
Definition: laserscan.h:29
std::vector< uint16_t > measures_
Definition: laserscan.h:36
PSENscanInternalAngle const min_scan_angle_
Definition: laserscan.h:38
PSENscanInternalAngle const max_scan_angle_
Definition: laserscan.h:39
PSENscanInternalAngle resolution_
Definition: laserscan.h:37
Class to model angles in PSENscan internal format (tenth of degrees)
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