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 |
onClearMapButtonClicked(View view) |
void |
onCreate(Bundle savedInstanceState) |
void |
onFollowMeToggleButtonClicked(View view) |
void |
onSaveMapButtonClicked(View view) |
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
public void onClearMapButtonClicked(View view)
public void onSaveMapButtonClicked(View view)
public void onFollowMeToggleButtonClicked(View view)