Git Product home page Git Product logo

Comments (1)

berndgassmann avatar berndgassmann commented on June 4, 2024

Hi, in general these libraries require the current state of the situation the vehicles are in. For full support you have to know the map data with it's lane representation. If you don't have this you should still be able to apply some of the formulars directly to calculate the RSS desired safety distances -- given that the situation is taking place on a straight road, at least. nuScenes is recorded in U.S. isn't it? So at least most of the scenes should take place on straight roads ;-). What you need at bare minimum is the relative position between two vehicles and their current 4D (x,y,z, yaw) velocity vectors. If nuScenes provides 3D-bounding boxes of the vehicles in world coordinates, you should be able to derive that data easily. If not ... hmm, then you need a detector and tracker to calculate that data on your own (or by any algorithm out there that is doing that in at least a meaningful way). I hope the neScenes data-set provides also consecutive frames of a scene and not only single shot recordings at switching places; otherwise the RSS evaluation might become less helpful. On single shot is is only able to tell you if the current situation is safe or not; it will not be able to tell who of the cars is the responsible one and who would have to break.
Especially you should then reset the states (destroy the RSS objects and create new ones) when you encounter time jumps. As said, the decision on how to react for the vehicles depends on how the situation evolved over time. I.e. whose action was responsible for entering the unsafe state -> that actor will then have to stop that action by braking either longitudinally or e.g. interrupt its lane change when entering the unsafe state while driving side-by-side.
For sure the intersection evaluations only work with map data in the supported map format... open drive.
I hope this provides a notion of what might be possible and which effort you would have to take to apply it.
Regards, Dr.-Ing. Bernd Gaßmann.

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.