Commit 49479a34 authored by Florian Pausch's avatar Florian Pausch

included information about .dataCalibration

removed static method plot since it depends on the actual class object

updated plot routines
parent 5d855d2c
...@@ -43,13 +43,13 @@ for idx=1:this.numRigidBodies ...@@ -43,13 +43,13 @@ for idx=1:this.numRigidBodies
xlabel('Time in [sec]') xlabel('Time in [sec]')
ylabel('Orientation in [deg]') ylabel('Orientation in [deg]')
grid on grid on
legend('Roll','Pitch','Yaw')
axis tight axis tight
% plot time cursor % plot time cursor
minvalOri = min([this.data(idx).orientation.roll_deg; this.data(idx).orientation.pitch_deg; this.data(idx).orientation.yaw_deg]); minvalOri = min([this.data(idx).orientation.roll_deg; this.data(idx).orientation.pitch_deg; this.data(idx).orientation.yaw_deg]);
maxvalOri = max([this.data(idx).orientation.roll_deg; this.data(idx).orientation.pitch_deg; this.data(idx).orientation.yaw_deg]); maxvalOri = max([this.data(idx).orientation.roll_deg; this.data(idx).orientation.pitch_deg; this.data(idx).orientation.yaw_deg]);
hl1(idx) = line([0 0],[minvalOri maxvalOri],'color',[.5 .5 .5]); hl1(idx) = line([0 0],[minvalOri maxvalOri],'color',[.5 .5 .5]);
legend('Roll','Pitch','Yaw','Current Time Frame')
% initial vu animation % initial vu animation
subplot(this.numRigidBodies,numColumns,numColumns*(idx-1)+2); subplot(this.numRigidBodies,numColumns,numColumns*(idx-1)+2);
...@@ -67,7 +67,7 @@ for idx=1:this.numRigidBodies ...@@ -67,7 +67,7 @@ for idx=1:this.numRigidBodies
axis([-r r -r r -r r]) axis([-r r -r r -r r])
view([-1 1 1]) view([-1 1 1])
zoom(1.1) % zoom(1.1)
hold on hold on
......
...@@ -50,13 +50,13 @@ for idx=1:size(LogData,2) ...@@ -50,13 +50,13 @@ for idx=1:size(LogData,2)
xlabel('Time in [sec]') xlabel('Time in [sec]')
ylabel('Orientation in [deg]') ylabel('Orientation in [deg]')
grid on grid on
legend('Roll','Pitch','Yaw')
axis tight axis tight
% plot time cursor % plot time cursor
minvalOri = min([LogData(jdx).orientation.roll_deg; LogData(jdx).orientation.pitch_deg; LogData(jdx).orientation.yaw_deg]); minvalOri = min([LogData(jdx).orientation.roll_deg; LogData(jdx).orientation.pitch_deg; LogData(jdx).orientation.yaw_deg]);
maxvalOri = max([LogData(jdx).orientation.roll_deg; LogData(jdx).orientation.pitch_deg; LogData(jdx).orientation.yaw_deg]); maxvalOri = max([LogData(jdx).orientation.roll_deg; LogData(jdx).orientation.pitch_deg; LogData(jdx).orientation.yaw_deg]);
hl1(idx) = line([0 0],[minvalOri maxvalOri],'color',[.5 .5 .5]); hl1(idx) = line([0 0],[minvalOri maxvalOri],'color',[.5 .5 .5]);
legend('Roll','Pitch','Yaw','Current Time Frame')
% initial vu animation % initial vu animation
subplot(size(LogData,2),numColumns,numColumns*(idx-1)+2); subplot(size(LogData,2),numColumns,numColumns*(idx-1)+2);
...@@ -74,7 +74,7 @@ for idx=1:size(LogData,2) ...@@ -74,7 +74,7 @@ for idx=1:size(LogData,2)
axis([-r r -r r -r r]) axis([-r r -r r -r r])
view([-1 1 1]) view([-1 1 1])
zoom(1.1) % zoom(1.1)
hold on hold on
......
Markdown is supported
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