Design goal of this activity should be to handle almost everything necessary for interaction with a robot/rocon app manager. This involves direct interactions on services and topics, and also necessary data transfer required for correct display of the 'robot' screen in the RobotRemocon.
This used to be part of the old RosAppActivity, but that used quite heavily a 'what am i' process to work out whether it was an app or a controlling manager (appchooser or remocon) with very separate workflows that didn't take much advantage of code sharing.
Definition at line 61 of file RobotActivity.java.
com.github.rosjava.android_remocons.robot_remocon.RobotActivity.RobotActivity | ( | String | notificationTicker, |
String | notificationTitle | ||
) | [inline, protected] |
Definition at line 101 of file RobotActivity.java.
NameResolver com.github.rosjava.android_remocons.robot_remocon.RobotActivity.getAppNameSpace | ( | ) | [inline, protected] |
Definition at line 186 of file RobotActivity.java.
String com.github.rosjava.android_remocons.robot_remocon.RobotActivity.getRobotNameSpace | ( | ) | [inline, protected] |
Definition at line 194 of file RobotActivity.java.
NameResolver com.github.rosjava.android_remocons.robot_remocon.RobotActivity.getRobotNameSpaceResolver | ( | ) | [inline, protected] |
Definition at line 190 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.init | ( | NodeMainExecutor | nodeMainExecutor | ) | [inline, protected] |
Start cooking! Init is run once either the master chooser has finished and detected all the robot information it needs, or it has returned from a remocon application. Either way, both are guaranteed to return with a master uri and robot description.
We use them here to kickstart everything else.
nodeMainExecutor |
Reimplemented in com.github.rosjava.android_remocons.robot_remocon.RobotRemocon.
Definition at line 162 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.onCreate | ( | Bundle | savedInstanceState | ) | [inline] |
Reimplemented in com.github.rosjava.android_remocons.robot_remocon.RobotRemocon.
Definition at line 106 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.onDestroy | ( | ) | [inline, protected] |
Definition at line 233 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.releaseDashboardNode | ( | ) | [inline, protected] |
Definition at line 228 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.releaseRobotNameResolver | ( | ) | [inline, protected] |
Definition at line 224 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.setCustomDashboardPath | ( | String | path | ) | [inline, protected] |
Definition at line 97 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.setDashboardResource | ( | int | resource | ) | [inline, protected] |
Definition at line 81 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.setDefaultAppName | ( | String | name | ) | [inline, protected] |
Definition at line 93 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.setDefaultRobotName | ( | String | name | ) | [inline, protected] |
Definition at line 89 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.setMainWindowResource | ( | int | resource | ) | [inline, protected] |
Definition at line 85 of file RobotActivity.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotActivity.stopApp | ( | ) | [inline, protected] |
Definition at line 198 of file RobotActivity.java.
Dashboard com.github.rosjava.android_remocons.robot_remocon.RobotActivity.dashboard = null [private] |
Definition at line 74 of file RobotActivity.java.
int com.github.rosjava.android_remocons.robot_remocon.RobotActivity.dashboardResourceId = 0 [private] |
Definition at line 72 of file RobotActivity.java.
String com.github.rosjava.android_remocons.robot_remocon.RobotActivity.defaultRobotAppName = null [private] |
Definition at line 64 of file RobotActivity.java.
String com.github.rosjava.android_remocons.robot_remocon.RobotActivity.defaultRobotName = null [private] |
Definition at line 65 of file RobotActivity.java.
boolean com.github.rosjava.android_remocons.robot_remocon.RobotActivity.fromApplication = false [protected] |
Definition at line 70 of file RobotActivity.java.
Definition at line 73 of file RobotActivity.java.
NodeConfiguration com.github.rosjava.android_remocons.robot_remocon.RobotActivity.nodeConfiguration [protected] |
Definition at line 75 of file RobotActivity.java.
NodeMainExecutor com.github.rosjava.android_remocons.robot_remocon.RobotActivity.nodeMainExecutor [protected] |
Definition at line 76 of file RobotActivity.java.
PairingApplicationNamePublisher com.github.rosjava.android_remocons.robot_remocon.RobotActivity.pairingApplicationNamePublisher = null [protected] |
Definition at line 79 of file RobotActivity.java.
String com.github.rosjava.android_remocons.robot_remocon.RobotActivity.robotAppName = null [private] |
Definition at line 63 of file RobotActivity.java.
RobotDescription com.github.rosjava.android_remocons.robot_remocon.RobotActivity.robotDescription [protected] |
Definition at line 78 of file RobotActivity.java.
RobotNameResolver com.github.rosjava.android_remocons.robot_remocon.RobotActivity.robotNameResolver [protected] |
Definition at line 77 of file RobotActivity.java.