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. |
protected void |
onCreate(Bundle savedInstanceState) |
boolean |
onTouchEvent(MotionEvent event) |
getMasterUri, onActivityResult, onDestroy, onStart, startActivityForResult, startMasterChooser
protected void onCreate(Bundle savedInstanceState)
public boolean onTouchEvent(MotionEvent event)
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