public class UgvScriptCommands extends AvclScriptCommands
Constructor and Description |
---|
UgvScriptCommands() |
Modifier and Type | Method and Description |
---|---|
static CompositeWaypointUGVCommandType |
createExpandingSquareCmd(int positionMode,
double x,
double y,
double orientation,
double trackSpacing,
int trackCount,
String turnDirection,
double speed,
double standoff,
double timeOut,
String description)
Generates a ExpandingSquare composite waypoint command
|
static CompositeWaypointUGVCommandType |
createExpandingSquareCmd(int positionMode,
String x,
String y,
double orientation,
double trackSpacing,
int trackCount,
String turnDirection,
double speed,
double standoff,
double timeOut,
String description)
Generates a ExpandingSquare composite waypoint command
|
static JAXBElement<?> |
createLoiterCmd(double x,
double y,
int positMode,
double timeOut,
String description)
Generates a Loiter command
|
static LoiterUGVCommandType |
createLoiterCmd(String x,
String y,
int positMode,
double timeOut,
String description)
Generates a Loiter command
|
static CompositeWaypointUGVCommandType |
createParallelTrackCmd(int positionMode,
double x,
double y,
double orientation,
double trackLength,
double trackSpacing,
int trackCount,
String firstTurn,
double speed,
double standoff,
double timeOut,
String description)
Generates a ParallelTrack composite waypoint command
|
static CompositeWaypointUGVCommandType |
createParallelTrackCmd(int positionMode,
String x,
String y,
double orientation,
double trackLength,
double trackSpacing,
int trackCount,
String firstTurn,
double speed,
double standoff,
double timeOut,
String description)
Generates a ParallelTrack composite waypoint command
|
static CompositeWaypointUGVCommandType |
createSectorPatternCmd(int positionMode,
String x,
String y,
double orientation,
double radius,
double sectorSize,
int sectorCount,
String turnDirection,
double speed,
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 SetPositionUGVCommandType |
createSetPositionCmd(String xString,
String yString,
int positType,
String description)
Generates a Position command
|
static TrackSpeedElementType |
createSetTrackSpeedCmd(double left,
double right,
String description)
Generates a SetTrackSpeed command that commands left and right tracks individually
|
static TrackSpeedElementType |
createSetTrackSpeedCmd(double all,
String description)
Generates a SetTrackSpeed command that commands all tracks to the same speed
|
static JAXBElement<?> |
createWaypointCmd(double x,
double y,
int positMode,
double speed,
int speedMode,
double standoff,
double timeOut,
String description)
Generates a Waypoint command
|
static WaypointUGVCommandType |
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 time out value of the CompositeWaypoint command
|
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 type of speed (knots or MPS) specified in a Loiter command
|
static double |
getLoiterCmdSpeed(Object cmd)
Returns the speed (knots or MPS) of a Loiter command (if specified)
|
static int |
getLoiterCmdSpeedType(Object cmd)
Returns an integer representing how the horizontal point is represented
|
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 length 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 |
getSetTrackSpeedCmdDescription(Object cmd)
Returns the description field of the SetTrackSpeed command
|
static double |
getSetTrackSpeedCmdSetting(int whichTrack,
Object cmd)
Returns the GetTrackSpeed commanded setting for "all" tracks
|
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)
Sets the speed field of a CompositeWayoint command
|
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 speed of a loiter command (knots or MPS)
|
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,
String newValue,
int mode)
Sets the x, latitude, or northing field of a SectorPattern starting position command 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 |
setSetTrackSpeedCmdDescription(Object cmd,
String newValue)
Sets the description value of a SetTrackSpeed command
|
static void |
setSetTrackSpeedCmdSpeed(Object cmd,
double newSpeed)
Sets the commanded track speed of a SetTrackSpeed command to commands all tracks to the same speed
|
static void |
setSetTrackSpeedCmdSpeed(Object cmd,
double newLeftSpeed,
double newRightSpeed)
Sets the commanded track speed of a SetTrackSpeed command to commands each track individually
|
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 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 setCompositeWaypointCmdDescription(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- public static void setCompositeWaypointCmdSpeed(Object cmd, double 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 CompositeWaypointUGVCommandType createExpandingSquareCmd(int positionMode, double x, double y, double orientation, double trackSpacing, int trackCount, String turnDirection, double speed, double standoff, double timeOut, String description)
positionMode
- x
- turnDirection
- AvclMission.RIGHT
or AvclMission.LEFT
trackSpacing
- y
- orientation
- trackCount
- timeOut
- speed
- description
- standoff
- CompositeWaypointUGVCommandType
public static CompositeWaypointUGVCommandType createExpandingSquareCmd(int positionMode, String x, String y, double orientation, double trackSpacing, int trackCount, String turnDirection, double speed, double standoff, double timeOut, String description)
positionMode
- x
- description
- y
- trackSpacing
- orientation
- trackCount
- speed
- turnDirection
- AvclMission.RIGHT
or AvclMission.LEFT
standoff
- timeOut
- CompositeWaypointUGVCommandType
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 interestAvclMission.RIGHT
or AvclMission.LEFT
public 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 interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
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
- AvclMission.RIGHT
or AvclMission.LEFT
public static JAXBElement<?> createLoiterCmd(double x, double y, int positMode, double timeOut, String description)
x
- y
- timeOut
- positMode
- description
- JAXBElement
public static LoiterUGVCommandType createLoiterCmd(String x, String y, int positMode, double timeOut, String description)
x
- y
- positMode
- timeOut
- description
- LoiterUGVCommandType
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 double getLoiterCmdSpeed(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static int getLoiterCmdSpeedType(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.KNOTS
, AvclMission.METERSPERSECOND
or AvclMission.NOVALUE
public 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
or AvclMission.METERSPERSECOND
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 CompositeWaypointUGVCommandType createParallelTrackCmd(int positionMode, double x, double y, double orientation, double trackLength, double trackSpacing, int trackCount, String firstTurn, double speed, double standoff, double timeOut, String description)
positionMode
- x
- timeOut
- y
- trackLength
- trackSpacing
- orientation
- standoff
- firstTurn
- trackCount
- speed
- description
- CompositeWaypointUGVCommandType
public static CompositeWaypointUGVCommandType createParallelTrackCmd(int positionMode, String x, String y, double orientation, double trackLength, double trackSpacing, int trackCount, String firstTurn, double speed, double standoff, double timeOut, String description)
positionMode
- orientation
- x
- y
- timeOut
- standoff
- trackLength
- trackSpacing
- speed
- description
- trackCount
- firstTurn
- CompositeWaypointUGVCommandType
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 interestnewValue
- mode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
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 interestmode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
newValue
- 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 TrackSpeedElementType createSetTrackSpeedCmd(double all, String description)
all
- commanded speed (MPS) for all tracksdescription
- to be assigned to this pointpublic static TrackSpeedElementType createSetTrackSpeedCmd(double left, double right, String description)
left
- commanded speed for the left trackright
- commanded speed for the right trackdescription
- to be assigned to this pointpublic static double getSetTrackSpeedCmdSetting(int whichTrack, Object cmd)
whichTrack
- cmd
- AvclScriptCommands
command of interest the SetTrackSpeed commandpublic static String getSetTrackSpeedCmdDescription(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static void setSetTrackSpeedCmdSpeed(Object cmd, double newSpeed)
cmd
- AvclScriptCommands
command of interest the SetTrackSpeed command elementnewSpeed
- public static void setSetTrackSpeedCmdSpeed(Object cmd, double newLeftSpeed, double newRightSpeed)
cmd
- AvclScriptCommands
command of interest the SetTrackSpeed command elementnewLeftSpeed
- newRightSpeed
- public static void setSetTrackSpeedCmdDescription(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 SetPositionUGVCommandType 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 interestAvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
public static String getSetPositionCmdX(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic static String getSetPositionCmdY(Object cmd)
cmd
- AvclScriptCommands
command of interestpublic 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 CompositeWaypointUGVCommandType createSectorPatternCmd(int positionMode, String x, String y, double orientation, double radius, double sectorSize, int sectorCount, String turnDirection, double speed, double standoff, double timeOut, String description)
positionMode
- turnDirection
- AvclMission.RIGHT
or AvclMission.LEFT
x
- orientation
- y
- description
- radius
- sectorSize
- sectorCount
- speed
- standoff
- timeOut
- CompositeWaypointUGVCommandType
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.RIGHT
or AvclMission.LEFT
public static void setSectorPatternCmdX(Object cmd, String newValue, int mode)
cmd
- AvclScriptCommands
command of interestmode
- AvclMission.XYPOSITION
, AvclMission.RELATIVEXYPOSITION
or AvclMission.LATLONGPOSITION
newValue
- 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.RIGHT
or AvclMission.LEFT
public static JAXBElement<?> createWaypointCmd(double x, double y, int positMode, double speed, int speedMode, double standoff, double timeOut, String description)
x
- y
- standoff
- positMode
- speedMode
- speed
- timeOut
- description
- JAXBElement
public static WaypointUGVCommandType createWaypointCmd(String x, String y, int positMode, double speed, int speedMode, double standoff, double timeOut, String description)
x
- y
- timeOut
- speed
- positMode
- speedMode
- standoff
- description
- WaypointUGVCommandType
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 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 String getWaypointCmdTrackMode(Object cmd)
cmd
- AvclScriptCommands
command of interestAvclMission.DIRECTTO
or AvclMission.TRACKTO
public 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
or AvclMission.METERSPERSECOND
public static void setWaypointCmdTrackMode(Object cmd, String newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- AvclMission.DIRECTTO
or AvclMission.TRACKTO
public static void setWaypointCmdStandoff(Object cmd, double newValue)
cmd
- AvclScriptCommands
command of interestnewValue
- 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
-