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 · 7 comments
Open

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

GoesM opened this issue Jul 12, 2024 · 7 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 ^_^

@socone-huynhnguyen
Copy link

@GoesM Hello, I also do a project that involve in carla ros bridge. The version we use that like you (Ubuntu 22.04, Carla 0.9.15, Humble). However, the carla ros bridge is not working. Can you give me the instruction in order to use it. Thank you

@GoesM
Copy link
Author

GoesM commented Nov 14, 2024

@Hynh4u what about the issue you've met ?

I just modify the following file https://github.com/carla-simulator/ros-bridge/blob/master/carla_ros_bridge/src/carla_ros_bridge/CARLA_VERSION with following context:

0.9.15

and it works.

@socone-huynhnguyen
Copy link

@GoesM I have run it successfully but now I have a problem that I don't know how to run carlaue4 with a discrete graphics card(Currently I am using an integrated graphics card Intel UHD Graphics 630 and a discrete card Radeon RX 5500/5500M/Pro 5500M). Can u help me?

@oliver-schumann
Copy link

@Hynh4u at first check with nvtop (if you are on Ubuntu) on which card Carla is actually running.
If you run the simulator from docker (which is the recommended way) check the following doc:

https://carla.readthedocs.io/en/0.9.8/build_docker/

In docker run you can specify with --gpus the visible gpus.

@socone-huynhnguyen
Copy link

Hi @oliver-schumann, when i check with nvtop, its show: No GPU is monitor. I run CarlaUE4 with the 'make launch' command and when i find the GPU card in terminal, i found the line: LogVulkanRHI: Display: Device 1: Intel(R) UHD Graphics 630 (CFL GT2)
Screenshot from 2024-11-18 15-28-55
and i want to run my CarlaUE4 with this AMD card
Screenshot from 2024-11-18 15-30-02

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

3 participants