Hello guys. I’m still working on my NetworkTable based tool and I came across a problem. This is part of my code now.
public class PubGroup<T>{
GenericPublisher publisher;
Supplier<T> supplier;
PubGroup(String topicName, String typeName, Supplier<T> _supp){
supplier = _supp;
publisher = m_table.getTopic(topicName).genericPublish(typeName);
}
}
There is a typeName String here which defines which type the data would be sent but I couldn’t find what strings are ok to be put into the brackets.
In the Documentation I found that “double” is ok, but not others found.
Appreciate all helps.
BTW Happy Chinese New Year guys!