MATLAB 帮助中心
Reset states for insEKF
insEKF
Since R2022b
reset(filter)
reset(filter) resets the State and StateCovariance properties of the insEKF object filter to their default values.
filter
State
StateCovariance
example
collapse all
Create an insEKF filter object.
filter = insEKF
filter = insEKF with properties: State: [13×1 double] StateCovariance: [13×13 double] AdditiveProcessNoise: [13×13 double] MotionModel: [1×1 insMotionOrientation] Sensors: {[1×1 insAccelerometer] [1×1 insGyroscope]} SensorNames: {'Accelerometer' 'Gyroscope'} ReferenceFrame: 'NED'
Show the default angular velocity state using the stateparts object function.
stateparts
stateparts(filter,"AngularVelocity")
ans = 1×3 0 0 0
Specify the angular velocity state as [0.1 0.1 0.1] rad/s using the stateparts object function.
stateparts(filter,"AngularVelocity",[0.1 0.1 0.1]) stateparts(filter,"AngularVelocity")
ans = 1×3 0.1000 0.1000 0.1000
Reset the filter and show the angular velocity state.
reset(filter) stateparts(filter,"AngularVelocity")
INS filter, specified as an insEKF object.
Introduced in R2022b
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处