Comments (6)
Can you check:
1-
"export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.13-py2.7-linux-x86_64.egg"
you need to download the python egg for 3.10 from the mentioned link. and change the above export to the new egg name.
2- Download the Pointcloud PCD map and create a map folder contains both .osm and .pcd files.
I recommend you familiarize yourself with autoware.universe fist by running both the planning and rosbag simulation mentioned in the documentation.
from op_bridge.
Thanks for responding.
- You helped me realise that this export does nothing, I don't have carla-0.9.13. It should have looked like this:
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.15-py3.7-linux-x86_64.egg
This export causes this error:
The issue is that I can't seem to find the python egg for 3.10. The latest version I could find is the egg file for 3.7. If anyone has found it for 3.10 please let me know.
- I'll will this suggestion
from op_bridge.
You need to follow the instruction from the "humble" branch
https://github.com/hatem-darweesh/op_bridge/blob/ros2-humble/README.md
from op_bridge.
Thanks for providing the link for the Python3.10 egg file. The homepage of op_bridge repo shows a different README.md than the one you linked above. I think that's why I couldn't find this egg file.
I retried again using export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.15-py3.10-linux-x86_64.egg
and getting similar errors as before:
Most of the errors are related to base_link
and tf
from op_bridge.
I managed to partially resolve the issue above. Some errors I solved:
[map.map_hash_generator]: [/home/dbat/carla-0.9.15/op_agent/autoware-contents/maps/Town01/pointcloud_map.pcd] is neither file nor directory
Downloaded pcd map from carla simulator maps, moved it to the location it was searching for and renamed to pointcloud_map.pcd
1706412378.0583673 [web_server.py-75] Traceback (most recent call last):
1706412378.0591691 [web_server.py-75] File "/home/mcav/dbat/autoware/install/default_ad_api/lib/default_ad_api/web_server.py", line 21, in <module>
1706412378.0600290 [web_server.py-75] import flask
1706412378.0893207 [web_server.py-75] File "/usr/lib/python3/dist-packages/flask/__init__.py", line 7, in <module>
1706412378.0937130 [web_server.py-75] from .app import Flask as Flask
1706412378.1007218 [web_server.py-75] File "/usr/lib/python3/dist-packages/flask/app.py", line 28, in <module>
1706412378.1114581 [web_server.py-75] from . import cli
1706412378.1141617 [web_server.py-75] File "/usr/lib/python3/dist-packages/flask/cli.py", line 18, in <module>
1706412378.1183803 [web_server.py-75] from .helpers import get_debug_flag
1706412378.1305094 [web_server.py-75] File "/usr/lib/python3/dist-packages/flask/helpers.py", line 16, in <module>
1706412378.1308119 [web_server.py-75] from werkzeug.urls import url_quote
1706412378.1333606 [web_server.py-75] ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/mcav/.local/lib/python3.10/site-packages/werkzeug/urls.py)
pip install Werkzeug==2.2.0
fixed it.
I am able to see the map and set '2D goal pose'. :)
The only issue now is that I sometimes need to rerun the program since initialization is inconsistent. Relevant errors:
1706417562.2970629 [pose_initializer_node-36] [WARN] [1706417562.296250151] [localization.util.pose_initializer_node]: failed to lookup transform: Could not find a connection between 'map' and 'gnss_link' because they are not part of the same tree.Tf has two or more unconnected trees.
1706417562.2986362 [pose_initializer_node-36] [INFO] [1706417562.296862493] [localization.util.pose_initializer_node]: Call NDT align server.
1706417562.3000901 [ndt_scan_matcher-35] [WARN] [1706417562.299047845] [localization.pose_estimator.ndt_scan_matcher]: Could not find a connection between 'map' and 'gnss_link' because they are not part of the same tree.Tf has two or more unconnected trees.
1706417562.3002465 [ndt_scan_matcher-35] [ERROR] [1706417562.299101175] [localization.pose_estimator.ndt_scan_matcher]: Please publish TF map to gnss_link
I'd love to be able to at least move the car with '2D Pose Estimate'.
from op_bridge.
After adding two files from this pr by @cfs4819, I can now successfully use '2D Pose Estimate' .
Thanks Hatem-darweesh and cfs4819
from op_bridge.
Related Issues (20)
- Leaderboard training scenario, list out of range HOT 3
- issue when running ./run_exploration_mode_ros2.sh HOT 5
- How to run ./run_exploration_mode_ros2.sh in autoware_universe docker HOT 3
- my vehicle STATE always planning HOT 8
- map issue HOT 2
- ERROR when execute run_route_scenarios_ros2.sh
- Ego Vehicle Stuck on Planning Stage HOT 7
- Correct orientation in carla but not in autoware HOT 1
- couldn't start planning and start engage when the start and ending point have been chose
- Can op_bridge work without ros-bridge?
- run_exploration_mode_ros2.sh, got error HOT 2
- Multiple Lidar Support HOT 2
- The initialization of localization is very poor in the ROS Humble version HOT 5
- Missing Required Argument 'component_state_monitor_topic_path' in run_exploration_mode_ros2.sh HOT 2
- Can not initialize the pose after set and arrive the goal position. HOT 1
- How to run CARLA leaderboard routes with Auoware.universe and openplanner on ROS 2 (galactic)? HOT 2
- How to employ my own map to do the simulation with carla and autoware. HOT 1
- Camera-PointCloud Fusion HOT 2
- Problem of Large Tracking Error in Reverse Trajectory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from op_bridge.