You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using leaderboard v2 and want to use ROS Bridge for ROS2
I installed every thing correctly as defined in the documentation, I've created a conda env with python version 3.7
The problem is whenever I run the command necessary to start ROS-Bridge:
ros2 launch carla_ros_bridge carla_ros_bridge.launch.py
I end up with this error,
[INFO] [launch]: All log files can be found below /home/carla/.ros/log/2024-03-08-23-12-49-028784-carla-Lenovo-Legion-Y530-15ICH-1060-10523
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [bridge-1]: process started with pid [10525]
[bridge-1] Traceback (most recent call last):
[bridge-1] File "/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/carla_ros_bridge/bridge", line 33, in
[bridge-1] sys.exit(load_entry_point('carla-ros-bridge==0.0.0', 'console_scripts', 'bridge')())
[bridge-1] File "/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/carla_ros_bridge/bridge", line 25, in importlib_load_entry_point
[bridge-1] return next(matches).load()
[bridge-1] File "/home/carla/miniconda3/envs/clr/lib/python3.7/site-packages/importlib_metadata/init.py", line 209, in load
[bridge-1] module = import_module(match.group('module'))
[bridge-1] File "/home/carla/miniconda3/envs/clr/lib/python3.7/importlib/init.py", line 127, in import_module
[bridge-1] return _bootstrap._gcd_import(name[level:], package, level)
[bridge-1] File "", line 1006, in _gcd_import
[bridge-1] File "", line 983, in _find_and_load
[bridge-1] File "", line 967, in _find_and_load_unlocked
[bridge-1] File "", line 677, in _load_unlocked
[bridge-1] File "", line 728, in exec_module
[bridge-1] File "", line 219, in _call_with_frames_removed
[bridge-1] File "/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/python3.7/site-packages/carla_ros_bridge/bridge.py", line 26, in
[bridge-1] import ros_compatibility as roscomp
[bridge-1] File "/home/carla/carla-ros-bridge/install/ros_compatibility/lib/python3.7/site-packages/ros_compatibility/init.py", line 20, in
[bridge-1] import ros_compatibility.executors
[bridge-1] File "/home/carla/carla-ros-bridge/install/ros_compatibility/lib/python3.7/site-packages/ros_compatibility/executors.py", line 28, in
[bridge-1] import rclpy.executors
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/executors.py", line 36, in
[bridge-1] from rclpy.client import Client
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/client.py", line 22, in
[bridge-1] from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/impl/implementation_singleton.py", line 31, in
[bridge-1] rclpy_implementation = _import('._rclpy')
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/impl/init.py", line 28, in _import
[bridge-1] return importlib.import_module(name, package='rclpy')
[bridge-1] File "/home/carla/miniconda3/envs/clr/lib/python3.7/importlib/init.py", line 127, in import_module
[bridge-1] return _bootstrap._gcd_import(name[level:], package, level)
[bridge-1] ModuleNotFoundError: No module named 'rclpy._rclpy'
[bridge-1] The C extension '/opt/ros/foxy/lib/python3.8/site-packages/rclpy/_rclpy.cpython-37m-x86_64-linux-gnu.so' isn't present on the system. Please refer to 'https://index.ros.org/doc/ros2/Troubleshooting/Installation-Troubleshooting/#import-failing-without-library-present-on-the-system' for possible solutions
[ERROR] [bridge-1]: process has died [pid 10525, exit code 1, cmd '/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/carla_ros_bridge/bridge --ros-args -r __node:=carla_ros_bridge --params-file /tmp/launch_params_td1z49xe --params-file /tmp/launch_params_y6j3tk_q --params-file /tmp/launch_params_ta951s7f --params-file /tmp/launch_params_njnlptcu --params-file /tmp/launch_params_9hr6drf6 --params-file /tmp/launch_params_br9e4xta --params-file /tmp/launch_params_qs5wmx1w --params-file /tmp/launch_params_ir06ano6 --params-file /tmp/launch_params_bbuoz3q3 --params-file /tmp/launch_params_2ss4krz0 --params-file /tmp/launch_params_8o49tlws'].
[INFO] [launch]: process[bridge-1] was required: shutting down launched system
Should I reinstall ROS2 from source not binary, with python3.7?
The text was updated successfully, but these errors were encountered:
I'm using leaderboard v2 and want to use ROS Bridge for ROS2
I installed every thing correctly as defined in the documentation, I've created a conda env with python version 3.7
The problem is whenever I run the command necessary to start ROS-Bridge:
ros2 launch carla_ros_bridge carla_ros_bridge.launch.py
I end up with this error,
[INFO] [launch]: All log files can be found below /home/carla/.ros/log/2024-03-08-23-12-49-028784-carla-Lenovo-Legion-Y530-15ICH-1060-10523
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [bridge-1]: process started with pid [10525]
[bridge-1] Traceback (most recent call last):
[bridge-1] File "/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/carla_ros_bridge/bridge", line 33, in
[bridge-1] sys.exit(load_entry_point('carla-ros-bridge==0.0.0', 'console_scripts', 'bridge')())
[bridge-1] File "/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/carla_ros_bridge/bridge", line 25, in importlib_load_entry_point
[bridge-1] return next(matches).load()
[bridge-1] File "/home/carla/miniconda3/envs/clr/lib/python3.7/site-packages/importlib_metadata/init.py", line 209, in load
[bridge-1] module = import_module(match.group('module'))
[bridge-1] File "/home/carla/miniconda3/envs/clr/lib/python3.7/importlib/init.py", line 127, in import_module
[bridge-1] return _bootstrap._gcd_import(name[level:], package, level)
[bridge-1] File "", line 1006, in _gcd_import
[bridge-1] File "", line 983, in _find_and_load
[bridge-1] File "", line 967, in _find_and_load_unlocked
[bridge-1] File "", line 677, in _load_unlocked
[bridge-1] File "", line 728, in exec_module
[bridge-1] File "", line 219, in _call_with_frames_removed
[bridge-1] File "/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/python3.7/site-packages/carla_ros_bridge/bridge.py", line 26, in
[bridge-1] import ros_compatibility as roscomp
[bridge-1] File "/home/carla/carla-ros-bridge/install/ros_compatibility/lib/python3.7/site-packages/ros_compatibility/init.py", line 20, in
[bridge-1] import ros_compatibility.executors
[bridge-1] File "/home/carla/carla-ros-bridge/install/ros_compatibility/lib/python3.7/site-packages/ros_compatibility/executors.py", line 28, in
[bridge-1] import rclpy.executors
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/executors.py", line 36, in
[bridge-1] from rclpy.client import Client
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/client.py", line 22, in
[bridge-1] from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/impl/implementation_singleton.py", line 31, in
[bridge-1] rclpy_implementation = _import('._rclpy')
[bridge-1] File "/opt/ros/foxy/lib/python3.8/site-packages/rclpy/impl/init.py", line 28, in _import
[bridge-1] return importlib.import_module(name, package='rclpy')
[bridge-1] File "/home/carla/miniconda3/envs/clr/lib/python3.7/importlib/init.py", line 127, in import_module
[bridge-1] return _bootstrap._gcd_import(name[level:], package, level)
[bridge-1] ModuleNotFoundError: No module named 'rclpy._rclpy'
[bridge-1] The C extension '/opt/ros/foxy/lib/python3.8/site-packages/rclpy/_rclpy.cpython-37m-x86_64-linux-gnu.so' isn't present on the system. Please refer to 'https://index.ros.org/doc/ros2/Troubleshooting/Installation-Troubleshooting/#import-failing-without-library-present-on-the-system' for possible solutions
[ERROR] [bridge-1]: process has died [pid 10525, exit code 1, cmd '/home/carla/carla-ros-bridge/install/carla_ros_bridge/lib/carla_ros_bridge/bridge --ros-args -r __node:=carla_ros_bridge --params-file /tmp/launch_params_td1z49xe --params-file /tmp/launch_params_y6j3tk_q --params-file /tmp/launch_params_ta951s7f --params-file /tmp/launch_params_njnlptcu --params-file /tmp/launch_params_9hr6drf6 --params-file /tmp/launch_params_br9e4xta --params-file /tmp/launch_params_qs5wmx1w --params-file /tmp/launch_params_ir06ano6 --params-file /tmp/launch_params_bbuoz3q3 --params-file /tmp/launch_params_2ss4krz0 --params-file /tmp/launch_params_8o49tlws'].
[INFO] [launch]: process[bridge-1] was required: shutting down launched system
Should I reinstall ROS2 from source not binary, with python3.7?
The text was updated successfully, but these errors were encountered: