Go to the documentation of this file.
16 #ifndef PSEN_SCAN_V2_STANDALONE_MONITORING_FRAME_MSG_H
17 #define PSEN_SCAN_V2_STANDALONE_MONITORING_FRAME_MSG_H
24 #include <boost/optional.hpp>
33 namespace data_conversion_layer
42 namespace monitoring_frame
117 :
std::runtime_error(field_name +
" not set! (Contact PILZ support if the error persists.)")
124 #endif // PSEN_SCAN_V2_STANDALONE_MONITORING_FRAME_MSG_H
bool hasIOPinField() const
configuration::ScannerId scannerId() const
bool hasActiveZonesetField() const
configuration::ScannerId scanner_id_
Exception thrown if an additional field was missing during deserialization of a Message.
util::TenthOfDegree fromTheta() const
boost::optional< std::vector< diagnostic::Message > > diagnostic_messages_
Represents the IO PIN field of a monitoring frame.
boost::optional< std::vector< double > > intensities_
static constexpr std::array< ScannerId, 4 > VALID_SCANNER_IDS
MessageStamped(const Message &message, const int64_t timestamp)
boost::optional< uint32_t > scan_counter_
def message(msg, *args, **kwargs)
bool hasScanCounterField() const
bool hasDiagnosticMessagesField() const
bool hasMeasurementsField() const
const io::PinData & iOPinData() const
uint32_t scanCounter() const
Wrapping class for a Message and its corresponding timestamp.
std::vector< diagnostic::Message > diagnosticMessages() const
AdditionalFieldMissing(const std::string &field_name)
boost::optional< uint8_t > active_zoneset_
static constexpr uint8_t MAX_SCANNER_ID
boost::optional< std::vector< double > > measurements_
const std::vector< double > & intensities() const
util::TenthOfDegree from_theta_
const std::vector< double > & measurements() const
uint8_t activeZoneset() const
boost::optional< io::PinData > io_pin_data_
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
Higher level data type representing a single monitoring frame.
util::TenthOfDegree resolution() const
Helper class representing angles in tenth of degree.
util::TenthOfDegree resolution_
bool hasIntensitiesField() const
psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:11