Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VABorisov
labs_TITP
Commits
a563b6cf
Commit
a563b6cf
authored
Nov 12, 2021
by
VABorisov
Browse files
Update labRLS.py
parent
1795e5d3
Pipeline
#3955
passed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
labRLS.py
View file @
a563b6cf
...
...
@@ -57,7 +57,7 @@ class RLS:
az
=
math
.
atan
((
missle
.
y0
-
result
[
1
])
/
(
missle
.
x0
-
result
[
0
]))
f
.
write
(
"Missle"
+
" "
+
str
((
object
[
0
])[
1
:])
+
" "
+
":"
+
" "
+
"D="
+
str
(
D
)
+
" "
+
"A="
+
str
(
az
)
+
'
\n
'
)
T
=
round
(
T
+
dt
,
3
)
targets
=
[[
'A1'
,
14
,
8
,
11
,
1
6
],
[
'M1'
,
9
,
7
,
28
,
32
,
48
],[
'A2'
,
21
,
17
,
22
,
17
],
[
'M2'
,
19
,
16
,
1
,
17
,
14
],[
'A3'
,
46
,
44
,
9
,
5
],
[
'M3'
,
25
,
14
,
31
,
5
,
17
]]
rls
=
RLS
(
1
6
,
2
3
,
2
00
,
targets
=
targets
)
targets
=
[[
'A1'
,
2
,
3
,
5
,
6
],
[
'M1'
,
2
,
8
,
4
,
5
,
1
]]
rls
=
RLS
(
1
,
3
,
5
00
,
targets
=
targets
)
rls
.
Peleng
(
1
,
2
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment