ros-bridge
ros-bridge copied to clipboard
CARLA Waypoint Publisher error
roslaunch carla_waypoint_publisher carla_waypoint_publisher.launch ... logging to /home/b/.ros/log/dc41ec26-ad48-11eb-844d-c9454f70dc56/roslaunch-b-MS-7B23-11964.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://localhost:34233/
SUMMARY
PARAMETERS
- /carla_waypoint_publisher/host: localhost
- /carla_waypoint_publisher/port: 2000
- /carla_waypoint_publisher/role_name: ego_vehicle
- /carla_waypoint_publisher/timeout: 10
- /rosdistro: noetic
- /rosversion: 1.15.9
NODES / carla_waypoint_publisher (carla_waypoint_publisher/carla_waypoint_publisher.py)
auto-starting new master process[master]: started with pid [11972] ROS_MASTER_URI=http://localhost:11311
setting /run_id to dc41ec26-ad48-11eb-844d-c9454f70dc56
process[rosout-1]: started with pid [11982]
started core service [/rosout]
process[carla_waypoint_publisher-2]: started with pid [11989]
2021-05-05 11:23:22.566790: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/b/carla-ros-bridge/catkin_ws/devel/lib:/opt/ros/noetic/lib:/opt/ros/noetic/lib/x86_64-linux-gnu
2021-05-05 11:23:22.566812: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "/home/b/carla-ros-bridge/catkin_ws/devel/lib/carla_waypoint_publisher/carla_waypoint_publisher.py", line 15, in
what should i do? please help me!
@nicema0 hmm... I think that your problem is that you have two python libraries with the same name agents
and the carla_waypoint_publisher
uses the CARLA agents
module implemented here: https://github.com/carla-simulator/carla/tree/master/PythonAPI/carla/agents. Did you manually add the CARLA egg file to the PYTHONPATH
or are you using the CARLA debian installation?
Anyway, if you are not using the other agents
module along with CARLA, I would suggest removing it from the system installation and install it in a virtual environments.