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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- 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)