Commit 423721bc authored by Farid Alijani's avatar Farid Alijani
Browse files
parents 3d9788ba 245e7f58
This diff is collapsed.
This diff is collapsed.
clc;
close all;
clear all;
%% Import data and time conversion
% data 1:
odom_Matrix_data_1 = csvread('odom_PID_.39_.0005_.01.txt',1,0);
% time in position
TimeP_ros_data_1 = odom_Matrix_data_1(:,1); % ros time, needs to be converted to sec...
% duriation = end_time - start_time
durationP_data_1 = (TimeP_ros_data_1(size(TimeP_ros_data_1,1),:) - TimeP_ros_data_1(1,:))*10^(-9);
t_P_sec_data_1 = 0:durationP_data_1/size(TimeP_ros_data_1,1):durationP_data_1;
t_P_sec_data_1(:,size(t_P_sec_data_1,2)) = [];
%% Pose estimation
%data 1:
odom_X_data_1 = odom_Matrix_data_1(:,2);
odom_Y_data_1 = odom_Matrix_data_1(:,3);
figure;
plot(odom_Y_data_1,odom_X_data_1);
\ No newline at end of file
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment