Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
com.github.turtlebot.turtlebot_android.follower.FollowerActivity Class Reference
Inheritance diagram for com.github.turtlebot.turtlebot_android.follower.FollowerActivity:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FollowerActivity ()
void onCreate (Bundle savedInstanceState)
boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)

Protected Member Functions

void init (NodeMainExecutor nodeMainExecutor)

Private Member Functions

void callService (byte newState)
void showToast (final String message)

Private Attributes

final OnClickListener backButtonListener
RosImageView
< sensor_msgs.CompressedImage > 
cameraView
Toast lastToast
ConnectedNode node
final OnClickListener startButtonListener
final OnClickListener stopButtonListener

Static Private Attributes

static final String cameraTopic = "camera/rgb/image_color/compressed_throttle"

Detailed Description

Definition at line 29 of file FollowerActivity.java.


Constructor & Destructor Documentation

Definition at line 37 of file FollowerActivity.java.


Member Function Documentation

Definition at line 123 of file FollowerActivity.java.

void com.github.turtlebot.turtlebot_android.follower.FollowerActivity.init ( NodeMainExecutor  nodeMainExecutor) [inline, protected]

Definition at line 76 of file FollowerActivity.java.

Called when the activity is first created.

Definition at line 44 of file FollowerActivity.java.

Definition at line 105 of file FollowerActivity.java.

Definition at line 112 of file FollowerActivity.java.

void com.github.turtlebot.turtlebot_android.follower.FollowerActivity.showToast ( final String  message) [inline, private]

Call Toast on UI thread.

Parameters:
messageMessage to show on toast.

Definition at line 169 of file FollowerActivity.java.


Member Data Documentation

Initial value:
 new OnClickListener()
  {
    @Override
    public void onClick(View v)
    {
      onBackPressed();
    }
  }

Definition at line 184 of file FollowerActivity.java.

final String com.github.turtlebot.turtlebot_android.follower.FollowerActivity.cameraTopic = "camera/rgb/image_color/compressed_throttle" [static, private]

Definition at line 34 of file FollowerActivity.java.

RosImageView<sensor_msgs.CompressedImage> com.github.turtlebot.turtlebot_android.follower.FollowerActivity.cameraView [private]

Definition at line 33 of file FollowerActivity.java.

Definition at line 31 of file FollowerActivity.java.

Definition at line 32 of file FollowerActivity.java.

Initial value:
 new OnClickListener()
  {
    @Override
    public void onClick(View v)
    {
      callService(turtlebot_msgs.SetFollowStateRequest.FOLLOW);
    }
  }

Definition at line 193 of file FollowerActivity.java.

Initial value:
 new OnClickListener()
  {
    @Override
    public void onClick(View v)
    {
      callService(turtlebot_msgs.SetFollowStateRequest.STOPPED);
    }
  }

Definition at line 202 of file FollowerActivity.java.


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


turtlebot_android
Author(s):
autogenerated on Wed Aug 26 2015 16:32:04