Static Public Attributes | |
static final String | HOST_ADDRESS = "ws://10.214.32.10:9090" |
Protected Member Functions | |
void | onCreate (Bundle savedInstanceState) |
void | onResume () |
Private Member Functions | |
void | sendMessage (String command) |
Activity to transmit voice commands to the ROS Server from google glass.
Definition at line 43 of file VoiceControlActivity.java.
void edu.nimbus.glass.robotvoicecontrol.VoiceControlActivity.onCreate | ( | Bundle | savedInstanceState | ) | [inline, protected] |
Definition at line 48 of file VoiceControlActivity.java.
void edu.nimbus.glass.robotvoicecontrol.VoiceControlActivity.onResume | ( | ) | [inline, protected] |
Definition at line 53 of file VoiceControlActivity.java.
void edu.nimbus.glass.robotvoicecontrol.VoiceControlActivity.sendMessage | ( | String | command | ) | [inline, private] |
Send the command to the ROS Server on the specialized topic and wait for the reply back.
command |
Display the message we recieved back and close the application.
If it is closed than we have a poor web connection. Let the user know.
Definition at line 77 of file VoiceControlActivity.java.
final String edu.nimbus.glass.robotvoicecontrol.VoiceControlActivity.HOST_ADDRESS = "ws://10.214.32.10:9090" [static] |
This line must be updated to ensure that the glass connects to the correct webserver that is running ROS
Definition at line 46 of file VoiceControlActivity.java.