Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nilsson-irfu committed Jun 17, 2016
1 parent 7c73afc commit 3855a74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mission/mms/+mms/sc_orient.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
ic=spacecraft;
end

if(isempty(MMS_CONST)), MMS_CONST=mms_constants; end

%% Choose action
irf.log('debug',['action=' action]);
switch lower(action)
Expand Down Expand Up @@ -235,7 +237,7 @@
data.v2=eval(['[' get(data.vec2Hndl,'string') ']']);
if length(data.v2)==1, data.flag_v2=0;end;
end
%% USE MMS_CONST.Phaseshift.p1 etc..
phase_p1=data.phase/180*pi + pi/6;
phase_p3=data.phase/180*pi + 2*pi/3;
phase_p2=data.phase/180*pi + 7*pi/6;
Expand Down

0 comments on commit 3855a74

Please sign in to comment.