ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try adding this to your launch file:

dir_path = os.path.dirname(os.path.realpath(__file__)) sys.path.append(dir_path) from utils import method1

Try adding this to your launch file:

dir_path = os.path.dirname(os.path.realpath(__file__))
sys.path.append(dir_path)
from utils import method1

method1

Try adding this to your launch file:

import os
import sys
dir_path = os.path.dirname(os.path.realpath(__file__))
sys.path.append(dir_path)
from utils import method1