PositionVelocityModel
Description
An PositionVelocityModel object contains a measurement model that measures
the position and velocity of the target in the defined reference frame. The measurement
convention is: measurement = [position;velocity]. You can use this model to
define the measurement model for a CustomSensor
object.
Creation
To create an PositionVelocityModel object, use the sensorMeasurementModel function with the "position-velocity"
input argument. For example:
measurementModel = sensorMeasurementModel("position-velocity")Properties
Measurement dimensions, specified as a 1, 2, or 3. This property specifies if the measurement is in 1-D, 2-D or 3-D.
Example: 2
Position of the sensor with respect to the target state reference frame, specified
as a M-by-1 real column vector or a
M-by-N real matrix. M must be
the same as the value specified in the NumMeasurementDimensions
property. Units are in meters.
When specified as a M-by-1 real column vector, the
OriginPositiontakes the form[x;y;z].When specified as a M-by-N real matrix, the
OriginPositionrepresents sequential frames. For example, if the sensor is mounted on a tower, and you know both the sensor's mounting position relative to the tower and the tower's position relative to the target frame, you can specifyOriginPositionas[sensorMounting towerPosition], wheresensorMountingis the sensor's mounting position relative to the tower andtowerPositionis the tower's position relative to the target state's reference frame. The number of the frame, N, must be consistent across theOriginPositionandOrientationproperties.
Example: [15 20 40]
Velocity of the sensor reference frame with respect to the target state reference
frame, specified as a M-by-1 real column vector or a
M-by-N real matrix. M must be
the same as the value specified in the NumMeasurementDimensions
property. Units are in meters.
When specified as a M-by-1 real column vector, the
OriginVelocitytakes the form[vx;vy;vz].When specified as a M-by-N real matrix, the
OriginVelocityrepresents sequential frames. For example, if the sensor is mounted on a plane but can move independently of the plane, and you know both the sensor's velocity relative to the plane and the plane's velocity relative to the target frame, you can specifyOriginVelocityas[sensorMountingVelocity planeVelocity], wheresensorMountingVelocityis the sensor's velocity relative to the plane andplaneVelocityis the plane's velocity relative to the target state's reference frame. The number of the frame, N, must be consistent across theOriginPosition,OrientationandOriginVelocityproperties.
Example: [0 1 0]
Orientation of the sensor with respect to the target state reference frame,
specified as a M-by-M real matrix or a
M-by-M-by-N real matrix.
M must be the same as the value specified in the
NumMeasurementDimensions property. Units are in degrees.
When specified as a M-by-M real matrix, the
Orientationrepresents the sensor's orientation relative to the target state reference frame.When specified as a M-by-M-by-N real matrix, the
Orientationrepresents sequential frames. For example, if the sensor is mounted on a tower, and you know both the sensor's mounting orientation relative to the tower and the tower's orientation relative to the target frame, you can specifyOrientationascat(3,sensorMountingOrientation,towerOrientation), wheresensorMountingOrientationis the sensor's orientation relative to the tower andtowerOrientationis the tower's orientation relative to the target state's reference frame. The number of the frame, N, must be consistent across theOriginPositionandOrientationproperties.
Variance of error in position measurement, specified as a real-valued
M-by-M matrix. M must be
the same as the value specified in the NumMeasurementDimensions
property.
Example: 5*eye(3)
Variance of error in the velocity measurement, specified as a real-valued
M-by-M matrix. M must be the
same as the value specified in the NumMeasurementDimensions
property.
Example: 3*eye(3)
Version History
Introduced in R2025a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)