Commit 5a447bac authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

parent 2e4aa090
from argparse import ArgumentParser
from subprocess import CalledProcessError, Popen, check_call
from time import sleep
parser = ArgumentParser()
parser.add_argument('robotpkg_prefix', nargs='?', default='/opt/openrobots')
parser.add_argument('python', nargs='?', default=27)
parser.add_argument('qt', nargs='?', default=4)
parser.add_argument('--robotpkg_prefix', default='/opt/openrobots')
parser.add_argument('--python', default=27)
parser.add_argument('--qt', default=4)
'--rbprm_path', default='/local/gsaurel/humanoid-path-planner', help='TODO this scripts should be installed')
def wrap_with_processes(processes, f, deps):
......@@ -12,6 +15,7 @@ def wrap_with_processes(processes, f, deps):
check_installed(deps, **kwargs)
plist = [Popen(process) for process in processes]
print('Done. Press Enter to exit')
#!/usr/bin/env python2
from pathlib import Path
from subprocess import Popen
import pinocchio as pin
from integration_utils import wrap_with_processes
DEPS = ['py-qt-hpp-gepetto-viewer', 'hpp-rbprm-corba', 'osg-dae', 'py-pinocchio']
def main(rbprm_path, **kwargs):
path = Path(rbprm_path) / 'hpp-rbprm-corba/script/scenarios/demos'
Popen(['python2', ''], cwd=str(path))
if __name__ == '__main__':
wrap_with_processes(['gepetto-gui', 'hpp-rbprm-server'], main, DEPS)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment