Namespaces | Classes | Enumerations | Functions | Variables
psen_scan_v2_standalone::configuration Namespace Reference

Namespace for configuration defaults and definitions. More...

Namespaces

 xml_config_parsing
 Namespace for parsing xml configuration files exported from the psenScan Configurator.
 

Classes

class  ZoneSet
 A set of simultanously active zones. More...
 
class  ZoneSetConfiguration
 
class  ZoneSetSpeedRange
 The speedrange at which a ZoneSet is active. More...
 
class  ZoneSetSpeedRangeException
 

Enumerations

enum  ScannerId : uint8_t { ScannerId::master = 0, ScannerId::subscriber0 = 1, ScannerId::subscriber1 = 2, ScannerId::subscriber2 = 3 }
 

Functions

static constexpr double DEFAULT_ANGLE_END (data_conversion_layer::degreeToRadian(137.4))
 End angle of measurement. More...
 
static constexpr double DEFAULT_ANGLE_START (-data_conversion_layer::degreeToRadian(137.4))
 Start angle of measurement. More...
 
static constexpr double DEFAULT_SCAN_ANGLE_RESOLUTION (data_conversion_layer::degreeToRadian(0.1))
 
static const util::TenthOfDegree DEFAULT_ZONESET_ANGLE_STEP (5)
 
static ScannerId subscriber_number_to_scanner_id (uint8_t nr)
 

Variables

static constexpr unsigned short CONTROL_PORT_OF_HOST_DEVICE { 55116 }
 
static constexpr unsigned short CONTROL_PORT_OF_SCANNER_DEVICE { 3000 }
 
static constexpr unsigned short DATA_PORT_OF_HOST_DEVICE { 55115 }
 
static constexpr unsigned short DATA_PORT_OF_SCANNER_DEVICE { 2000 }
 
static const std::string DEFAULT_HOST_IP_STRING { "auto" }
 
static constexpr bool DIAGNOSTICS { false }
 
static constexpr bool FRAGMENTED_SCANS { false }
 
static constexpr bool INTENSITIES { false }
 
static const int MAX_NR_SUBSCRIBERS = VALID_SCANNER_IDS.size() - 1
 
static constexpr unsigned short NR_SUBSCRIBERS { 0 }
 
static constexpr double RANGE_MAX_IN_M { 40. }
 
static constexpr double RANGE_MIN_IN_M { 0.05 }
 
static const std::map< ScannerId, std::string > SCANNER_ID_TO_STRING
 
static constexpr double TIME_PER_SCAN_IN_S { 0.03 }
 
static constexpr std::array< ScannerId, 4 > VALID_SCANNER_IDS
 

Detailed Description

Namespace for configuration defaults and definitions.

Enumeration Type Documentation

◆ ScannerId

Enumerator
master 
subscriber0 
subscriber1 
subscriber2 

Definition at line 27 of file scanner_ids.h.

Function Documentation

◆ DEFAULT_ANGLE_END()

static constexpr double psen_scan_v2_standalone::configuration::DEFAULT_ANGLE_END ( data_conversion_layer::degreeToRadian(137.4)  )
staticconstexpr

End angle of measurement.

◆ DEFAULT_ANGLE_START()

static constexpr double psen_scan_v2_standalone::configuration::DEFAULT_ANGLE_START ( data_conversion_layer::degreeToRadian137.4)
staticconstexpr

Start angle of measurement.

◆ DEFAULT_SCAN_ANGLE_RESOLUTION()

static constexpr double psen_scan_v2_standalone::configuration::DEFAULT_SCAN_ANGLE_RESOLUTION ( data_conversion_layer::degreeToRadian(0.1)  )
staticconstexpr

◆ DEFAULT_ZONESET_ANGLE_STEP()

static const util::TenthOfDegree psen_scan_v2_standalone::configuration::DEFAULT_ZONESET_ANGLE_STEP ( )
static

◆ subscriber_number_to_scanner_id()

static ScannerId psen_scan_v2_standalone::configuration::subscriber_number_to_scanner_id ( uint8_t  nr)
inlinestatic

