default_parameters.h
Go to the documentation of this file.
1 // Copyright (c) 2020-2021 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_V2_STANDALONE_DEFAULT_PARAMETERS_H
17 #define PSEN_SCAN_V2_STANDALONE_DEFAULT_PARAMETERS_H
18 
21 
23 {
25 namespace configuration
26 {
27 static const std::string DEFAULT_HOST_IP_STRING{ "auto" };
28 
29 static constexpr unsigned short DATA_PORT_OF_SCANNER_DEVICE{ 2000 };
30 static constexpr unsigned short CONTROL_PORT_OF_SCANNER_DEVICE{ 3000 };
31 
32 static constexpr unsigned short DATA_PORT_OF_HOST_DEVICE{ 55115 };
33 static constexpr unsigned short CONTROL_PORT_OF_HOST_DEVICE{ 55116 };
34 
35 static constexpr bool FRAGMENTED_SCANS{ false };
36 static constexpr bool INTENSITIES{ false };
37 static constexpr bool DIAGNOSTICS{ false };
38 
40 static constexpr double DEFAULT_ANGLE_START(-data_conversion_layer::degreeToRadian(137.4));
42 static constexpr double DEFAULT_ANGLE_END(data_conversion_layer::degreeToRadian(137.4));
44 
45 static constexpr double TIME_PER_SCAN_IN_S{ 0.03 };
46 
47 static constexpr double RANGE_MIN_IN_M{ 0.05 };
48 static constexpr double RANGE_MAX_IN_M{ 40. };
49 
51 } // namespace configuration
52 
53 } // namespace psen_scan_v2_standalone
54 #endif // PSEN_SCAN_V2_STANDALONE_DEFAULT_PARAMETERS_H
static constexpr unsigned short DATA_PORT_OF_HOST_DEVICE
static constexpr double TIME_PER_SCAN_IN_S
static constexpr double degreeToRadian(const double &angle_in_degree)
static constexpr double DEFAULT_SCAN_ANGLE_RESOLUTION(data_conversion_layer::degreeToRadian(0.1))
static constexpr double DEFAULT_ANGLE_START(-data_conversion_layer::degreeToRadian(137.4))
Start angle of measurement.
static constexpr unsigned short CONTROL_PORT_OF_HOST_DEVICE
static constexpr unsigned short CONTROL_PORT_OF_SCANNER_DEVICE
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
Definition: udp_client.h:41
static const std::string DEFAULT_HOST_IP_STRING
static constexpr double DEFAULT_ANGLE_END(data_conversion_layer::degreeToRadian(137.4))
End angle of measurement.
static const util::TenthOfDegree DEFAULT_ZONESET_ANGLE_STEP(5)
static constexpr unsigned short DATA_PORT_OF_SCANNER_DEVICE
Helper class representing angles in tenth of degree.


psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 5 2022 02:13:36