Skip to content
Snippets Groups Projects
Verified Commit fc91c111 authored by leprob001's avatar leprob001
Browse files

feat: The new positions panel show launch and recover positions in trajectory output window

parent a06c78c7
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ function [] = trajectoryOutput(pCallbacks)
%TRAJECTORY Summary of this function goes here
% Detailed explanation goes here
global artoaGui artoaWorkspace;
global artoaGui artoaWorkspace artoaDataInput;
%% Initialize required variables
......@@ -179,13 +179,47 @@ artoaGui.trajectoryOutput.selectTrajectoryHintVerticalVelocities.ForegroundColor
%% Right sidebar
%% Positions frame
artoaGui.trajectoryOutput.framePositions = uipanel( ...
'Title', 'Positions', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
'Position', [rightSidebarLeft, .88, rightSidebarWidth, .1] ...
);
launchpos = sprintf('%.4f, ' , artoaDataInput.rfb.FLOAT.launchpos);
launchpos = launchpos(1:end-2);
recoverpos = sprintf('%.4f, ' , artoaDataInput.rfb.FLOAT.recoverpos);
recoverpos = recoverpos(1:end-2);
artoaGui.trajectoryOutput.textLaunchPosition = uicontrol( ...
'Parent', artoaGui.trajectoryOutput.framePositions, ...
'String', ['Launch: ' launchpos ], ...
'Style', 'text', ...
'FontSize', 10, ...
'Units', 'normalized', ...
'Position', [.1 .6 .8 .3], ...
'CallBack', '' ...
);
artoaGui.trajectoryOutput.textRecoverPosition = uicontrol( ...
'Parent', artoaGui.trajectoryOutput.framePositions, ...
'String', ['Recover: ' recoverpos ], ...
'Style', 'text', ...
'FontSize', 10, ...
'Units', 'normalized', ...
'Position', [.1 .2 .8 .3], ...
'CallBack', '' ...
);
%% Track list frame
artoaGui.trajectoryOutput.frameTrackList = uipanel( ...
'Title', 'Generated tracks', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
'Position', [rightSidebarLeft, .675, rightSidebarWidth, .3] ...
'Position', [rightSidebarLeft, .67, rightSidebarWidth, .2] ...
);
columns = { ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment