Comments (5)
Hi,
no worries. When integrated with CARLA you don't compile ad-rss-lib by doing anything manually from your end within ad-rss-lib. So you don't call colcon yourself, the build system of CARLA is doing that for you. The build commands above from the CARLA documentation refer to the adapted build commands to build CARLA including RSS support. So if you have a look at https://carla.readthedocs.io/en/latest/build_linux/ then you will see that instead of
make package
for integration of RSS with CARLA you just call
make package.rss
Then the build is taking care of downloading ad-rss-lib and integrating it into the CARLA build.
But if you don't want to change anything in the code you might be happy to just download and use the precompiled version with RSS integrated CARLA_0.9.13_RSS.tar.gz from here:
https://github.com/carla-simulator/carla/releases/tag/0.9.13
Then you don't have to compile anything on your own and can just make use of RSS integrated into CARLA.
from ad-rss-lib.
Hi, no worries. When integrated with CARLA you don't compile ad-rss-lib by doing anything manually from your end within ad-rss-lib. So you don't call colcon yourself, the build system of CARLA is doing that for you. The build commands above from the CARLA documentation refer to the adapted build commands to build CARLA including RSS support. So if you have a look at https://carla.readthedocs.io/en/latest/build_linux/ then you will see that instead of
make package
for integration of RSS with CARLA you just callmake package.rss
Then the build is taking care of downloading ad-rss-lib and integrating it into the CARLA build.But if you don't want to change anything in the code you might be happy to just download and use the precompiled version with RSS integrated CARLA_0.9.13_RSS.tar.gz from here: https://github.com/carla-simulator/carla/releases/tag/0.9.13
Then you don't have to compile anything on your own and can just make use of RSS integrated into CARLA.
Thank you very much for your reply. I tried to use the precompiled version RSS directly, but I was executing the command "python examples/rss/manual_ control_ rss.py" in the terminal, the following error occurred:
Then I checked whether the Carla package was installed correctly in the current conda environment, the Carla package has been installed (As shown in the figure below).
In addition, I have also checked whether to import RSS package into Carla according to the tutorial on the official website(As shown in the figure below).This command has been executed.
However, the ad Library in Carla cannot be imported.
Excuse me, what else do I need to check to successfully run RSS in Carla? Thanks in advance.
from ad-rss-lib.
When compiled together with CARLA, RSS is directly compiled into the CARLA python egg/whl files. It is not using the standalone RSS python library which you can build on your own with ad-rss-lib sources.
Having said that, I would expect that the version of carla python package your conda environment has installed most probably is not the one delivered with the precompiled tarball. Especially the RSS variant is not available via pypi. You have to uninstall the carla python package previously installed via pypi. And then either set the PYTHONPATH variable to the respective egg file, or install the egg or whl file delivered with the tarball under PythonAPI/carla/dist/ directly. See also https://carla.readthedocs.io/en/latest/start_quickstart/#carla-0912
Then the correct interface should be available and the import statement should work fine.
You are using CARLA 0.9.12. Be aware that this bugfix PR carla-simulator/carla#4604 fixing some issues with changed threading behavior of 0.9.12 was integrated in 0.9.13 version. So I would recommend to use 0.9.13 of CARLA.
from ad-rss-lib.
When compiled together with CARLA, RSS is directly compiled into the CARLA python egg/whl files. It is not using the standalone RSS python library which you can build on your own with ad-rss-lib sources. Having said that, I would expect that the version of carla python package your conda environment has installed most probably is not the one delivered with the precompiled tarball. Especially the RSS variant is not available via pypi. You have to uninstall the carla python package previously installed via pypi. And then either set the PYTHONPATH variable to the respective egg file, or install the egg or whl file delivered with the tarball under PythonAPI/carla/dist/ directly. See also https://carla.readthedocs.io/en/latest/start_quickstart/#carla-0912 Then the correct interface should be available and the import statement should work fine.
You are using CARLA 0.9.12. Be aware that this bugfix PR carla-simulator/carla#4604 fixing some issues with changed threading behavior of 0.9.12 was integrated in 0.9.13 version. So I would recommend to use 0.9.13 of CARLA.
Thank you very much for your advice, which is very warm for novices.@berndgassmann
I have found the problem, that is, version 0.9.12 Carla needs to be used egg file to enable the carla library. I mistakenly thought that version 0.9.12 belongs to the 0.9.12 + mentioned on the official website (https://carla.readthedocs.io/en/0.9.13/start_quickstart/).
By the way, I'd like to make some suggestions for the official website tutorial (maybe it's just my understanding). When 0.9.12 + is mentioned on the official website, it can be specially noted, that is, 0.9.12 is not included. My advice may be naive, but it would be great if it helped your team.
Thank you again for your patient reply.
from ad-rss-lib.
It's not because of Carla 0.9.12 that requires the egg file and not the pypi version, it's actually the special RSS built variant that requires to use the egg/whl from the tarball.
Great that it is now working for you.
from ad-rss-lib.
Related Issues (20)
- Can the Ad-RSS-lib be used/integrate with other simulators like LGSVL/ROS world HOT 1
- Is it possible to use ad-rss-lib with only LiDAR as an input? HOT 1
- LaneDirection estimation in RssObjectPositionExtractor::newLaneSegment HOT 2
- cmake ad_physics error HOT 1
- Always returning safe except when the Ego vehicle hits the leading vehicle HOT 2
- Issue with colcon building (duplicated dependency package spdlog) HOT 2
- "×××××× spdlog.cpp.o"can not be used when making a shared object; recompile with -fPIC HOT 3
- Is this project dead? HOT 1
- No doxygen doku of map integration
- Question: Init object by metric coordinates in map_integration HOT 2
- Suppress spdlog HOT 2
- RSS Sensor crashes Carla Simulator-0.9.13 HOT 2
- Extended logging / response a log from RssCheck HOT 2
- Clang-format update HOT 1
- questoins about rss-lib document HOT 8
- compile error of boost lib HOT 2
- fatal error: odrSpiral.h: No such file or directory
- Unclear usage in the python example HOT 1
- complie failure HOT 2
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 ad-rss-lib.