Skip to content
forked from sisl/NGSIM.jl

A Julia package for handling the Next Generation Simulation (NGSIM) traffic dataset

License

Notifications You must be signed in to change notification settings

saArbabi/NGSIM.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGSIM.jl

A Julia package for working with the Next Generation Simulation dataset (NGSIM). Was tested on the Highway 101 and I-80 datasets.

Build Status Coverage Status

This package is fully compatible with AutomotiveDrivingModels.jl, providing the Roadway and Trajdata types from the NGSIM data. Roadway geometry was extracted from the NGSIM CAD files. The vehicle trajectories were filtered to provide better global positions and orientation.

The NGSIM trajectory data is available in our first release, with instructions here.

Git It

You just clone it! Note that you also have to clone my Vec package.

Pkg.clone("https://github.com/sisl/Vec.jl.git")
Pkg.clone("https://github.com/sisl/Records.jl.git")
Pkg.clone("https://github.com/sisl/AutomotiveDrivingModels.jl.git")
Pkg.clone("https://github.com/sisl/NGSIM.jl.git")

The data must also be downloaded as described above or below.

Quickstart

To download the datasets, register for an account, navigate to the datasets page, select the links for the I-80 and US-101 datasets, and download. Alternatively, download the data associated with the first release as mentioned above.

To extract trajectory data (Trajdata) from the raw NGSIM data, place the raw data files in the NGSIM.jl/data directory, and run

using NGSIM
convert_raw_ngsim_to_trajdatas()

The resulting files can then be loaded into a Julia program as Trajdata, a type defined in AutomotiveDrivingModels.jl. See jnotebooks/Demo.ipynb for example usage.

About

A Julia package for handling the Next Generation Simulation (NGSIM) traffic dataset

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 89.8%
  • Julia 10.2%