Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
talos_integration_tests
Commits
2027ec3c
Commit
2027ec3c
authored
Aug 25, 2020
by
Hugo_laptop
Browse files
Modified called script from talos_torque_control
parent
30991ea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/start_torque_control.py
View file @
2027ec3c
...
...
@@ -111,22 +111,22 @@ class TestSoTTalos(unittest.TestCase):
if
len
(
argv
)
==
7
and
argv
[
1
]
==
'vel'
and
argv
[
3
]
==
'pattern_generator'
:
#starting sim_walk_vel with type of walk and pg
mode
=
str
(
argv
[
2
]
+
' '
+
argv
[
3
])
executable
=
'sim_walk_vel.py'
executable
=
'
integ_
sim_walk_vel.py'
node_name
=
'sim_walk_vel_py'
elif
len
(
argv
)
==
6
and
argv
[
1
]
==
'vel'
:
#starting sim_walk_vel without pg
mode
=
str
(
argv
[
2
])
executable
=
'sim_walk_vel.py'
executable
=
'
integ_
sim_walk_vel.py'
node_name
=
'sim_walk_vel_py'
elif
len
(
argv
)
==
6
and
argv
[
2
]
==
'pattern_generator'
:
#pg argument but length of 6 means no vel argument --> sim_walk_torque
mode
=
str
(
argv
[
1
]
+
' '
+
argv
[
2
])
executable
=
'sim_walk_torque.py'
executable
=
'
integ_
sim_walk_torque.py'
node_name
=
'sim_walk_torque_py'
elif
len
(
argv
)
==
5
:
#walk type only will mean walk_torque
mode
=
str
(
argv
[
1
])
executable
=
'sim_walk_torque.py'
executable
=
'
integ_
sim_walk_torque.py'
node_name
=
'sim_walk_torque_py'
else
:
raise
ValueError
(
str
(
len
(
argv
))
+
' '
+
str
(
argv
[
0
])
+
' '
+
str
(
argv
[
1
])
+
' '
+
str
(
argv
[
2
])
+
' '
+
str
(
argv
[
3
])
+
' '
+
str
(
argv
[
4
])
+
' '
+
str
(
argv
[
5
]))
...
...
Write
Preview
Supports
Markdown
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