Code Monkey home page Code Monkey logo

Comments (3)

Yuanzizizi avatar Yuanzizizi commented on May 29, 2024

Another question is

rl_collision_avoidance/ gym-collision-avoidance/ gym_collision_avoidance/ envs/ policies/ CADRL/ scripts /multi /gen_rand_testcases.py line 214
屏幕截图 2022-07-04 145524

Could you please explain why we need to make sure "straight line solution is not permitted"?

from rl_collision_avoidance.

mfe7 avatar mfe7 commented on May 29, 2024

Hi @TUzizi - good catch about the reward function... intuitively, + makes more sense because you'd want the penalty to decay to zero as the distance between agents gets sufficiently large. But, I think there might be a typo in some of the papers, since the original ICRA17 paper uses - just as this code implements, but the IROS18 and Access21 use a +. I'm not 100% sure about this anymore.

For the random test case code, it's very old code that I don't suggest reading too much into. It was written ad-hoc to create some scenarios for training/testing with sufficient interaction between agents to contain useful learning signals, but sometimes also let the agents have a simple straight line path to the goal (since that's a valid real-world scenario sometimes). I think the latter is the legacy reason for the line you ask about. There are probably a lot of better ways of creating such scenarios, and maybe even cool research ideas with curriculum learning as a more principled approach.

from rl_collision_avoidance.

Yuanzizizi avatar Yuanzizizi commented on May 29, 2024

Got it. Thank you.

from rl_collision_avoidance.

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.