public class MyState
extends java.lang.Object
Constructor and Description |
---|
MyState() |
Modifier and Type | Method and Description |
---|---|
static double[] |
getAxisAnglesDegrees() |
static double[] |
getAxisAnglesRadians() |
static double |
getDraught() |
static double |
getHeadingInDegrees() |
static double |
getHeadingInRadians() |
static long |
getLastLocationUpdateTimeMillis() |
static double |
getLength() |
static double |
getLengthOffsetFromCenter() |
static LocationType |
getLocation() |
static double |
getWidth() |
static double |
getWidthOffsetFromCenter() |
static void |
main(java.lang.String[] args) |
static void |
setDraught(double draught) |
static void |
setHeadingInDegrees(double yawDegrees) |
static void |
setHeadingInRadians(double yawRadians) |
static void |
setLength(double length) |
static void |
setLengthOffsetFromCenter(double lengthOffsetFromCenter) |
static void |
setLocation(LocationType location) |
static void |
setLocationAndAxis(LocationType location,
double yaw) |
static void |
setLocationAndAxis(LocationType location,
double roll,
double pitch,
double yaw) |
static void |
setLocationAndAxisRadians(LocationType location,
double yawRadians) |
static void |
setLocationAndAxisRadians(LocationType location,
double rollRadians,
double pitchRadians,
double yawRadians) |
static void |
setWidth(double width) |
static void |
setWidthOffsetFromCenter(double widthOffsetFromCenter) |
public static LocationType getLocation()
public static long getLastLocationUpdateTimeMillis()
public static void setLocation(LocationType location)
location
- the location to setpublic static void setLocationAndAxis(LocationType location, double roll, double pitch, double yaw)
public static void setLocationAndAxisRadians(LocationType location, double rollRadians, double pitchRadians, double yawRadians)
public static void setLocationAndAxis(LocationType location, double yaw)
public static void setLocationAndAxisRadians(LocationType location, double yawRadians)
public static double[] getAxisAnglesDegrees()
public static double[] getAxisAnglesRadians()
public static double getHeadingInRadians()
public static void setHeadingInRadians(double yawRadians)
public static double getHeadingInDegrees()
public static void setHeadingInDegrees(double yawDegrees)
public static double getLength()
public static void setLength(double length)
length
- the length to setpublic static double getWidth()
public static void setWidth(double width)
width
- the width to setpublic static double getLengthOffsetFromCenter()
public static void setLengthOffsetFromCenter(double lengthOffsetFromCenter)
lengthOffsetFromCenter
- the lengthOffsetFromCenter to setpublic static double getWidthOffsetFromCenter()
public static void setWidthOffsetFromCenter(double widthOffsetFromCenter)
widthOffsetFromCenter
- the widthOffsetFromCenter to setpublic static double getDraught()
public static void setDraught(double draught)
draught
- the draught to setpublic static void main(java.lang.String[] args)
args
- Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.