public class VelocityInputProbe extends NumericInputProbe
velocity
property and is specified in world
coordinates. For components with orientation (Frame and FixedMeshBody), the
velocity will be a 6-vector (Twist) giving both translational and angular
velocity.Probe.ExportProps, Probe.ImportExportFileInfo
ModelComponent.NavpanelVisibility
myProps
EXPLICIT_TIME, mySmallDisplay
useOldSaveMethod, writeStartStopTimeInSeconds
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES, REST_POSITION
Constructor and Description |
---|
VelocityInputProbe()
No-args constructor needed for scanning.
|
VelocityInputProbe(java.lang.String name,
java.util.Collection<? extends ModelComponent> comps,
double startTime,
double stopTime)
Constructs a VelocityInputProbe for a list of Point, Frame, or FixedMeshBody
components specified by
comps . |
VelocityInputProbe(java.lang.String name,
java.util.Collection<? extends ModelComponent> comps,
java.lang.String filePath)
Constructs a VelocityInputProbe for a list of Point, Frame, or FixedMeshBody
components specified by
comps . |
VelocityInputProbe(java.lang.String name,
ModelComponent comp,
double startTime,
double stopTime)
Constructs a VelocityInputProbe for a single Point, Frame, or FixedMeshBody,
as specified by
comp . |
VelocityInputProbe(java.lang.String name,
ModelComponent comp,
java.lang.String filePath)
Constructs a VelocityInputProbe for a single Point, Frame, or FixedMeshBody,
as specified by
comp . |
Modifier and Type | Method and Description |
---|---|
static VelocityInputProbe |
createInterpolated(java.lang.String name,
NumericProbeBase source,
double interval)
Creates a VelocityInputProbe by differentiating the position data in a
source probe.
|
static VelocityInputProbe |
createNumeric(java.lang.String name,
NumericProbeBase source,
double interval)
Creates a VelocityInputProbe by numerically differentiating the position
data in a source probe.
|
addData, addData, addData, addData, addData, addData, apply, clone, copy, createState, getAllPropertyInfo, getCopyReferences, getExtendData, getInput, getState, hasState, isDuplicatable, isEditable, isInput, isSettable, load, loadEmpty, postscan, save, scan, scanItem, set, set, setAttachedFileName, setAttachedFileName, setData, setData, setExtendData, setInputProperties, setState, write, writeItems
addData, applyDefaultDisplayRanges, clearData, decreaseDisplayRanges, dispose, export, getAttachedProperties, getData, getDefaultDisplayMax, getDefaultDisplayMin, getDefaultDisplayRange, getDisplay, getDrivers, getExportFileInfo, getExportProps, getFormat, getInterpolation, getInterpolationOrder, getLegend, getMatlabName, getMinMaxValues, getNumericList, getOrderedTraceIndex, getPlotTraceInfo, getRotationRep, getRotationSubvecOffsets, getTraceColor, getTraceLabel, getTraceManager, getValues, getVariables, getVisibleMinMaxValues, getVisibleRange, getVisibleRange, getVsize, importData, importText, increaseDisplayRanges, isCloneable, isDisplayable, isEmpty, isPrintable, isSmallDisplayVisible, isTraceVisible, isValidVariableName, isWritable, loadFromMatlab, print, read, removeDisplay, removeLegend, resetTraceColors, resetTraceOrder, saveToMatlab, scaleNumericList, setDefaultDisplayRange, setDefaultDisplayRange, setFormat, setInterpolation, setInterpolationOrder, setLegend, setLegendLabels, setScale, setSmallDisplayVisible, setTraceColor, setTraceLabel, setTraceOrder, setTraceVisible, setValues, setValues, smoothWithMovingAverage, smoothWithSavitzkyGolay, swapPlotTraceOrder, updateDisplays, updateDisplays, updateDisplaysForPropertyChanges, updateDisplaysWithoutAutoRanging, writeText
getAttachedFile, getAttachedFileName, getChildren, getClippedVirtualTime, getDefaultScale, getDefaultStartTime, getDefaultStopTime, getDefaultUpdateInterval, getDuration, getExportFile, getExportFileName, getFileFromPath, getImportFile, getImportFileInfo, getImportFileName, getInitialState, getPathFromFile, getProperty, getScale, getStartTime, getStopTime, getTimelineTime, getTrack, getUpdateInterval, getVirtualTime, hasAttachedFile, hasChildren, isAttachedFileRelative, isEventTime, isScalable, nextEventTime, setExportFileName, setImportFileName, setInterval, setName, setScalable, setStartStopTimes, setStartTime, setStopTime, setTrack, setUpdateInterval
finalize, getModel, initialize, isActive, setActive, setModel, setModelFromComponent, write
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isScanning, isSelected, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
isWritable, write
public VelocityInputProbe()
public VelocityInputProbe(java.lang.String name, ModelComponent comp, double startTime, double stopTime)
comp
. Data must be added after the constructor is
called.name
- if non-null, gives the name of the probecomp
- specifies the Point, Frame, or FixedMeshBodystartTime
- start time of the probestopTime
- stop time of the probepublic VelocityInputProbe(java.lang.String name, java.util.Collection<? extends ModelComponent> comps, double startTime, double stopTime)
comps
. Data must be added after the
constructor is called.name
- if non-null, gives the name of the probecomps
- specifies the Point, Frame, or FixedMeshBody componentsstartTime
- start time of the probestopTime
- stop time of the probepublic VelocityInputProbe(java.lang.String name, ModelComponent comp, java.lang.String filePath) throws java.io.IOException
comp
. Probe data, plus its interpolation method
and start and stop times, are specified in a probe file.name
- if non-null, gives the name of the probecomp
- specifies the Point, Frame, or FixedMeshBodyfilePath
- path name of the probe data filejava.io.IOException
- if a file I/O error occurspublic VelocityInputProbe(java.lang.String name, java.util.Collection<? extends ModelComponent> comps, java.lang.String filePath) throws java.io.IOException
comps
. Probe data, plus its interpolation
method and start and stop times, are specified in a probe file.name
- if non-null, gives the name of the probecomps
- specifies the Point, Frame, or FixedMeshBody componentsfilePath
- path name of the probe data filejava.io.IOException
- if a file I/O error occurspublic static VelocityInputProbe createNumeric(java.lang.String name, NumericProbeBase source, double interval)
PositionInputProbe
, PositionOutputProbe
, or a probe with an
equivalent property/component composition. The differentation is done by
estimating the (linear) derivative at the mid point between each knot,
and then interpolating these values between the mid points.
To have a property/component composition equivalent to a PositionOutputProbe
or PositionOutputProbe
, the source probe
must reference the position
properties of Point
components, or the position
and orientation
properties of
the frame-based components Frame
or FixedMeshBody
. For
frame-based components, the orientation
property must be
associated with rotational subvectors.
name
- if non-null, gives the name of the probesource
- PositionInputProbe or PositionOutputProbe containing
the position data to differentiateinterval
- knot time spacing interval, or -1
if knot
times should be determined from the source probepublic static VelocityInputProbe createInterpolated(java.lang.String name, NumericProbeBase source, double interval)
PositionInputProbe
, PositionOutputProbe
, or a probe with an
equivalent property/component composition. The differentiation is
performed on the function defined by the source probe's interpolation
method, as returned by by NumericProbeBase.getInterpolation()
.
To have a property/component composition equivalent equivalent to a
PositionOutputProbe
or PositionOutputProbe
, the source
probe must reference the position
properties of Point
components, or the position
and orientation
properties of
the frame-based components Frame
or FixedMeshBody
. For
frame-based components, the orientation
property must be
associated with rotational subvectors.
name
- if non-null, gives the name of the probesource
- PositionInputProbe or PositionOutputProbe containing
the position data to differentiateinterval
- knot time spacing interval, or -1
if knot
times should be determined from the source probe