29#include <IceUtil/Time.h>
51 "simulated sensor name. seperated by comma");
56 "The time in milliseconds between two calls to the simulation method.");
74 return "ForceTorqueUnitSimulation";
86 void setOffset(
const FramedDirectionBasePtr& forceOffsets,
87 const FramedDirectionBasePtr& torqueOffsets,
88 const Ice::Current&
c = Ice::emptyCurrent)
override;
93 void setToNull(
const Ice::Current&
c = Ice::emptyCurrent)
override;
101 std::map<std::string, armarx::FramedDirectionPtr>
forces;
102 std::map<std::string, armarx::FramedDirectionPtr>
torques;
ForceTorqueUnitPropertyDefinitions(std::string prefix)
ForceTorqueUnitSimulationPropertyDefinitions(std::string prefix)
Simulates a set of Force/Torque sensors.
std::map< std::string, armarx::FramedDirectionPtr > forces
void setOffset(const FramedDirectionBasePtr &forceOffsets, const FramedDirectionBasePtr &torqueOffsets, const Ice::Current &c=Ice::emptyCurrent) override
PeriodicTask< ForceTorqueUnitSimulation >::pointer_type simulationTask
void onExitForceTorqueUnit() override
void onStartForceTorqueUnit() override
PropertyDefinitionsPtr createPropertyDefinitions() override
void onInitForceTorqueUnit() override
std::map< std::string, armarx::FramedDirectionPtr > torques
void setToNull(const Ice::Current &c=Ice::emptyCurrent) override
void simulationFunction()
std::string getDefaultName() const override
Retrieve default name of component.
Ice::StringSeq sensorNamesList
The ForceTorqueUnit class.
IceUtil::Handle< PeriodicTask< T > > pointer_type
Shared pointer type for convenience.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
PropertyDefinition< PropertyType > & defineRequiredProperty(const std::string &name, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.