Sending ROS Nodes between Android Activities
I have a ROS node that I want to be able to communicate with from a view class in an android app. This view class is outside of the mainActivity. At present, I believe that I must either:
- create the node in the mainActivity and then send it, or a pointer to it, down a line of activities to the view that will communicate with it.
- create the node in the view class that will directly communicate with it.
I believe that, with the second option, I will need to send either the nodeMainExecutor or a reference to it.
Any help or comments would be appreciated.