carla-ros-bridge error due to Python?
Howdy, following error when running
$ roslaunch carla_ros_bridge carla_ros_bridge_with_example_ego_vehicle
Traceback (most recent call last):
File "/opt/carla-ros-bridge/melodic/lib/carla_ros_bridge/bridge.py", line 25, in <module>
from carla_ros_bridge.actor import Actor
File "/opt/carla-ros-bridge/melodic/lib/python2.7/dist-packages/carla_ros_bridge/actor.py", line 19, in <module>
import carla_ros_bridge.transforms as trans
File "/opt/carla-ros-bridge/melodic/lib/python2.7/dist-packages/carla_ros_bridge/transforms.py", line 16, in <module>
import tf
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf/__init__.py", line 30, in <module>
from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 38, in <module>
from tf2_py import *
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_py/__init__.py", line 38, in <module>
from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)
From what little info i found it seems to be an incompatibility between python2 and python3 but I am not sure how to fix this. Also, it's not saving the log file so that's why i didnt attach that
Installation was done following the instructions on gitlab!
Hi @JoloGermanAg
I am trying to set up Carla as well. Can you please provide the link to the instructions you have followed to set up Carla simulator to work with Autoware?
Thank you!
Here it is: https://gitlab.com/autowarefoundation...
Just make sure that you are have downloaded and installed the Master branch for Autoware as these specific instructions are a recent addition/upgrade as far as I understand.
Thank you very much !! @JoloGermanAg
Hi @JoloGermanAg,
I am getting the following error. Please advise.
did you follow the instructions and install carla? The first one suggests that you may be using an older version of autoware that does not include the autoware bridge yet. go to (PathToAutoware)/install/carla_autoware_bridge. If it;s not there you need to reinstall autoware from the newest (master/bleeding edge) branch. The second one is missing the .launch at the end