Comments (3)
@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 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:
- Crash/offroad within airlock entering zone (where sumo controls vehicles)
- Crash/offroad within bubble zone
- Crash/offroad within airlock exiting zone (where agent still takes control)
And the ways to deal with these situations: - Replace dead bodies with sumo vehicles
- Destroy the vehicle but keep the agent
- Destroy the agent
from smarts.
Chatted over zoom w/ @Nickniyihan, closing for now.
from smarts.
Related Issues (20)
- [Help Request] Convert observations into tensors HOT 1
- Can't pickle local object 'EnvisionStateFilter.default..default_override HOT 4
- [Help Request] envision_record HOT 3
- [Help Request] Problems encountered in SMARTS simulation using ROS HOT 2
- [Help Request] entry tactic HOT 7
- Path from start point to end point flows in the opposite direction of the generated route HOT 3
- [Help Request] Randomize scenario HOT 8
- [Help Request] Can't find visualization in Envision for waymo dataset HOT 3
- [Help Request]sumo.tools.traci.exceptions.FatalTraCIError: Connection closed by SUMO. HOT 1
- [Help Request] error in "make sanity-test" HOT 3
- [Feature request] New observation:ego vehicle and neighbor vehicle parameters,like wheel_base, wheel_pos, etc.. HOT 1
- [Help Request] Other interaction dataset maps HOT 1
- [Help Request] Need to customize vehicle parameters HOT 9
- [Help Request] Wanna to know about traffic model HOT 2
- I want to know the dynamic or kinematic model of vehicles in SMARTS HOT 2
- [Help Request] Cannot `gym.make("multi-scenario-v0")` HOT 7
- observations, _ = env.reset() problems HOT 2
- [Help Request] build scenario failed HOT 7
- [Help Request] TraCI could not connect HOT 2
- [Help Request] Help request title 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 smarts.