public class RigidBodySocket extends Object
Modifier and Type | Field and Description |
---|---|
static int[] |
AUVSIM1_TCP_PORT |
static int |
EXECUTION_PORT |
static String |
messageFromExecution |
static String |
messageToExecution |
static Socket |
port |
static BufferedReader |
port_in |
static PrintWriter |
port_out |
static int |
READRESULTS_KILL |
static int |
READRESULTS_ONE |
static int |
READRESULTS_POSITION_ORIENTATION |
static int |
READRESULTS_QUIT |
static int |
READRESULTS_ZERO |
Constructor and Description |
---|
RigidBodySocket(RigidBody rigidBody) |
Modifier and Type | Method and Description |
---|---|
static double |
degrees(double x) |
static double |
normalize(double degs) |
static double |
normalize2(double degs) |
boolean |
openExecutionLevelSocket() |
static double |
radians(double x) |
int |
read_from_execution_level_socket() |
int |
shutdown_socket(int signal_thrown) |
void |
writeToExecutionLevelSocket() |
public static final int[] AUVSIM1_TCP_PORT
public static int EXECUTION_PORT
public static Socket port
public static BufferedReader port_in
public static PrintWriter port_out
public static String messageToExecution
public static String messageFromExecution
public static final int READRESULTS_ZERO
public static final int READRESULTS_ONE
public static final int READRESULTS_QUIT
public static final int READRESULTS_KILL
public static final int READRESULTS_POSITION_ORIENTATION
public RigidBodySocket(RigidBody rigidBody)
public boolean openExecutionLevelSocket()
public int read_from_execution_level_socket()
public void writeToExecutionLevelSocket()
public int shutdown_socket(int signal_thrown)
public static double normalize(double degs)
public static double normalize2(double degs)
public static double radians(double x)
public static double degrees(double x)