27 #ifndef UR_CLIENT_LIBRARY_UR_CALIBRATION_CHECKER_H_INCLUDED 28 #define UR_CLIENT_LIBRARY_UR_CALIBRATION_CHECKER_H_INCLUDED 86 virtual bool consume(std::shared_ptr<primary_interface::PrimaryPackage> product);
104 #endif // ifndef UR_CLIENT_LIBRARY_UR_CALIBRATION_CHECKER_H_INCLUDED virtual bool consume(std::shared_ptr< primary_interface::PrimaryPackage > product)
Consumes a package, checking its hash if it is a KinematicsInfo package. If the hash does not match t...
virtual void stopConsumer()
Stops the consumer.
virtual void setupConsumer()
Empty setup function, as no setup is needed.
Parent class for for arbitrary consumers.
virtual void teardownConsumer()
Tears down the consumer.
virtual ~CalibrationChecker()=default
CalibrationChecker(const std::string &expected_hash)
Creates a new CalibrationChecker object with an expected hash calculated from the used kinematics...
virtual void onTimeout()
Handles timeouts.
std::string expected_hash_
bool isChecked()
Used to make sure the calibration check is not performed several times.
The CalibrationChecker class consumes primary packages ignoring all but KinematicsInfo packages...