Mercurial > hg > nsaunier > traffic-intelligence
diff scripts/safety-analysis.py @ 1028:cc5cb04b04b0
major update using the trafficintelligence package name and install through pip
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 15 Jun 2018 11:19:10 -0400 |
| parents | 933670761a57 |
| children | e5c43496d9d8 |
line wrap: on
line diff
--- a/scripts/safety-analysis.py Fri Jun 15 11:18:43 2018 -0400 +++ b/scripts/safety-analysis.py Fri Jun 15 11:19:10 2018 -0400 @@ -1,13 +1,13 @@ #! /usr/bin/env python3 -import storage, prediction, events, moving - import sys, argparse, random from multiprocessing import Pool import matplotlib.pyplot as plt import numpy as np +from trafficintelligence import storage, prediction, events, moving + # todo: very slow if too many predicted trajectories # add computation of probality of unsucessful evasive action
