public class RemoteRequestEV3 extends java.lang.Object implements EV3, java.io.Serializable
Constructor and Description |
---|
RemoteRequestEV3(java.lang.String host) |
Modifier and Type | Method and Description |
---|---|
ArcRotateMoveController |
createPilot(double wheelDiameter,
double trackWidth,
java.lang.String leftMotor,
java.lang.String rightMotor) |
RegulatedMotor |
createRegulatedMotor(java.lang.String portName,
char motorType) |
SampleProvider |
createSampleProvider(java.lang.String portName,
java.lang.String sensorName,
java.lang.String modeName) |
SampleProvider |
createSampleProvider(java.lang.String portName,
java.lang.String sensorName,
java.lang.String modeName,
java.lang.String topic,
float frequency) |
void |
disConnect() |
Audio |
getAudio()
return a Audio object which can be used to access the device's audio playback
|
LocalBTDevice |
getBluetoothDevice()
Get the local Bluetooth device
|
GraphicsLCD |
getGraphicsLCD()
Get graphics access to the LCD
|
Key |
getKey(java.lang.String name)
Get access to a specific Key (aka Button)
|
Keys |
getKeys()
Get access to the keys (buttons)
|
LED |
getLED()
Get access to the LED
|
java.lang.String |
getName()
Get he name of the brick
|
Port |
getPort(java.lang.String portName)
Return a port object for the request port name.
|
Power |
getPower()
return a battery object which can be used to obtain battery voltage etc.
|
TextLCD |
getTextLCD()
Get text access to the LCD using the default font
|
TextLCD |
getTextLCD(Font f)
Get text access to the LCD using a specified font
|
java.lang.String |
getType()
Get the type of brick, e.g.
|
Video |
getVideo() |
LocalWifiDevice |
getWifiDevice()
Get the local Wifi device
|
boolean |
isLocal()
Test whether the brick is a local one
|
void |
setDefault()
Set this brick as the default one for static methods
|
public RemoteRequestEV3(java.lang.String host) throws java.io.IOException
java.io.IOException
public Port getPort(java.lang.String portName)
Brick
public Power getPower()
Brick
public Audio getAudio()
Brick
public TextLCD getTextLCD()
Brick
getTextLCD
in interface Brick
public TextLCD getTextLCD(Font f)
Brick
getTextLCD
in interface Brick
f
- the fontpublic GraphicsLCD getGraphicsLCD()
Brick
getGraphicsLCD
in interface Brick
public boolean isLocal()
Brick
public java.lang.String getType()
Brick
public java.lang.String getName()
Brick
public LocalBTDevice getBluetoothDevice()
Brick
getBluetoothDevice
in interface Brick
public LocalWifiDevice getWifiDevice()
Brick
getWifiDevice
in interface Brick
public void setDefault()
Brick
setDefault
in interface Brick
public Keys getKeys()
Brick
public Key getKey(java.lang.String name)
Brick
public SampleProvider createSampleProvider(java.lang.String portName, java.lang.String sensorName, java.lang.String modeName)
public SampleProvider createSampleProvider(java.lang.String portName, java.lang.String sensorName, java.lang.String modeName, java.lang.String topic, float frequency) throws java.rmi.RemoteException
java.rmi.RemoteException
public RegulatedMotor createRegulatedMotor(java.lang.String portName, char motorType)
public ArcRotateMoveController createPilot(double wheelDiameter, double trackWidth, java.lang.String leftMotor, java.lang.String rightMotor)
public void disConnect()