Skip to content
Snippets Groups Projects
Commit e994cb02 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

added property for ft topic name

parent 8e917468
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ using namespace armarx;
void ForceTorqueUnit::onInitComponent()
{
listenerName = "ForceTorqueValues";
listenerName = getProperty<std::string>("ForceTorqueTopicName").getValue();
offeringTopic(listenerName);
onInitForceTorqueUnit();
}
......
......@@ -43,6 +43,8 @@ namespace armarx
ComponentPropertyDefinitions(prefix)
{
defineRequiredProperty<std::string>("AgentName", "Name of the agent for which the sensor values are provided");
defineOptionalProperty<std::string>("ForceTorqueTopicName","ForceTorqueValues", "Name of the topic on which the sensor values are provided");
// No required properties
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment