public class UsvScriptCommands extends AvclScriptCommands
Constructor and Description |
---|
UsvScriptCommands() |
Modifier and Type | Method and Description |
---|---|
static CompositeWaypointUSVCommandType |
createExpandingSquareCmd(int positionMode,
double x,
double y,
double orientation,
double trackSpacing,
int trackCount,
String turnDirection,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a ExpandingSquare composite waypoint command
|
static CompositeWaypointUSVCommandType |
createExpandingSquareCmd(int positionMode,
String x,
String y,
double orientation,
double trackSpacing,
int trackCount,
String turnDirection,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a ExpandingSquare composite waypoint command
|
static JAXBElement<?> |
createLoiterCmd(double x,
double y,
int positMode,
double speed,
int speedMode,
double timeOut,
String description)
Generates a Loiter command
|
static LoiterUSVCommandType |
createLoiterCmd(String x,
String y,
int positMode,
double speed,
int speedMode,
double timeOut,
String description)
Generates a Loiter command
|
static CompositeWaypointUSVCommandType |
createParallelTrackCmd(int positionMode,
double x,
double y,
double orientation,
double trackLength,
double trackSpacing,
int trackCount,
String firstTurn,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a ParallelTrack composite waypoint command
|
static CompositeWaypointUSVCommandType |
createParallelTrackCmd(int positionMode,
String x,
String y,
double orientation,
double trackLength,
double trackSpacing,
int trackCount,
String firstTurn,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a ParallelTrack composite waypoint command
|
static CompositeWaypointUSVCommandType |
createSectorPatternCmd(int positionMode,
double x,
double y,
double orientation,
double radius,
double sectorSize,
int sectorCount,
String turnDirection,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a SectorPattern composite waypoint command
|
static CompositeWaypointUSVCommandType |
createSectorPatternCmd(int positionMode,
String x,
String y,
double orientation,
double radius,
double sectorSize,
int sectorCount,
String turnDirection,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a SectorPattern composite waypoint command
|
static JAXBElement<?> |
createSetPositionCmd(double xString,
double yString,
int positType,
String description)
Generates a Position command
|
static SetPositionUSVCommandType |
createSetPositionCmd(String xString,
String yString,
int positType,
String description)
Generates a Position command
|
static JAXBElement<?> |
createWaypointCmd(double x,
double y,
int positMode,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a Waypoint command
|
static WaypointUSVCommandType |
createWaypointCmd(String x,
String y,
int positMode,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a Waypoint command
|
static String |
getCompositeWaypointCmdDescription(Object cmd)
Sets the Wait command description field
|
static double |
getCompositeWaypointCmdSpeed(Object cmd)
Returns the CompositeWaypoint speed or knots value as applicable
|
static int |
getCompositeWaypointCmdSpeedMode(Object cmd)
Returns an integer representing the commanded speed-control mode (knots or units per second)
|
static double |
getCompositeWaypointCmdStandoff(Object cmd)
Returns the time out value of the CompositeWaypoint command
|
static double |
getCompositeWaypointCmdTimeOut(Object cmd)
Returns the standoff value of the CompositeWaypoint command
|
static int |
getCompositeWaypointCmdType(Object cmd)
Returns an integer representing the type of composite waypoint command of this object
|
static double |
getExpandingSquareCmdOrientation(Object cmd)
Returns the orientation of the ExpandingSquare command
|
static int |
getExpandingSquareCmdPositType(Object cmd)
Returns an integer representing how the horizontal point is represented
|
static int |
getExpandingSquareCmdTrackCount(Object cmd)
Returns the track count of the ExpandingSquare command
|
static double |
getExpandingSquareCmdTrackSpacing(Object cmd)
Returns the track spacing of the ExpandingSquare command
|
static String |
getExpandingSquareCmdTurnDirection(Object cmd)
Returns the direction of the turns of the ExpandingSquare command
|
static String |
getExpandingSquareCmdX(Object cmd)
Returns the x, latitude, or northing coordinate of the ExpandingSquare command
|
static String |
getExpandingSquareCmdY(Object cmd)
Returns the y, longitude or easting coordinate of the ExpandingSquare command
|
static String |
getLoiterCmdDescription(Object cmd)
Returns the description field of the Loiter command
|
static int |
getLoiterCmdPositType(Object cmd)
Returns an integer representing how the horizontal point is represented
|
static double |
getLoiterCmdSpeed(Object cmd)
Returns the Loiter speed type (knots or units per second)
|
static int |
getLoiterCmdSpeedType(Object cmd)
Returns an integer representing the speed type (knots or units per second)
|
static double |
getLoiterCmdTimeOut(Object cmd)
Returns the time out value of the Loiter command
|
static String |
getLoiterCmdX(Object cmd)
Returns the Loiter command x, or latitude as applicable
|
static String |
getLoiterCmdY(Object cmd)
Returns the Loiter command y, longitude, or easting value as applicable
|
static String |
getParallelTrackCmdFirstTurn(Object cmd)
Returns the direction of the first turn of the ParallelTrack command
|
static double |
getParallelTrackCmdOrientation(Object cmd)
Returns the orientation of the ParallelTrack command
|
static int |
getParallelTrackCmdPositType(Object cmd)
Returns an integer representing how the horizontal point is represented
|
static int |
getParallelTrackCmdTrackCount(Object cmd)
Returns the track count of the ParallelTrack command
|
static double |
getParallelTrackCmdTrackLength(Object cmd)
Returns the track length of the ParallelTrack command
|
static double |
getParallelTrackCmdTrackSpacing(Object cmd)
Returns the track spacing of the ParallelTrack command
|
static String |
getParallelTrackCmdX(Object cmd)
Returns the x, latitude, or northing coordinate of the ParallelTrack command
|
static String |
getParallelTrackCmdY(Object cmd)
Returns the y, longitude or easting coordinate of the ParallelTrack command
|
static double |
getSectorPatternCmdOrientation(Object cmd)
Returns the orientation of the ParallelTrack command
|
static int |
getSectorPatternCmdPositType(Object cmd)
Returns an integer representing how the horizontal point is represented
|
static double |
getSectorPatternCmdRadius(Object cmd)
Returns the radius of the SectorCommand command
|
static int |
getSectorPatternCmdSectorCount(Object cmd)
Returns the sector count of the SectorPattern command
|
static double |
getSectorPatternCmdSectorSize(Object cmd)
Returns the sector size of the SectorPattern command
|
static String |
getSectorPatternCmdTurnDirection(Object cmd)
Returns the track direction of the SectorPattern command
|
static String |
getSectorPatternCmdX(Object cmd)
Returns the x, latitude, or northing coordinate of the SectorPattern command
|
static String |
getSectorPatternCmdY(Object cmd)
Returns the y, longitude or easting coordinate of the SectorPattern command
|
static String |
getSetPositionCmdDescription(Object cmd)
Returns the description field of the Position command
|
static int |
getSetPositionCmdPositionType(Object cmd)
Returns an integer representing how the horizontal point is represented
|
static String |
getSetPositionCmdX(Object cmd)
Returns the X, latitude, or northing field of a Position command as a String
|
static String |
getSetPositionCmdY(Object cmd)
Returns the Y, longitude, or easting field of a Position command as a String
|
static String |
getWaypointCmdDescription(Object cmd)
Returns the description field of the Waypoint command
|
static int |
getWaypointCmdPositionType(Object cmd)
Returns an integer representing how the horizontal point is represented
|
static double |
getWaypointCmdSpeed(Object cmd)
Returns the Waypoint speed type (knots or units per second)
|
static int |
getWaypointCmdSpeedType(Object cmd)
Returns an integer representing the speed type (knots or units per second)
|
static double |
getWaypointCmdStandoff(Object cmd)
Returns the standoff value of the Waypoint command
|
static double |
getWaypointCmdTimeOut(Object cmd)
Returns the time out value of the Waypoint command
|
static String |
getWaypointCmdTrackMode(Object cmd)
Returns the tracking mode of the waypoint (to point or to line)
|
static String |
getWaypointCmdX(Object cmd)
Returns the waypoint command x, latitude, or northing value as applicable
|
static String |
getWaypointCmdY(Object cmd)
Returns the Waypoint command y, longitude, or easting value as applicable
|
static void |
setCompositeWaypointCmdDescription(Object cmd,
String newValue)
Sets the description value of a CompositeWaypoint command
|
static void |
setCompositeWaypointCmdSpeed(Object cmd,
double newValue,
int mode)
Sets the commanded speed or knots field of a CompositeWaypoint command as applicable
|
static void |
setCompositeWaypointCmdStandoff(Object cmd,
double newValue)
Sets the standoff field of a CompositeWayoint command
|
static void |
setCompositeWaypointCmdTimeOut(Object cmd,
double newValue)
Sets the time out field of a CompositeWaypoint command
|
static void |
setExpandingSquareCmdOrientation(Object cmd,
double newValue)
Sets the orientation of the ExpandingSquare command
|
static void |
setExpandingSquareCmdTrackCount(Object cmd,
int newValue)
Sets the track count of the ExpandingSquare command
|
static void |
setExpandingSquareCmdTrackSpacing(Object cmd,
double newValue)
Sets the track spacing of the ExpandingSquare command
|
static void |
setExpandingSquareCmdTurnDirection(Object cmd,
String newValue)
Sets the direction of the first turn of the ExpandingSquare command
|
static void |
setExpandingSquareCmdX(Object cmd,
double newValue,
int mode)
Sets the x, latitude, or northing field of a ExpandingSquare command as applicable
|
static void |
setExpandingSquareCmdX(Object cmd,
String newValue,
int mode)
Sets the x, latitude, or northing field of a ExpandingSquare command as applicable
|
static void |
setExpandingSquareCmdY(Object cmd,
double newValue,
int mode)
Sets the y, longitude, or easting field of a ExpandingSquare command as applicable
|
static void |
setExpandingSquareCmdY(Object cmd,
String newValue,
int mode)
Sets the y, longitude, or easting field of a ExpandingSquare command as applicable
|
static void |
setLoiterCmdDescription(Object cmd,
String newValue)
Sets the description value of a Loiter command
|
static void |
setLoiterCmdSpeed(Object cmd,
double newValue,
int mode)
Sets the commanded speed or knots field of a Loiter command as applicable
|
static void |
setLoiterCmdTimeOut(Object cmd,
double newValue)
Sets the time out field of a Loiter command
|
static void |
setLoiterCmdX(Object cmd,
double newValue,
int mode)
Sets the x, latitude, or northing field of a Loiter command as applicable
|
static void |
setLoiterCmdX(Object cmd,
String newValue,
int mode)
Sets the x, latitude, or northing field of a Loiter command as applicable
|
static void |
setLoiterCmdY(Object cmd,
double newValue,
int mode)
Sets the y, longitude, or easting field of a Loiter command as applicable
|
static void |
setLoiterCmdY(Object cmd,
String newValue,
int mode)
Sets the y, longitude, or easting field of a Loiter command as applicable
|
static void |
setParallelTrackCmdFirstTurn(Object cmd,
String newValue)
Sets the direction of the first turn of the ParallelTrack command
|
static void |
setParallelTrackCmdOrientation(Object cmd,
double newValue)
Sets the orientation of the ParallelTrack command
|
static void |
setParallelTrackCmdTrackCount(Object cmd,
int newValue)
Sets the track count of the ParallelTrack command
|
static void |
setParallelTrackCmdTrackLength(Object cmd,
double newValue)
Sets the track length of the ParallelTrack command
|
static void |
setParallelTrackCmdTrackSpacing(Object cmd,
double newValue)
Sets the track spacing of the ParallelTrack command
|
static void |
setParallelTrackCmdX(Object cmd,
double newValue,
int mode)
Sets the x, latitude, or northing field of a Waypoint command as applicable
|
static void |
setParallelTrackCmdX(Object cmd,
String newValue,
int mode)
Sets the x, latitude, or northing field of a Waypoint command as applicable
|
static void |
setParallelTrackCmdY(Object cmd,
double newValue,
int mode)
Sets the y, longitude, or easting field of a ParallelTrack command as applicable
|
static void |
setParallelTrackCmdY(Object cmd,
String newValue,
int mode)
Sets the y, longitude, or easting field of a ParallelTrack command as applicable
|
static void |
setSectorPatternCmdOrientation(Object cmd,
double newValue)
Sets the orientation of the SectorPattern command
|
static void |
setSectorPatternCmdRadius(Object cmd,
double newValue)
Sets the track length of the SectorPattern command
|
static void |
setSectorPatternCmdSectorCount(Object cmd,
int newValue)
Sets the track count of the SectorPattern command
|
static void |
setSectorPatternCmdSectorSize(Object cmd,
double newValue)
Sets the track spacing of the SectorPattern command
|
static void |
setSectorPatternCmdTurnDirection(Object cmd,
String newValue)
Sets the track length of the SectorPattern command
|
static void |
setSectorPatternCmdX(Object cmd,
double newValue,
int mode)
Sets the x, latitude, or northing field of a SectorPattern starting position command as applicable
|
static void |
setSectorPatternCmdX(Object cmd,
String newValue,
int mode)
Sets the x, latitude, or northing field of a SectorPattern starting position command as applicable
|
static void |
setSectorPatternCmdY(Object cmd,
double newValue,
int mode)
Sets the y, longitude, or easting field of a SectorPattern command origin as applicable
|
static void |
setSectorPatternCmdY(Object cmd,
String newValue,
int mode)
Sets the y, longitude, or easting field of a SectorPattern command origin as applicable
|
static void |
setSetPositionCmdDescription(Object cmd,
String newValue)
Sets the description value of a Position command
|
static void |
setSetPositionCmdX(Object cmd,
double newValue)
Sets the X, latitude, or northing field of a Position command
|
static void |
setSetPositionCmdX(Object cmd,
String newValue)
Sets the X, latitude, or northing field of a Position command
|
static void |
setSetPositionCmdY(Object cmd,
double newValue)
Sets the Y, longitude, or easting field of a Position command
|
static void |
setSetPositionCmdY(Object cmd,
String newValue)
Sets the Y, longitude, or easting field of a Position command
|
static void |
setWaypointCmdDescription(Object cmd,
String newValue)
Sets the description value of a Waypoint command
|
static void |
setWaypointCmdSpeed(Object cmd,
double newValue,
int mode)
Sets the commanded speed or knots field of a Waypoint command as applicable
|
static void |
setWaypointCmdStandoff(Object cmd,
double newValue)
Sets the standoff field of a Wayoint command
|
static void |
setWaypointCmdTimeOut(Object cmd,
double newValue)
Sets the time out field of a Waypoint command
|
static void |
setWaypointCmdTrackMode(Object cmd,
String newValue)
Returns the tracking mode of the waypoint (to point or to line)
|
static void |
setWaypointCmdX(Object cmd,
double newValue,
int mode)
Sets the x, latitude, or northing field of a Waypoint command as applicable
|
static void |
setWaypointCmdX(Object cmd,
String newValue,
int mode)
Sets the x, latitude, or northing field of a Waypoint command as applicable
|
static void |
setWaypointCmdY(Object cmd,
double newValue,
int mode)
Sets the y, longitude, or easting field of a Waypoint command as applicable
|
static void |
setWaypointCmdY(Object cmd,
String newValue,
int mode)
Sets the y, longitude, or easting field of a Waypoint command as applicable
|
createFollowBeaconCmd, createHelpCmd, createMakeHeadingCmd, createMakeKnotsCmd, createMakeSpeedCmd, createMetaCommand, createMissionScriptCmd, createMissionScriptInlineCmd, createMoveRotateCmd, createQuitCmd, createRealtimeCmd, createSendMessageCmd, createSetPowerCmd, createSetPowerCmd, createSetRudderCmd, createSetStandoffCmd, createSetTimeCmd, createSetTimeStepCmd, createTraceCmd, createWaitCommand, createWaitUntilTimeCmd, getFollowBeaconCmdBeacon, getFollowBeaconCmdDescription, getFollowBeaconCmdTimeOut, getHelpCmdDescription, getMakeHeadingCmdDescription, getMakeHeadingCmdSetting, getMakeKnotsCmdDescription, getMakeKnotsCmdSetting, getMakeKnotsCmdSpeedOverGround, getMakeSpeedCmdDescription, getMakeSpeedCmdSetting, getMakeSpeedCmdSpeedOverGround, getMetaCommandContent, getMetaCommandDescription, getMetaCommandName, getMissionScriptCmdDescription, getMissionScriptCmdPath, getMissionScriptInlineCmdDescription, getMissionScriptInlineCmdPath, getQuitCmdDescription, getRealtimeCmdDescription, getRealtimeCmdSetting, getSendMessageCmdContent, getSendMessageCmdDescription, getSetPowerCmdDescription, getSetPowerCmdPropeller, getSetPowerCmdSetting, getSetRudderCmdDescription, getSetRudderCmdSetting, getSetStandoffCmdDescription, getSetStandoffCmdSetting, getSetTimeCmdDescription, getSetTimeCmdSetting, getSetTimeStepCmdDescription, getSetTimeStepCmdSetting, getTraceCmdDescription, getTraceCmdSetting, getWaitCmdDescription, getWaitCommandSetting, getWaitUntilTimeCmdDescription, getWaitUntilTimeCmdSetting, noValueFilter, noValueFilter, setFollowBeaconCmdBeacon, setFollowBeaconCmdDescription, setFollowBeaconCmdTimeOut, setHelpCmdDescription, setMakeHeadingCmdDescription, setMakeHeadingCmdSetting, setMakeKnotsCmdDescription, setMakeKnotsCmdSetting, setMakeKnotsCmdSpeedOverGround, setMakeSpeedCmdDescription, setMakeSpeedCmdSetting, setMakeSpeedCmdSpeedOverGround, setMetaCommandContent, setMetaCommandDescription, setMetaCommandName, setMissionScriptCmdDescription, setMissionScriptCmdPath, setMissionScriptInlineCmdDescription, setMissionScriptInlineCmdPath, setMoveRotateCmdDescription, setMoveRotateCmdSetting, setQuitCmdDescription, setRealtimeCmdDescription, setRealtimeCmdSetting, setSendMessageCmdContent, setSendMessageCmdDescription, setSetPowerCmdDescription, setSetPowerCmdSetting, setSetRudderCmdDescription, setSetRudderCmdSetting, setSetStandoffCmdDescription, setSetStandoffCmdSetting, setSetTimeCmdDescription, setSetTimeCmdSetting, setSetTimeStepCmdDescription, setSetTimeStepCmdSetting, setTraceCmdDescription, setTraceCmdSetting, setWaitCmdDescription, setWaitCmdSetting, setWaitUntilTimeCmdDescription, setWaitUntilTimeCmdSetting, valueOrEmptyString
public static int getCompositeWaypointCmdType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.PARALLELTRACK
, AvclMission.EXPANDINGSQUARE
, AvclMission.SECTORPATTERN
or AvclMission.WAYPOINTLIST
public static int getCompositeWaypointCmdSpeedMode(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.KNOTS
, AvclMission.METERSPERSECOND
or AvclMission.NOVALUE
public static double getCompositeWaypointCmdSpeed(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getCompositeWaypointCmdDescription(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getCompositeWaypointCmdStandoff(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getCompositeWaypointCmdTimeOut(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static void setCompositeWaypointCmdSpeed(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.KNOTS
, AvclMission.METERSPERSECOND
or AvclMission.DEFAULTZCONTROL
public static void setCompositeWaypointCmdDescription(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setCompositeWaypointCmdStandoff(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setCompositeWaypointCmdTimeOut(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static CompositeWaypointUSVCommandType createExpandingSquareCmd(int positionMode, double x, double y, double orientation, double trackSpacing, int trackCount, String turnDirection, double speed, int speedMode, double standoff, double timeOut, String description)
positionMode
- x
- y
- orientation
- turnDirection
- AvclMission.PORT
, AvclMission.STARBOARD
, AvclMission.LEFT
or AvclMission.RIGHT
speed
- trackCount
- description
- trackSpacing
- timeOut
- speedMode
- standoff
- CompositeWaypointUSVCommandType
public static CompositeWaypointUSVCommandType createExpandingSquareCmd(int positionMode, String x, String y, double orientation, double trackSpacing, int trackCount, String turnDirection, double speed, int speedMode, double standoff, double timeOut, String description)
positionMode
- x
- y
- orientation
- speedMode
- timeOut
- trackSpacing
- turnDirection
- AvclMission.PORT
, AvclMission.STARBOARD
, AvclMission.LEFT
or AvclMission.RIGHT
trackCount
- speed
- description
- standoff
- CompositeWaypointUSVCommandType
public static int getExpandingSquareCmdPositType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static String getExpandingSquareCmdX(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getExpandingSquareCmdY(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getExpandingSquareCmdTrackSpacing(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static int getExpandingSquareCmdTrackCount(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getExpandingSquareCmdOrientation(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getExpandingSquareCmdTurnDirection(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static void setExpandingSquareCmdX(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setExpandingSquareCmdX(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestmode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
newValue
- public static void setExpandingSquareCmdY(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setExpandingSquareCmdY(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setExpandingSquareCmdTrackSpacing(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setExpandingSquareCmdTrackCount(Object cmd, int newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setExpandingSquareCmdOrientation(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setExpandingSquareCmdTurnDirection(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static JAXBElement<?> createLoiterCmd(double x, double y, int positMode, double speed, int speedMode, double timeOut, String description)
x
- speed
- positMode
- y
- description
- speedMode
- timeOut
- JAXBElement
public static LoiterUSVCommandType createLoiterCmd(String x, String y, int positMode, double speed, int speedMode, double timeOut, String description)
x
- y
- positMode
- description
- speed
- timeOut
- speedMode
- LoiterUSVCommandType
public static String getLoiterCmdX(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getLoiterCmdY(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static int getLoiterCmdPositType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static int getLoiterCmdSpeedType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.KNOTS
, AvclMission.METERSPERSECOND
or AvclMission.NOVALUE
public static double getLoiterCmdSpeed(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getLoiterCmdTimeOut(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getLoiterCmdDescription(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static void setLoiterCmdX(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setLoiterCmdX(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setLoiterCmdY(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setLoiterCmdY(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setLoiterCmdSpeed(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.KNOTS
, AvclMission.METERSPERSECOND
or AvclMission.DEFAULTZCONTROL
public static void setLoiterCmdTimeOut(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setLoiterCmdDescription(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static CompositeWaypointUSVCommandType createParallelTrackCmd(int positionMode, double x, double y, double orientation, double trackLength, double trackSpacing, int trackCount, String firstTurn, double speed, int speedMode, double standoff, double timeOut, String description)
positionMode
- x
- y
- firstTurn
- trackLength
- orientation
- trackSpacing
- speed
- trackCount
- speedMode
- description
- standoff
- timeOut
- CompositeWaypointUSVCommandType
public static CompositeWaypointUSVCommandType createParallelTrackCmd(int positionMode, String x, String y, double orientation, double trackLength, double trackSpacing, int trackCount, String firstTurn, double speed, int speedMode, double standoff, double timeOut, String description)
positionMode
- x
- trackCount
- y
- description
- trackLength
- trackSpacing
- orientation
- firstTurn
- speed
- standoff
- speedMode
- timeOut
- CompositeWaypointUSVCommandType
public static int getParallelTrackCmdPositType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static String getParallelTrackCmdX(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getParallelTrackCmdY(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getParallelTrackCmdTrackLength(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getParallelTrackCmdTrackSpacing(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static int getParallelTrackCmdTrackCount(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getParallelTrackCmdOrientation(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getParallelTrackCmdFirstTurn(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static void setParallelTrackCmdX(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setParallelTrackCmdX(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestmode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
newValue
- public static void setParallelTrackCmdY(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setParallelTrackCmdY(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setParallelTrackCmdTrackLength(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setParallelTrackCmdTrackSpacing(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setParallelTrackCmdTrackCount(Object cmd, int newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setParallelTrackCmdOrientation(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setParallelTrackCmdFirstTurn(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static JAXBElement<?> createSetPositionCmd(double xString, double yString, int positType, String description)
xString
- or latitude position depending on position typeyString
- or longitude position depending on position typepositType
- enumeration for type of horizontal position representationdescription
- to be assigned to this pointpublic static SetPositionUSVCommandType createSetPositionCmd(String xString, String yString, int positType, String description)
xString
- or latitude position depending on position typeyString
- or longitude position depending on position typepositType
- enumeration for type of horizontal position representationdescription
- to be assigned to this pointpublic static int getSetPositionCmdPositionType(Object cmd)
cmd
- AvclScriptCommands
command of interest the position command to parseAvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static String getSetPositionCmdX(Object cmd)
cmd
- AvclScriptCommands
command of interest the position command to parsepublic static String getSetPositionCmdY(Object cmd)
cmd
- AvclScriptCommands
command of interest the position command to parsepublic static String getSetPositionCmdDescription(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static void setSetPositionCmdX(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSetPositionCmdX(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSetPositionCmdY(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSetPositionCmdY(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSetPositionCmdDescription(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static CompositeWaypointUSVCommandType createSectorPatternCmd(int positionMode, double x, double y, double orientation, double radius, double sectorSize, int sectorCount, String turnDirection, double speed, int speedMode, double standoff, double timeOut, String description)
positionMode
- x
- timeOut
- turnDirection
- AvclMission.PORT
, AvclMission.STARBOARD
, AvclMission.LEFT
or AvclMission.RIGHT
radius
- orientation
- y
- sectorSize
- speed
- description
- speedMode
- sectorCount
- standoff
- CompositeWaypointUSVCommandType
public static CompositeWaypointUSVCommandType createSectorPatternCmd(int positionMode, String x, String y, double orientation, double radius, double sectorSize, int sectorCount, String turnDirection, double speed, int speedMode, double standoff, double timeOut, String description)
positionMode
- description
- x
- orientation
- y
- sectorSize
- sectorCount
- radius
- turnDirection
- AvclMission.PORT
, AvclMission.STARBOARD
, AvclMission.LEFT
or AvclMission.RIGHT
speedMode
- standoff
- speed
- timeOut
- CompositeWaypointUSVCommandType
public static int getSectorPatternCmdPositType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static String getSectorPatternCmdX(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getSectorPatternCmdY(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getSectorPatternCmdRadius(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getSectorPatternCmdSectorSize(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static int getSectorPatternCmdSectorCount(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getSectorPatternCmdOrientation(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getSectorPatternCmdTurnDirection(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.PORT
, AvclMission.STARBOARD
, AvclMission.LEFT
or AvclMission.RIGHT
public static void setSectorPatternCmdX(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setSectorPatternCmdX(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setSectorPatternCmdY(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setSectorPatternCmdY(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setSectorPatternCmdRadius(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSectorPatternCmdSectorSize(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSectorPatternCmdSectorCount(Object cmd, int newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSectorPatternCmdOrientation(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setSectorPatternCmdTurnDirection(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- AvclMission.PORT
, AvclMission.STARBOARD
, AvclMission.LEFT
or AvclMission.RIGHT
public static JAXBElement<?> createWaypointCmd(double x, double y, int positMode, double speed, int speedMode, double standoff, double timeOut, String description)
x
- y
- timeOut
- positMode
- speed
- description
- speedMode
- standoff
- JAXBElement
public static WaypointUSVCommandType createWaypointCmd(String x, String y, int positMode, double speed, int speedMode, double standoff, double timeOut, String description)
x
- y
- positMode
- standoff
- speed
- speedMode
- timeOut
- description
- WaypointUSVCommandType
public static String getWaypointCmdX(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getWaypointCmdY(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static int getWaypointCmdPositionType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static String getWaypointCmdTrackMode(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.DIRECTTO
or AvclMission.TRACKTO
public static int getWaypointCmdSpeedType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.KNOTS
or AvclMission.METERSPERSECOND
public static double getWaypointCmdSpeed(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getWaypointCmdStandoff(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static double getWaypointCmdTimeOut(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getWaypointCmdDescription(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static void setWaypointCmdX(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setWaypointCmdX(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setWaypointCmdY(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setWaypointCmdY(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static void setWaypointCmdSpeed(Object cmd, double newValue, int mode)
cmd
- AvclScriptCommands
command of interestnewValue
- mode
- AvclMission.KNOTS
, AvclMission.METERSPERSECOND
or AvclMission.DEFAULTZCONTROL
public static void setWaypointCmdStandoff(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setWaypointCmdTrackMode(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- AvclMission.DIRECTTO
or AvclMission.TRACKTO
public static void setWaypointCmdTimeOut(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setWaypointCmdDescription(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
-