Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-daniel committed Jan 17, 2023
1 parent 410a9a8 commit 25934ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webots_ros2_driver/webots_ros2_driver/ros2_supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
from rclpy.qos import qos_profile_services_default
from rosgraph_msgs.msg import Clock
from std_msgs.msg import String
sys.path.insert(1, os.path.join(os.path.dirname(webots_ros2_importer.__file__), 'urdf2webots'))
from urdf2webots.importer import convertUrdfFile, convertUrdfContent
from webots_ros2_msgs.srv import SpawnUrdfRobot, SpawnNodeFromString
from controller import Supervisor
Expand All @@ -40,8 +41,7 @@
# to avoid to load another library named "controller" or "vehicle".
sys.path.insert(1, os.path.dirname(vehicle.__file__))
sys.path.insert(1, os.path.dirname(controller.__file__))
sys.path.insert(1, os.path.join(os.path.dirname(webots_ros2_importer.__file__), 'urdf2webots'))

from controller import Supervisor

class Ros2Supervisor(Node):
def __init__(self):
Expand Down

0 comments on commit 25934ef

Please sign in to comment.