Skip to content
Snippets Groups Projects
Commit 17ad6ba9 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add ctor to the arviz client

parent da78fbf4
No related branches found
No related tags found
1 merge request!76Update cartesian impedance and arviz
......@@ -22,6 +22,11 @@ namespace armarx::viz
topic = component.getTopicFromProperty<decltype(topic)>(topicNameProperty);
}
Client(ManagedIceObject& obj, const std::string& topicName = "ArVizTopic")
{
componentName = obj.getName();
obj.getTopic(topic, topicName);
}
static Client createFromTopic(const std::string arvizNamespace, armarx::viz::Topic::ProxyType topic)
{
......
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