question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Carla 0.9.13 and ros-bridge build failure due to version compatibility

See original GitHub issue

Environment : Ubuntu 18.0.4 Carla version (tag: 0.9.13) latest. Ros_bridge : latest

I have build ros_bridge successfully using catkin_make. Then ros_bridge launched using roslaunch carla_ros_bridge carla_ros_bridge.launch

Then I got the below error : CARLA python module version 0.9.12 required. Found: 0.9.13

started core service [/rosout]
process[carla_ros_bridge-2]: started with pid [15130]
[INFO] [1648114186.893339, 0.000000]: Trying to connect to localhost:2000
[FATAL] [1648114186.897207, 0.000000]: CARLA python module version 0.9.12 required. Found: 0.9.13
[INFO] [1648114186.898706, 0.000000]: Shutting down...
Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/core.py", line 572, in signal_shutdown
    h()
  File "/home/ubuntu/carla-ros-bridge/catkin_ws/src/ros-bridge/carla_ros_bridge/src/carla_ros_bridge/bridge.py", line 349, in destroy
    self.shutdown.set()

How I can change version ros_bridge to make it compatible with CARLA 0.9.13 ? Any helpful suggestion is appreciated.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
kk-12138commented, Jun 1, 2022

just change ros2_ws/src/ros-bridge/carla_ros_bridge/src/carla_ros_bridge/CARLA_VERSION to 0.9.13, colcon build and run again

1reaction
miguelriemoliveiracommented, Mar 28, 2022

Hi @SandyWare ,

I have the same problem. Tried to rollback to 0.9.12 with command

sudo pip3 install carla==0.9.12

but then when I run the bridge I get the error:

[WARN] [1648462252.676591, 0.000000]: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API. Client API version: 0.9.12. Simulator API version: 0.9.13
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API 
WARNING: Client API version     = 0.9.12 
WARNING: Simulator API version  = 0.9.13 
================================================================================REQUIRED process [carla_ros_bridge-2] has died!
process has died [pid 25138, exit code -11, cmd /home/mike/catkin_ws/src/carla-ros-bridge/carla_ros_bridge/src/carla_ros_bridge/bridge.py __name:=carla_ros_bridge __log:=/home/mike/.ros/log/58bdc990-ae7f-11ec-8c95-970962904cc0/carla_ros_bridge-2.log].
log file: /home/mike/.ros/log/58bdc990-ae7f-11ec-8c95-970962904cc0/carla_ros_bridge-2*.log
Initiating shutdown!
================================================================================
Read more comments on GitHub >

github_iconTop Results From Across the Web

ROS bridge installation - CARLA Simulator - Read the Docs
CARLA 0.9.7 or later — Previous versions are not compatible with the ROS bridge. Follow the quick start installation or make the build...
Read more >
Carla 0.9.13 Installation Issues - python - Stack Overflow
From the documentation Carla as a pip installable package is only available for python versions 2.7, 3.6, 3.7, and 3.8 .
Read more >
Install Carla-ROS Bridge in Ubuntu 18.04 | by Francisco Maria
Please note that only the version 0.9.8 is only compatible with the version 0.9.9 of the simulator. If you don't run the last...
Read more >
SECTION 3 - University of Alabama at Birmingham
with machine learning, may create a new approach to improve ... be delayed until after installing CARLA and its ros-bridge due to their...
Read more >
carla-ros-bridge error due to Python? - ROS Answers
Please start posting anonymously - your entry will be published after you log in or create a new account. Add Answer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found