Git Product home page Git Product logo

Comments (3)

JVillella avatar JVillella commented on May 29, 2024 1

@Nickniyihan this is now working on master (not crashing anymore, however, the behavior is a bit complicated). Here's how it presently works,

  • If any boid vehicle gets into a crash within the bubble zone the agent is killed and all vehicles taken over by SUMO.
  • If any boid vehicle gets into a crash within the airlocking zone the agent is killed and then a new agent is immediately recreated (as a shadower) since one of the vehicles entered the airlocking zone. If this happens to happen within the final (exiting) airlock region the same happens, however we never end up hijacking and the shadowing agent gets terminated without ever having control.

I feel this behavior is a bit hard to follow, maybe even convoluted. But thinking through some of the alternatives, I see they have complicated edge cases as well. Does your team have a proposal on how you'd want it?

from smarts.

Nickniyihan avatar Nickniyihan commented on May 29, 2024

@Nickniyihan this is now working on master (not crashing anymore, however, the behavior is a bit complicated). Here's how it presently works,

  • If any boid vehicle gets into a crash within the bubble zone the agent is killed and all vehicles taken over by SUMO.
  • If any boid vehicle gets into a crash within the airlocking zone the agent is killed and then a new agent is immediately recreated (as a shadower) since one of the vehicles entered the airlocking zone. If this happens to happen within the final (exiting) airlock region the same happens, however, we never end up hijacking and the shadowing agent gets terminated without ever having control.

I feel this behavior is a bit hard to follow, maybe even convoluted. But thinking through some of the alternatives, I see they have complicated edge cases as well. Does your team have a proposal on how you'd want it?

Thank you @JVillella ! It is a bit complicated. To summarize, the cases can be:

  1. Crash/offroad within airlock entering zone (where sumo controls vehicles)
  2. Crash/offroad within bubble zone
  3. Crash/offroad within airlock exiting zone (where agent still takes control)
    And the ways to deal with these situations:
  4. Replace dead bodies with sumo vehicles
  5. Destroy the vehicle but keep the agent
  6. Destroy the agent

from smarts.

JVillella avatar JVillella commented on May 29, 2024

Chatted over zoom w/ @Nickniyihan, closing for now.

from smarts.

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.