Skip to content

Commit

Permalink
coiltraine good links
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecode committed Apr 30, 2019
1 parent 253ec4f commit ab22e98
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions configs/coil_global.py
Expand Up @@ -16,8 +16,6 @@


_g_conf = AttributeDict()


_g_conf.immutable(False)

"""#### GENERAL CONFIGURATION PARAMETERS ####"""
Expand Down
1 change: 0 additions & 1 deletion docs/carla_challenge_coil_baseline.md
Expand Up @@ -101,7 +101,6 @@ Execute the challenge with the conditional imitation learning baseline
CHALLENGE_PHASE_CODENAME=dev_track_2 python3 ${ROOT_SCENARIO_RUNNER}/srunner/challenge/challenge_evaluator_routes.py \
--scenarios=${ROOT_SCENARIO_RUNNER}/srunner/challenge/all_towns_traffic_scenarios1_3_4.json \
--routes=${ROOT_SCENARIO_RUNNER}/srunner/challenge/routes_training.xml \
--repetitions=3 \
--debug=0 \
--agent=../coiltraine/drive/CoILBaseline.py \
--config=../coiltraine/drive/sample_agent.json
Expand Down
4 changes: 2 additions & 2 deletions drive/CoILBaseline.py
Expand Up @@ -169,9 +169,9 @@ def _get_current_direction(self, vehicle_position):
min_distance = computed_distance
closest_id = index

logging.debug("Closest waypoint {} dist {}".format(closest_id, min_distance))
#print("Closest waypoint {} dist {}".format(closest_id, min_distance))
direction = self._global_plan[closest_id][1]

print ("Direction ", direction)
if direction == RoadOption.LEFT:
direction = 3.0
elif direction == RoadOption.RIGHT:
Expand Down

0 comments on commit ab22e98

Please sign in to comment.