Skip to content

Commit

Permalink
Remove version redundancy (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloVD committed May 17, 2024
1 parent 25db835 commit 0636313
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scenario_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ def get_carla_version():
from srunner.scenarios.osc2_scenario import OSC2Scenario
from srunner.scenarioconfigs.osc2_scenario_configuration import OSC2ScenarioConfiguration

# Version of scenario_runner
VERSION = '0.9.13'

# Minimum version of CARLA that is required
MIN_CARLA_VERSION = '0.9.15'

Expand Down Expand Up @@ -562,12 +559,12 @@ def main():
main function
"""
description = ("CARLA Scenario Runner: Setup, Run and Evaluate scenarios using CARLA\n"
"Current version: " + VERSION)
"Current version: " + MIN_CARLA_VERSION)

# pylint: disable=line-too-long
parser = argparse.ArgumentParser(description=description,
formatter_class=RawTextHelpFormatter)
parser.add_argument('-v', '--version', action='version', version='%(prog)s ' + VERSION)
parser.add_argument('-v', '--version', action='version', version='%(prog)s ' + MIN_CARLA_VERSION)
parser.add_argument('--host', default='127.0.0.1',
help='IP of the host server (default: localhost)')
parser.add_argument('--port', default='2000',
Expand Down

0 comments on commit 0636313

Please sign in to comment.