ConfigData.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
35 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_CONFIGDATA_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_CONFIGDATA_H
37 
38 #include <iostream>
39 #include <vector>
40 
41 namespace sick {
42 namespace datastructure {
43 
44 
49 {
50 public:
54  ConfigData();
55 
56 
61  float getStartAngle() const;
62 
67  void setStartAngle(const int32_t& start_angle);
68 
73  void setStartAngleDegrees(const float& start_angle);
74 
79  float getEndAngle() const;
80 
85  void setEndAngle(const int32_t& end_angle);
86 
91  void setEndAngleDegrees(const float& end_angle);
92 
97  float getAngularBeamResolution() const;
98 
103  void setAngularBeamResolution(const int32_t& angular_beam_resolution);
104 
109  void setAngularBeamResolutionDegrees(const float& angular_beam_resolution);
110 
111 private:
115  const double ANGLE_RESOLUTION = 4194304.0;
116 
118  float m_end_angle;
120 };
121 
122 
123 } // namespace datastructure
124 } // namespace sick
125 
126 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_CONFIGDATA_H
float getStartAngle() const
Get the start angle of the configuration.
Definition: ConfigData.cpp:42
void setAngularBeamResolution(const int32_t &angular_beam_resolution)
Set the angular resolution between beams.
Definition: ConfigData.cpp:77
void setStartAngleDegrees(const float &start_angle)
Set the start angle of the configuration from degrees.
Definition: ConfigData.cpp:52
ConfigData()
The constructor of the config data.
Definition: ConfigData.cpp:40
void setAngularBeamResolutionDegrees(const float &angular_beam_resolution)
Set the angular resolution between beams from degrees.
Definition: ConfigData.cpp:82
Config data for current and persistent sensor config.
Definition: ConfigData.h:48
void setStartAngle(const int32_t &start_angle)
Set the start angle of the configuration.
Definition: ConfigData.cpp:47
float getEndAngle() const
Get the end angle of the configuration.
Definition: ConfigData.cpp:57
float getAngularBeamResolution() const
Returns the angular resolution between the beams.
Definition: ConfigData.cpp:72
void setEndAngleDegrees(const float &end_angle)
Set the end angle of the configuration from degrees.
Definition: ConfigData.cpp:67
const double ANGLE_RESOLUTION
Defined angle resolution to convert sensor input to the right frame.
Definition: ConfigData.h:115
void setEndAngle(const int32_t &end_angle)
Set the end angle of the configuration.
Definition: ConfigData.cpp:62


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Thu May 9 2019 02:41:08