org.robokind.client.basic
Class UserSettings

java.lang.Object
  extended by org.robokind.client.basic.UserSettings

public final class UserSettings
extends Object

Author:
Matthew Stevenson

Constructor Summary
UserSettings()
           
 
Method Summary
static void setAccelerometerAddress(String address)
          Set the IP Address for the Robot or Avatar accelerometer service.
static void setAnimationAddress(String address)
          Set the IP Address for the Robot or Avatar animation player.
static void setCameraAddress(String address)
          Set the IP Address for the Robot or Avatar camera service.
static void setCameraId(String id)
          Set the ID of the Robot or Avatar camera.
static void setCompassAddress(String address)
          Set the IP Address for the Robot or Avatar compass service.
static void setGyroscopeAddress(String address)
          Set the IP Address for the Robot or Avatar gyroscope service.
static void setImageRegionAddress(String address)
          Set the IP Address for the Robot or Avatar image region service.
static void setImageRegionId(String id)
          Set the ID of the Robot or Avatar camera for the image region service.
static void setRobotAddress(String address)
          Set the IP Address for the Robot or Avatar.
static void setRobotId(String robotId)
          Set the id of the robot to connect to.
static void setSensorAddress(String address)
          Set the IP Address for the Robot or Avatar sensor service.
static void setSpeechAddress(String address)
          Set the IP Address for the Robot or Avatar speech service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSettings

public UserSettings()
Method Detail

setRobotId

public static void setRobotId(String robotId)
Set the id of the robot to connect to. Set to "myRobot" for connecting to a physical robot.

Parameters:
robotId - robot id string

setRobotAddress

public static void setRobotAddress(String address)
Set the IP Address for the Robot or Avatar. Default value is 127.0.0.1.

Parameters:
address - IP address of the robot

setAnimationAddress

public static void setAnimationAddress(String address)
Set the IP Address for the Robot or Avatar animation player. Default value is 127.0.0.1.

Parameters:
address - IP address of the animation player

setSpeechAddress

public static void setSpeechAddress(String address)
Set the IP Address for the Robot or Avatar speech service. Default value is 127.0.0.1.

Parameters:
address - IP address of the speech service

setSensorAddress

public static void setSensorAddress(String address)
Set the IP Address for the Robot or Avatar sensor service. Default value is 127.0.0.1.

Parameters:
address - IP address of the sensor service

setAccelerometerAddress

public static void setAccelerometerAddress(String address)
Set the IP Address for the Robot or Avatar accelerometer service. Default value is 127.0.0.1.

Parameters:
address - IP address of the accelerometer service

setGyroscopeAddress

public static void setGyroscopeAddress(String address)
Set the IP Address for the Robot or Avatar gyroscope service. Default value is 127.0.0.1.

Parameters:
address - IP address of the gyroscope service

setCompassAddress

public static void setCompassAddress(String address)
Set the IP Address for the Robot or Avatar compass service. Default value is 127.0.0.1.

Parameters:
address - IP address of the compass service

setCameraAddress

public static void setCameraAddress(String address)
Set the IP Address for the Robot or Avatar camera service. Default value is 127.0.0.1.

Parameters:
address - IP address of the camera service

setImageRegionAddress

public static void setImageRegionAddress(String address)
Set the IP Address for the Robot or Avatar image region service. Default value is 127.0.0.1.

Parameters:
address - IP address of the image region service

setCameraId

public static void setCameraId(String id)
Set the ID of the Robot or Avatar camera. Default value is 0.

Parameters:
id - ID of the camera: 0 is right, 1 is left

setImageRegionId

public static void setImageRegionId(String id)
Set the ID of the Robot or Avatar camera for the image region service. Default value is 0.

Parameters:
id - ID of the camera for the image region service: 0 is right, 1 is left


Copyright © 2011-2013. All Rights Reserved.