half-car
half-car copied to clipboard
Feedback for PR #6.
pipenv run python example.py --help
usage: example.py [options]
We have some defaults depending on --mode. {'square': {'amplitude': 0.03, 'frequency': 0.1}, 'sine': {'amplitude': 0.3, 'frequency': 0.04}, 'triangle': {'amplitude': 0.05, 'frequency': 1.8}, 'bump': {'amplitude': 0.05, 'frequency': 1.8}}
optional arguments:
-h, --help show this help message and exit
--mode {flat,sine,square,triangle,bump}, -m {flat,sine,square,triangle,bump}
Road profile mode: (default: sine)
--amplitude AMPLITUDE, -a AMPLITUDE
Amplitude (in meters) for given '--mode'
--frequency FREQUENCY, -f FREQUENCY
Frequency for given '--mode'
--time-step TIME_STEP, -t TIME_STEP
Simulation time step in seconds (default: 0.0005)
--interval INTERVAL, -i INTERVAL
Draw animation frame every <interval> time steps
(default: 100)
--write, -w Write resulting animation to a video file