compute_motion.m

来自「用EKF」· M 代码 · 共 10 行

M
10
字号
%-------------------------------------------------------
function [motion, odometry, map] = compute_motion(map, step),
%-------------------------------------------------------
global ground; 

motion = ground.motion(step - 1);
ground = move_vehicle (ground, motion);
odometry = get_odometry (motion);
map = EKF_prediction (map, odometry);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?