Git Product home page Git Product logo

Comments (4)

berndgassmann avatar berndgassmann commented on May 24, 2024

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.

vivekgourav avatar vivekgourav commented on May 24, 2024

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.

berndgassmann avatar berndgassmann commented on May 24, 2024

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.

vivekgourav avatar vivekgourav commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.