Go to the documentation of this file.
27 #include <RobotAPI/interface/units/InertialMeasurementUnit.h>
29 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
47 defineOptionalProperty<std::string>(
"IMUTopicName",
"IMUValues",
"Name of the IMU Topic.");
48 defineOptionalProperty<std::string>(
"DebugDrawerTopic",
"DebugDrawerUpdates",
"Name of the DebugDrawerTopic");
49 defineOptionalProperty<bool>(
"EnableVisualization",
true,
"Enable/Disable DebugDrawer visualizations");
64 virtual public InertialMeasurementUnitObserverInterface
71 return "InertialMeasurementUnitObserver";
77 void reportSensorValues(
const std::string& device,
const std::string& name,
const IMUData&
values,
const TimestampBasePtr& timestamp,
const Ice::Current&
c = Ice::emptyCurrent)
override;
90 void offerValue(
const std::string& device,
const std::string& fieldName,
const Vector3Ptr& vec);
Baseclass for all ArmarX Observers.
InertialMeasurementUnitObserverPropertyDefinitions(std::string prefix)
void onInitObserver() override
Framework hook.
PropertyDefinitionsPtr createPropertyDefinitions() override
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void reportSensorValues(const std::string &device, const std::string &name, const IMUData &values, const TimestampBasePtr ×tamp, const Ice::Current &c=Ice::emptyCurrent) override
Observer monitoring @IMU sensor values.
InertialMeasurementUnitObserver()
std::string getDefaultName() const override
Retrieve default name of component.
void onExitObserver() override
Framework hook.
void onConnectObserver() override
Framework hook.
This file offers overloads of toIce() and fromIce() functions for STL container types.