public class MainActivity extends RosActivity
nodeMainExecutorService| Constructor and Description |
|---|
MainActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init(org.ros.node.NodeMainExecutor nodeMainExecutor)
This method is called in a background thread once this
Activity has
been initialized with a master URI via the MasterChooser
and a NodeMainExecutorService has started. |
void |
onCreate(Bundle savedInstanceState) |
getMasterUri, onActivityResult, onDestroy, onStart, startActivityForResult, startMasterChooserpublic void onCreate(Bundle savedInstanceState)
protected void init(org.ros.node.NodeMainExecutor nodeMainExecutor)
RosActivityActivity has
been initialized with a master URI via the MasterChooser
and a NodeMainExecutorService has started. Your NodeMains
should be started here using the provided NodeMainExecutor.init in class RosActivitynodeMainExecutor - the NodeMainExecutor created for this Activity