Comments (4)
Hi.
Interesting that you ask this question. Maybe you have a look at the pull request open at CARLA side which provides a basic form of integration into CARLA:
carla-simulator/carla#1935
With that it is possible to look at simulated situations -- at least if the situation with the other vehicle is within the same CARLA road segment. The basic implementation is not supporting multiple road segments, but we are working on a more general solution based on the open drive map...
from ad-rss-lib.
Hi ,
I am curious to know if RSS lib can be used alongside Autoware.ai as a safety layer in CARLA simulator. ?
If so how can it be achieved?
from ad-rss-lib.
Hi,
the best current option is to use the RSS Sensor integrated into CARLA.
http://carla.org/2020/06/09/talks_2020/
In the CARLA talks from last year you find slides on CARLA<->ROS<->Autoware and also some slides on the "Integration of RSS-lib".
There is also a 10min talk on the CARLA integration from last years SafeComp WAISE workshop on our paper:
"Integration of formal safety models on system level using the example of responsibility sensitive safety and CARLA driving simulator" to give some detailed explanation of the architecture of the integration into CARLA
https://www.youtube.com/watch?v=ecbG3bvk49k&list=PL8BDQqihcOCh2EdaDdp8ZBEsf9X3VgETC&index=7
Furthermore, there is the documentation section in CARLA:
https://carla.readthedocs.io/en/0.9.11/adv_rss/
including the PythonAPI for the virtual RSS-Sensor
https://carla.readthedocs.io/en/0.9.11/python_api/#carla.RssSensor
The example python code on how the RSS Sensor can be addressed from python is here:
https://github.com/carla-simulator/carla/tree/master/PythonAPI/examples/rss
The RSS check results then can be used to restrict the Autoware control output if desired -- or only used to evaluate the safety measures of the Autoware.ai stack in general without restricting the control.
Some words on the restriction functionality:
Maybe for the first shot in the super-simple form as implemented in the CARLA RSS restrictor.
But in the mid term to e.g. resample the calculated trajectory in such a way, that the trajectory complies with the RSS acceleration restrictions -- which in general provide boundaries for the accelerations of the vehicle in longitudinal/lateral direction in respect to the respective route -- ALL the time (not only when situations are getting dangerous). For a more realistic setup, this is required to enforce that the trajectory of the vehicle is not exceeding the nominal area of the movement model which is inserted into the calculation via the RSS-Parameters. Like this, the ego-vehicle can be prevented from e.g. braking harder or accelerate faster than the borders which are used to compute the safety envelope around the ego vehicle.
Hope this helps for getting started.
Bernd.
from ad-rss-lib.
Thanks @berndgassmann
The information provided was quite helpful in understanding the usage of RSS as a safety envelop in the Autoware stack.
I am looking forward to implementing an RSS restrictor that mainly provides vehicle's acc/dec/steering boundaries and resamples the output from autoware vehicle commands inside the CARLA simulator.
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
- Carla-RSS "Build" process HOT 5
- 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.