# HG changeset patch # User Nicolas Saunier # Date 1517608985 18000 # Node ID eb42f2f514907bc7c2c6b466723c0582bc88c9ee # Parent b50145235f9e974d52ce8cec5f17d5b29426d49d minor argument rename diff -r b50145235f9e -r eb42f2f51490 scripts/safety-analysis.py --- a/scripts/safety-analysis.py Wed Dec 13 14:48:48 2017 -0500 +++ b/scripts/safety-analysis.py Fri Feb 02 17:03:05 2018 -0500 @@ -16,7 +16,7 @@ parser.add_argument('-n', dest = 'nObjects', help = 'number of objects to analyse', type = int) # TODO analyze only parser.add_argument('--prediction-method', dest = 'predictionMethod', help = 'prediction method (constant velocity (cvd: vector computation (approximate); cve: equation solving; cv: discrete time (approximate)), normal adaptation, point set prediction)', choices = ['cvd', 'cve', 'cv', 'na', 'ps', 'mp']) -parser.add_argument('--prototypeDatabaseFilename', dest = 'prototypeDatabaseFilename', help = 'name of the database containing the prototypes') +parser.add_argument('-p', dest = 'prototypeDatabaseFilename', help = 'name of the database containing the prototypes') parser.add_argument('--no-motion-prediction', dest = 'noMotionPrediction', help = 'does not compute indicators like TTC depending on motion prediction', action = 'store_true') parser.add_argument('--pet', dest = 'computePET', help = 'computes PET', action = 'store_true') parser.add_argument('--display-cp', dest = 'displayCollisionPoints', help = 'display collision points', action = 'store_true')