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, startMasterChooser
public void onCreate(Bundle savedInstanceState)
protected void init(org.ros.node.NodeMainExecutor nodeMainExecutor)
RosActivity
Activity
has
been initialized with a master URI
via the MasterChooser
and a NodeMainExecutorService
has started. Your NodeMain
s
should be started here using the provided NodeMainExecutor
.init
in class RosActivity
nodeMainExecutor
- the NodeMainExecutor
created for this Activity