コード例 #1
0
def rosrun(stack, fname, *params):
    rosrun_bin = pal_path.get_ros_bin_path('rosrun')
    process = spawn_command(rosrun_bin, stack, fname, *params)
    if process is None:
        raise LaunchError(stack, fname, '[execution failed]')
コード例 #2
0
ファイル: pal_launch.py プロジェクト: RainCT/pal_python
def rosrun(stack, fname, *params):
    rosrun_bin = pal_path.get_ros_bin_path('rosrun')
    process = spawn_command(rosrun_bin, stack, fname, *params)
    if process is None:
        raise LaunchError(stack, fname, '[execution failed]')
コード例 #3
0
def roslaunch(stack, fname, *params):
    roslaunch_bin = pal_path.get_ros_bin_path('roslaunch')
    launchfile = fname if fname.endswith('.launch') else '%s.launch' % fname
    process = spawn_command(roslaunch_bin, stack, launchfile, *params)
    if process is None:
        raise LaunchError(stack, launchfile, '[execution failed]')
コード例 #4
0
ファイル: pal_launch.py プロジェクト: RainCT/pal_python
def roslaunch(stack, fname, *params):
    roslaunch_bin = pal_path.get_ros_bin_path('roslaunch')
    launchfile = fname if fname.endswith('.launch') else '%s.launch' % fname
    process = spawn_command(roslaunch_bin, stack, launchfile, *params)
    if process is None:
        raise LaunchError(stack, launchfile, '[execution failed]')