mynkpl1998 / upgraded-octo-lamp Goto Github PK
View Code? Open in Web Editor NEWAn autonomous driving simulator for modelling Vehicle to Infrastructure (V2I) conditions.
An autonomous driving simulator for modelling Vehicle to Infrastructure (V2I) conditions.
It has been observed that, for densities > 0.4, significant number of lane changes leads to collision, which might be a reason for agent not to select lane change action. May be we can try sampling low density episodes more often high density to mitigate this problem.
Examples to include
If user doesn't provide any control input then agent action comes from trained policy else policy action is overwritten by user input.
Add option to enable disable traffic light and manually controlling traffic lights from external input.
Add a function which penalises for querying a region.
Create an independent function.
main() -> reward func() -> commPenalty() -> main()
Configuration to reproduce the result.
Script : test.py
Sim Config
config:
# Simulation Parameters
t-period: 0.1 # in secs
# IDM settings
max-speed: 10 # in m/s
local-view: 20 # in metres (one side)
cextended-view: 20 # in metres (one side)
reg-size: 5 # in metres
cell-size: 1 # in metres
# Reward Function
collision-penalty: -10
# UI settings
render: true
fps: 5
# Set Mode
mode: 'test'
# Frame Skip
frame-skip-value: 1
With speed based reward function, average length of the episode is low for higher density because the cars gets too close to each other and using a stochastic policy leads to selection of action which results in collision.
Solution : Penalise the agent if bumper to bumper distance becomes smaller than a threshold distance. (like 2m)
As discussed in the meeting, the ego vehicle should not travel faster than the what is allowed by the local view size. However this is not current the case as we are not simulating the mixed traffic correctly. Therefore, Add a light at a the junction for the same.
This will allow to easily debug the simulator.
According to lane change behaviour which is
This causes wrong policies like when tf lights are enabled and both lanes are blocked agent uses lane change action to prevent agent to move forward.
Revert back to correct lane change behaviour which is in addition to 1 includes doing a do-nothing action.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.