Go to the documentation of this file.
42 usingTopic(getProperty<std::string>(
"SensorTopicName").getValue());
43 offeringTopic(getProperty<std::string>(
"DebugDrawerTopic").getValue());
50 debugDrawerPrx = getTopic<DebugDrawerInterfacePrx>(getProperty<std::string>(
"DebugDrawerTopic").getValue());
60 void OrientedTactileSensorUnitObserver::reportSensorValues(
int id,
float pressure,
float qw,
float qx,
float qy,
float qz,
float pressureRate,
float rotationRate,
float accelerationRate,
float accelx,
float accely,
float accelz,
const TimestampBasePtr& timestamp,
const Ice::Current&)
62 std::unique_lock lock(dataMutex);
67 std::string channelName = ss.str();
The Variant class is described here: Variants.
PropertyDefinitionsPtr createPropertyDefinitions() override
bool offerOrUpdateDataField(std::string channelName, std::string datafieldName, const Variant &value, const std::string &description)
bool existsChannel(const std::string &channelName) const
const VariantTypeId Quaternion
void onConnectObserver() override
Framework hook.
void usingTopic(const std::string &name, bool orderedPublishing=false)
Registers a proxy for subscription after initialization.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
void onExitObserver() override
Framework hook.
void offeringTopic(const std::string &name)
Registers a topic for retrival after initialization.
void onInitObserver() override
Framework hook.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
void reportSensorValues(int id, float pressure, float qw, float qx, float qy, float qz, float pressureRate, float rotationRate, float accelerationRate, float accelx, float accely, float accelz, const TimestampBasePtr ×tamp, const Ice::Current &) override
This file offers overloads of toIce() and fromIce() functions for STL container types.
void offerChannel(std::string channelName, std::string description)
Offer a channel.