Static Public Attributes | Protected Member Functions | Private Member Functions
edu.nimbus.glass.robotvoicecontrol.VoiceControlActivity Class Reference
Inheritance diagram for edu.nimbus.glass.robotvoicecontrol.VoiceControlActivity:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Activity to transmit voice commands to the ROS Server from google glass.

Author:
ataylor

Definition at line 43 of file VoiceControlActivity.java.


Member Function Documentation

void edu.nimbus.glass.robotvoicecontrol.VoiceControlActivity.onCreate ( Bundle  savedInstanceState) [inline, protected]

Definition at line 48 of file VoiceControlActivity.java.

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.

Parameters:
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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


ros_glass_tools
Author(s):
autogenerated on Thu Aug 27 2015 14:47:21