dynamic conda finding
This commit is contained in:
@@ -23,12 +23,17 @@ Viewing the output
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from _conda_utils import find_conda_python # noqa: E402
|
||||
|
||||
from launch import LaunchDescription
|
||||
from launch.actions import ExecuteProcess
|
||||
|
||||
|
||||
def generate_launch_description():
|
||||
python_exe = os.path.expanduser('~/miniconda3/envs/mmpose/bin/python3')
|
||||
python_exe = find_conda_python('mmpose')
|
||||
keyreID_path = os.path.expanduser('~/KeyRe-ID')
|
||||
|
||||
return LaunchDescription([
|
||||
|
||||
Reference in New Issue
Block a user