35 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_FIELDDATA_H    36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_FIELDDATA_H    42 namespace datastructure {
   200 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_FIELDDATA_H 
bool m_is_protective_field
 
FieldData()
The constructor of the field data. 
 
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 setIsValid(bool is_valid)
Sets if the field data is valid. 
 
bool getIsProtectiveField() const 
Returns if a field is a protective field. 
 
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. 
 
float getEndAngle() const 
Get the end angle of the scan. 
 
void setIsProtectiveField(bool is_protective_field)
Set if a field is protective field. 
 
void setEndAngle(const int32_t &end_angle)
Set the end angle of the scan. 
 
const double ANGLE_RESOLUTION
Defined angle resolution to convert sensor input to the right frame. 
 
void setAngularBeamResolutionDegrees(const float &angular_beam_resolution)
Set the angular resolution between beams from degrees. 
 
std::vector< uint16_t > m_beam_distances
 
void setBeamDistances(const std::vector< uint16_t > &beam_distances)
Sets vector with beam distances for field. 
 
uint16_t m_field_set_index
 
float m_angular_beam_resolution
 
void setIsWarningField(bool is_warning_field)
Set if a field is a warning field. 
 
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. 
 
void setFieldSetIndex(uint16_t &field_set_index)
Sets the index of the field set where the field belongs to. 
 
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.