File tree Expand file tree Collapse file tree 4 files changed +0
-48
lines changed
Expand file tree Collapse file tree 4 files changed +0
-48
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,6 @@ SHOW_KITE = true
5757
5858viewer:: Viewer3D = Viewer3D (SHOW_KITE, " WinchON" )
5959
60- function bring_viewer_to_front ()
61- if Sys. isapple ()
62- sleep (0.2 )
63- try
64- script = " tell application \" System Events\" to set frontmost of first process whose unix id is $(getpid ()) to true"
65- run (pipeline (` osascript -e $script ` , stdout = devnull , stderr = devnull ))
66- catch
67- end
68- end
69- nothing
70- end
71-
7260T:: Vector{Float64} = zeros (Int64 (MAX_TIME/ dt))
7361AZIMUTH:: Vector{Float64} = zeros (Int64 (MAX_TIME/ dt))
7462HEADING:: Vector{Float64} = zeros (Int64 (MAX_TIME/ dt))
Original file line number Diff line number Diff line change @@ -18,18 +18,6 @@ using KiteViewers
1818using ControlPlots: plot, plot2d, plotx
1919toc ()
2020
21- function bring_viewer_to_front ()
22- if Sys. isapple ()
23- sleep (0.2 )
24- try
25- script = " tell application \" System Events\" to set frontmost of first process whose unix id is $(getpid ()) to true"
26- run (pipeline (` osascript -e $script ` , stdout = devnull , stderr = devnull ))
27- catch
28- end
29- end
30- nothing
31- end
32-
3321set:: Settings = deepcopy (se ())
3422
3523# the following values can be changed to match your interest
Original file line number Diff line number Diff line change @@ -63,18 +63,6 @@ UPWIND_DIR2 = -pi/2+deg2rad(90) # Zero is at north; clockwise positive
6363
6464viewer:: Viewer3D = Viewer3D (SHOW_KITE, " WinchON" )
6565
66- function bring_viewer_to_front ()
67- if Sys. isapple ()
68- sleep (0.2 )
69- try
70- script = " tell application \" System Events\" to set frontmost of first process whose unix id is $(getpid ()) to true"
71- run (pipeline (` osascript -e $script ` , stdout = devnull , stderr = devnull ))
72- catch
73- end
74- end
75- nothing
76- end
77-
7866steps = 0
7967T:: Vector{Float64} = zeros (Int64 (MAX_TIME/ dt))
8068AZIMUTH:: Vector{Float64} = zeros (Int64 (MAX_TIME/ dt))
Original file line number Diff line number Diff line change @@ -18,18 +18,6 @@ using Rotations, StaticArrays
1818using KiteViewers
1919toc ()
2020
21- function bring_viewer_to_front ()
22- if Sys. isapple ()
23- sleep (0.2 )
24- try
25- script = " tell application \" System Events\" to set frontmost of first process whose unix id is $(getpid ()) to true"
26- run (pipeline (` osascript -e $script ` , stdout = devnull , stderr = devnull ))
27- catch
28- end
29- end
30- nothing
31- end
32-
3321# yaw = deg2rad(0) # noise pointing to the north
3422yaw = deg2rad (180 ) # noise pointing to the south
3523# yaw = deg2rad(-90) # noise pointing to the west
You can’t perform that action at this time.
0 commit comments