public class IceConnection extends MotorConnection
Constructor and Description |
---|
IceConnection(java.lang.String ip,
int port) |
Modifier and Type | Method and Description |
---|---|
boolean |
connectionActive() |
void |
destroy()
Safely closes the connection.
|
void |
setMotorPower(double fl,
double fr,
double bl,
double br)
Sets the motor power for each wheel of the motor connection.
|
java.lang.String |
toString() |
public void setMotorPower(double fl, double fr, double bl, double br)
MotorConnection
setMotorPower
in class MotorConnection
fl
- Front-left powerfr
- Front-right powerbl
- Back-left powerbr
- Back-right powerpublic boolean connectionActive()
connectionActive
in class Connection
public void destroy()
Connection
destroy
in class Connection
public java.lang.String toString()
toString
in class java.lang.Object