Definition at line 42 of file scanner_ids.h.

Variable Documentation

◆ CONTROL_PORT_OF_HOST_DEVICE

constexpr unsigned short psen_scan_v2_standalone::configuration::CONTROL_PORT_OF_HOST_DEVICE { 55116 }
staticconstexpr

Definition at line 33 of file default_parameters.h.

◆ CONTROL_PORT_OF_SCANNER_DEVICE

constexpr unsigned short psen_scan_v2_standalone::configuration::CONTROL_PORT_OF_SCANNER_DEVICE { 3000 }
staticconstexpr

Definition at line 30 of file default_parameters.h.

◆ DATA_PORT_OF_HOST_DEVICE

constexpr unsigned short psen_scan_v2_standalone::configuration::DATA_PORT_OF_HOST_DEVICE { 55115 }
staticconstexpr

Definition at line 32 of file default_parameters.h.

◆ DATA_PORT_OF_SCANNER_DEVICE

constexpr unsigned short psen_scan_v2_standalone::configuration::DATA_PORT_OF_SCANNER_DEVICE { 2000 }
staticconstexpr

Definition at line 29 of file default_parameters.h.

◆ DEFAULT_HOST_IP_STRING

const std::string psen_scan_v2_standalone::configuration::DEFAULT_HOST_IP_STRING { "auto" }
static

Definition at line 27 of file default_parameters.h.

◆ DIAGNOSTICS

constexpr bool psen_scan_v2_standalone::configuration::DIAGNOSTICS { false }
staticconstexpr

Definition at line 37 of file default_parameters.h.

◆ FRAGMENTED_SCANS

constexpr bool psen_scan_v2_standalone::configuration::FRAGMENTED_SCANS { false }
staticconstexpr

Definition at line 35 of file default_parameters.h.

◆ INTENSITIES

constexpr bool psen_scan_v2_standalone::configuration::INTENSITIES { false }
staticconstexpr

Definition at line 36 of file default_parameters.h.

◆ MAX_NR_SUBSCRIBERS

const int psen_scan_v2_standalone::configuration::MAX_NR_SUBSCRIBERS = VALID_SCANNER_IDS.size() - 1
static

Definition at line 40 of file scanner_ids.h.

◆ NR_SUBSCRIBERS

constexpr unsigned short psen_scan_v2_standalone::configuration::NR_SUBSCRIBERS { 0 }
staticconstexpr

Definition at line 50 of file default_parameters.h.

◆ RANGE_MAX_IN_M

constexpr double psen_scan_v2_standalone::configuration::RANGE_MAX_IN_M { 40. }
staticconstexpr

Definition at line 48 of file default_parameters.h.

◆ RANGE_MIN_IN_M

constexpr double psen_scan_v2_standalone::configuration::RANGE_MIN_IN_M { 0.05 }
staticconstexpr

Definition at line 47 of file default_parameters.h.

◆ SCANNER_ID_TO_STRING

const std::map<ScannerId, std::string> psen_scan_v2_standalone::configuration::SCANNER_ID_TO_STRING
static
Initial value:
{ { ScannerId::master, "Master" },
{ ScannerId::subscriber0, "Subscriber0" },
{ ScannerId::subscriber1, "Subscriber1" },
{ ScannerId::subscriber2, "Subscriber2" } }

Definition at line 47 of file scanner_ids.h.

◆ TIME_PER_SCAN_IN_S

constexpr double psen_scan_v2_standalone::configuration::TIME_PER_SCAN_IN_S { 0.03 }
staticconstexpr

Definition at line 45 of file default_parameters.h.

◆ VALID_SCANNER_IDS

constexpr std::array<ScannerId, 4> psen_scan_v2_standalone::configuration::VALID_SCANNER_IDS
staticconstexpr
Initial value:
{ ScannerId::master,
ScannerId::subscriber0,
ScannerId::subscriber1,
ScannerId::subscriber2 }

Definition at line 35 of file scanner_ids.h.



psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:12