Skip to content
Snippets Groups Projects
Commit f6bce18a authored by Simon Ottenhaus's avatar Simon Ottenhaus
Browse files
parents bcd89bba d44ee3ce
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
}
......
......@@ -29,10 +29,10 @@
namespace armarx
{
MdiPlugin::MdiPlugin(){
SensorActorPlugin::SensorActorPlugin(){
addWidget<TCPMover>();
addWidget<ArmarXPlotter>();
}
Q_EXPORT_PLUGIN2(armarX_gui_MdiPlugin, MdiPlugin)
Q_EXPORT_PLUGIN2(armarX_gui_SensorActorPlugin, SensorActorPlugin)
}
......@@ -41,11 +41,11 @@ namespace armarx
*
* @see ArmarXPlotter
*/
class ARMARXCOMPONENT_IMPORT_EXPORT MdiPlugin :
class ARMARXCOMPONENT_IMPORT_EXPORT SensorActorPlugin :
public ArmarXGuiPlugin
{
public:
MdiPlugin();
SensorActorPlugin();
};
}
......
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