Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ros-bridge couldn't fit into the latest CARLA #738

Open
GoesM opened this issue Jul 12, 2024 · 2 comments
Open

ros-bridge couldn't fit into the latest CARLA #738

GoesM opened this issue Jul 12, 2024 · 2 comments

Comments

@GoesM
Copy link

GoesM commented Jul 12, 2024

description

I'm using the Carla 0.9.15 in ROS2-humble in Ubuntu22.04.

When I launch the ros-bridge, I faced to the following logs and ros-bridge didn't work.

[bridge-1] [INFO] [1720767764.270699081] [carla_ros_bridge]: Trying to connect to localhost:2000
[bridge-1] [FATAL] [1720767764.271824643] [carla_ros_bridge]: CARLA python module version 0.9.13 required. Found: 0.9.15
[bridge-1] [INFO] [1720767764.272013648] [carla_ros_bridge]: Shutting down...
[bridge-1] Traceback (most recent call last):
[bridge-1]   File "/home/goes/ROS_Workstation/carla/carla-ros-bridge/build/carla_ros_bridge/src/carla_ros_bridge/bridge.py", line 419, in main
[bridge-1]     sys.exit(1)
[bridge-1] SystemExit: 1
[bridge-1] 
[bridge-1] During handling of the above exception, another exception occurred:
[bridge-1] 

I notice the FETAL log is
[bridge-1] [FATAL] [1720767764.271824643] [carla_ros_bridge]: CARLA python module version 0.9.13 required. Found: 0.9.15

Does it mean that we stiil can't use the ros-bridge with the latest Carla ?

@oliver-schumann
Copy link

I think you only have to modify the following file https://github.com/carla-simulator/ros-bridge/blob/master/carla_ros_bridge/src/carla_ros_bridge/CARLA_VERSION

There are several forks of the bridge that work nicely with Carla 15 and newer ROS versions. You might find some help in these repos.

@GoesM
Copy link
Author

GoesM commented Sep 5, 2024

it works! greatly thanks for your help ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants