Update
This commit is contained in:
parent
f355682342
commit
69a7de8a7f
14
main.py
14
main.py
@ -459,13 +459,13 @@ tf_service(init=True)
|
|||||||
# right_pnp.move_to_start(right_pnp.ik_request(pose1))
|
# right_pnp.move_to_start(right_pnp.ik_request(pose1))
|
||||||
|
|
||||||
|
|
||||||
try:
|
|
||||||
print('Done with task, enter x to kill tf service')
|
print('Done with task, enter x to kill tf service')
|
||||||
while True:
|
while True:
|
||||||
a = raw_input()
|
a = raw_input()
|
||||||
if a == 'x' or x == 'X':
|
if a == 'x' or x == 'X':
|
||||||
print("x has been caught, killing tf service")
|
print("x has been caught, killing tf service")
|
||||||
tf_service(init=False)
|
tf_service(init=False)
|
||||||
|
|
||||||
print("Done, exiting")
|
print("Done, exiting")
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|||||||
8
run
8
run
@ -1,9 +1,17 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
cd RoboticSandbox
|
cd RoboticSandbox
|
||||||
|
echo 1
|
||||||
git pull
|
git pull
|
||||||
|
echo 2
|
||||||
mv main.py ../
|
mv main.py ../
|
||||||
|
echo 3
|
||||||
mv object_tf_service.py ../
|
mv object_tf_service.py ../
|
||||||
|
echo 4
|
||||||
cd ../
|
cd ../
|
||||||
|
echo 5
|
||||||
python main.py
|
python main.py
|
||||||
|
echo 6
|
||||||
mv main.py RoboticSandbox/
|
mv main.py RoboticSandbox/
|
||||||
|
echo 7
|
||||||
|
mv object_tf_service.py RoboticSandbox/
|
||||||
echo Done
|
echo Done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user