Using rosjava nodes inside non-rosjava projects.
Hi,
I am trying to adapt an existing complex java application using a rosjava node. I succesfully included my rosjava test class "Listener.java" into my other java project so I can access the class and create an instance of the rosjava object. The problem happens here :
public class Listener extends AbstractNodeMain {
...
@Override
public void onStart(ConnectedNode connectedNode) { ... }
...
}
This method is the onStart method of the auto-generated Listener.java class of my rosjava project.
How could I access the ConnectedNode object from a non-rosjava class or method and pass it to the rosjava object in order to correctly use it.
Or maybe there's another way around to adapt non rosjava projects ? Did you guys encounter the same problem as me ? I want to hear what you've done to solve this problem.
Thank you very much !