35 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_FIELDDATA_H 36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_FIELDDATA_H 42 namespace datastructure {
344 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_FIELDDATA_H
bool m_is_protective_field
FieldData()
The constructor of the field data.
void setNameLength(const uint32_t &name_length)
Sets the length of the field name.
std::string m_version_c_version
void setMultiSampling(const uint16_t &multi_sampling)
Sets the configured multiple sampling of the field.
uint8_t m_version_release_number
float getStartAngle() const
Get the start angle of the scan.
uint16_t getFieldSetIndex() const
Returns the index of the field set the field belongs to.
void setEvalMethod(const uint8_t &eval_method)
Sets the configured eval method.
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
void setIsValid(bool is_valid)
Sets if the field data is valid.
bool getIsProtectiveField() const
Returns if a field is a protective field.
uint16_t m_object_resolution
void setIsDefined(bool is_defined)
Sets if the field data is defined.
void setStartAngleDegrees(const float &start_angle)
Set the start angle of the scan from degrees.
std::vector< uint16_t > getBeamDistances() const
Returns vector with beam distances.
Field data for warning and protective fields.
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
float getEndAngle() const
Get the end angle of the scan.
void setIsProtectiveField(bool is_protective_field)
Set if a field is protective field.
std::string getVersionCVersion() const
Gets the version indicator for the scanner.
void setEndAngle(const int32_t &end_angle)
Set the end angle of the scan.
const double m_ANGLE_RESOLUTION
Defined angle resolution to convert sensor input to the right frame.
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
uint16_t getMultiSampling() const
Returns the multiple sampling of the field.
void setAngularBeamResolutionDegrees(const float &angular_beam_resolution)
Set the angular resolution between beams from degrees.
std::vector< uint16_t > m_beam_distances
uint8_t getEvalMethod() const
Returns the configured eval method.
void setBeamDistances(const std::vector< uint16_t > &beam_distances)
Sets vector with beam distances for field.
uint8_t m_version_major_version_number
bool getIsDefined() const
Returns if the received field data is defined.
uint16_t m_field_set_index
float m_angular_beam_resolution
void setObjectResolution(const uint16_t &object_resolution)
Sets the configured object resolution.
uint16_t getObjectResolution() const
Returns the configured object resolution.
void setIsWarningField(bool is_warning_field)
Set if a field is a warning field.
std::string getFieldName() const
Gets the current field name.
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.
void setEndAngleDegrees(const float &end_angle)
Set the end angle of the scan from degrees.
bool getIsValid() const
Returns if the received field data is valid.
void setAngularBeamResolution(const int32_t &angular_beam_resolution)
Set the angular resolution between beams.
uint8_t m_version_minor_version_number
void setFieldName(const std::string &field_name)
Sets the field name.
void setFieldSetIndex(const uint16_t &field_set_index)
Sets the index of the field set where the field belongs to.
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
uint16_t m_multi_sampling
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
bool getIsWarningField() const
Returns if a field is warning field.
void setStartAngle(const int32_t &start_angle)
Set the start angle of the scan.
float getAngularBeamResolution() const
Returns the angular resolution between the beams.
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
uint32_t getNameLength() const
Gets the length of the field name.