Go to the documentation of this file.
27 #include <RobotAPI/interface/units/OptoForceUnit.h>
29 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
47 defineOptionalProperty<std::string>(
"OptoForceTopicName",
"OptoForceValues",
"Name of the OptoForce Topic");
48 defineOptionalProperty<std::string>(
"DebugDrawerTopic",
"DebugDrawerUpdates",
"Name of the DebugDrawerTopic");
63 virtual public OptoForceUnitObserverInterface
70 return "OptoForceUnitObserver";
76 void reportSensorValues(
const std::string& device,
const std::string& name,
float fx,
float fy,
float fz,
const TimestampBasePtr& timestamp,
const Ice::Current&
c = Ice::emptyCurrent)
override;
89 void offerValue(std::string device, std::string fieldName,
Vector3Ptr vec);
std::string getDefaultName() const override
Retrieve default name of component.
Observer monitoring @IMU sensor values.
Baseclass for all ArmarX Observers.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void onInitObserver() override
Framework hook.
void reportSensorValues(const std::string &device, const std::string &name, float fx, float fy, float fz, const TimestampBasePtr ×tamp, const Ice::Current &c=Ice::emptyCurrent) override
OptoForceUnitObserverPropertyDefinitions(std::string prefix)
void onConnectObserver() override
Framework hook.
PropertyDefinitionsPtr createPropertyDefinitions() override
void onExitObserver() override
Framework hook.
This file offers overloads of toIce() and fromIce() functions for STL container types.