├── .gitignore ├── LICENSE ├── README.md ├── annotate ├── __init__.py ├── annotate_attributes.py ├── annotate_cars.py ├── annotate_cars_mirrors.py ├── annotate_crashables.py ├── annotate_current_lane.py ├── annotate_lanes_same_direction.py ├── annotate_speed_segments.py ├── annotate_steering_wheel.py ├── annotate_street_boundaries.py ├── annotate_street_markings.py └── common.py ├── annotations └── speed_image_segments.txt ├── config.py ├── images ├── damage_double_digit.png ├── damage_single_digit.png ├── offence_ff.png ├── pause_bottom_right_advisor.png ├── readme │ ├── architecture.png │ ├── architecture.xml │ ├── settings_controls_1.jpg │ ├── settings_controls_2.jpg │ ├── settings_controls_3.jpg │ ├── settings_controls_4.jpg │ ├── settings_gameplay_1.jpg │ ├── settings_gameplay_2.jpg │ ├── settings_gameplay_3.jpg │ ├── settings_gameplay_4.jpg │ ├── settings_graphics_1.jpg │ ├── settings_graphics_1.png │ ├── settings_graphics_2.jpg │ ├── settings_keys_and_buttons_1.jpg │ ├── settings_keys_and_buttons_2.jpg │ ├── settings_keys_and_buttons_3.jpg │ ├── settings_keys_and_buttons_4.jpg │ ├── settings_keys_and_buttons_5.jpg │ ├── settings_keys_and_buttons_6.jpg │ └── video.jpg ├── reverse.png └── video │ ├── curve-left-medium.png │ ├── curve-left-medium.xcf │ ├── curve-left-slight.png │ ├── curve-left-slight.xcf │ ├── curve-left-strong.png │ ├── curve-left-strong.xcf │ ├── curve-straight.png │ └── curve-straight.xcf ├── lib ├── DejaVuSans.ttf ├── __init__.py ├── actions.py ├── ets2game.py ├── ets2window.py ├── plotting.py ├── pykeylogger.py ├── replay_memory.py ├── rewards.py ├── screenshot.py ├── screenshot_c.c ├── speed.py ├── states.py ├── steering_wheel.py ├── util.py └── windowhandling.py ├── other └── config_files │ ├── config_game.cfg │ ├── config_profile.cfg │ └── controls_linux_profile.sii ├── scripts ├── add_steering_wheel_to_replay_memory.py ├── collect_experiences_supervised.py ├── collect_speed_segments.py └── recalculate_rewards.py ├── train_reinforced ├── batching.py ├── generate_video_frames.py ├── models.py ├── plans.py ├── train.py └── visualization.py ├── train_semisupervised ├── __init__.py ├── batching.py ├── compress_annotations.py ├── dataset.py ├── models.py ├── train.py └── visualization.py └── train_steering_wheel ├── __init__.py ├── models.py ├── steering_wheel.tar └── train.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/README.md -------------------------------------------------------------------------------- /annotate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /annotate/annotate_attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_attributes.py -------------------------------------------------------------------------------- /annotate/annotate_cars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_cars.py -------------------------------------------------------------------------------- /annotate/annotate_cars_mirrors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_cars_mirrors.py -------------------------------------------------------------------------------- /annotate/annotate_crashables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_crashables.py -------------------------------------------------------------------------------- /annotate/annotate_current_lane.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_current_lane.py -------------------------------------------------------------------------------- /annotate/annotate_lanes_same_direction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_lanes_same_direction.py -------------------------------------------------------------------------------- /annotate/annotate_speed_segments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_speed_segments.py -------------------------------------------------------------------------------- /annotate/annotate_steering_wheel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_steering_wheel.py -------------------------------------------------------------------------------- /annotate/annotate_street_boundaries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_street_boundaries.py -------------------------------------------------------------------------------- /annotate/annotate_street_markings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/annotate_street_markings.py -------------------------------------------------------------------------------- /annotate/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotate/common.py -------------------------------------------------------------------------------- /annotations/speed_image_segments.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/annotations/speed_image_segments.txt -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/config.py -------------------------------------------------------------------------------- /images/damage_double_digit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/damage_double_digit.png -------------------------------------------------------------------------------- /images/damage_single_digit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/damage_single_digit.png -------------------------------------------------------------------------------- /images/offence_ff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/offence_ff.png -------------------------------------------------------------------------------- /images/pause_bottom_right_advisor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/pause_bottom_right_advisor.png -------------------------------------------------------------------------------- /images/readme/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/architecture.png -------------------------------------------------------------------------------- /images/readme/architecture.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/architecture.xml -------------------------------------------------------------------------------- /images/readme/settings_controls_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_controls_1.jpg -------------------------------------------------------------------------------- /images/readme/settings_controls_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_controls_2.jpg -------------------------------------------------------------------------------- /images/readme/settings_controls_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_controls_3.jpg -------------------------------------------------------------------------------- /images/readme/settings_controls_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_controls_4.jpg -------------------------------------------------------------------------------- /images/readme/settings_gameplay_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_gameplay_1.jpg -------------------------------------------------------------------------------- /images/readme/settings_gameplay_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_gameplay_2.jpg -------------------------------------------------------------------------------- /images/readme/settings_gameplay_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_gameplay_3.jpg -------------------------------------------------------------------------------- /images/readme/settings_gameplay_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_gameplay_4.jpg -------------------------------------------------------------------------------- /images/readme/settings_graphics_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_graphics_1.jpg -------------------------------------------------------------------------------- /images/readme/settings_graphics_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_graphics_1.png -------------------------------------------------------------------------------- /images/readme/settings_graphics_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_graphics_2.jpg -------------------------------------------------------------------------------- /images/readme/settings_keys_and_buttons_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_keys_and_buttons_1.jpg -------------------------------------------------------------------------------- /images/readme/settings_keys_and_buttons_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_keys_and_buttons_2.jpg -------------------------------------------------------------------------------- /images/readme/settings_keys_and_buttons_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_keys_and_buttons_3.jpg -------------------------------------------------------------------------------- /images/readme/settings_keys_and_buttons_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_keys_and_buttons_4.jpg -------------------------------------------------------------------------------- /images/readme/settings_keys_and_buttons_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_keys_and_buttons_5.jpg -------------------------------------------------------------------------------- /images/readme/settings_keys_and_buttons_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/settings_keys_and_buttons_6.jpg -------------------------------------------------------------------------------- /images/readme/video.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/readme/video.jpg -------------------------------------------------------------------------------- /images/reverse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/reverse.png -------------------------------------------------------------------------------- /images/video/curve-left-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-left-medium.png -------------------------------------------------------------------------------- /images/video/curve-left-medium.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-left-medium.xcf -------------------------------------------------------------------------------- /images/video/curve-left-slight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-left-slight.png -------------------------------------------------------------------------------- /images/video/curve-left-slight.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-left-slight.xcf -------------------------------------------------------------------------------- /images/video/curve-left-strong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-left-strong.png -------------------------------------------------------------------------------- /images/video/curve-left-strong.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-left-strong.xcf -------------------------------------------------------------------------------- /images/video/curve-straight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-straight.png -------------------------------------------------------------------------------- /images/video/curve-straight.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/images/video/curve-straight.xcf -------------------------------------------------------------------------------- /lib/DejaVuSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/DejaVuSans.ttf -------------------------------------------------------------------------------- /lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/actions.py -------------------------------------------------------------------------------- /lib/ets2game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/ets2game.py -------------------------------------------------------------------------------- /lib/ets2window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/ets2window.py -------------------------------------------------------------------------------- /lib/plotting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/plotting.py -------------------------------------------------------------------------------- /lib/pykeylogger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/pykeylogger.py -------------------------------------------------------------------------------- /lib/replay_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/replay_memory.py -------------------------------------------------------------------------------- /lib/rewards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/rewards.py -------------------------------------------------------------------------------- /lib/screenshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/screenshot.py -------------------------------------------------------------------------------- /lib/screenshot_c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/screenshot_c.c -------------------------------------------------------------------------------- /lib/speed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/speed.py -------------------------------------------------------------------------------- /lib/states.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/states.py -------------------------------------------------------------------------------- /lib/steering_wheel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/steering_wheel.py -------------------------------------------------------------------------------- /lib/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/util.py -------------------------------------------------------------------------------- /lib/windowhandling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/lib/windowhandling.py -------------------------------------------------------------------------------- /other/config_files/config_game.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/other/config_files/config_game.cfg -------------------------------------------------------------------------------- /other/config_files/config_profile.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/other/config_files/config_profile.cfg -------------------------------------------------------------------------------- /other/config_files/controls_linux_profile.sii: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/other/config_files/controls_linux_profile.sii -------------------------------------------------------------------------------- /scripts/add_steering_wheel_to_replay_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/scripts/add_steering_wheel_to_replay_memory.py -------------------------------------------------------------------------------- /scripts/collect_experiences_supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/scripts/collect_experiences_supervised.py -------------------------------------------------------------------------------- /scripts/collect_speed_segments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/scripts/collect_speed_segments.py -------------------------------------------------------------------------------- /scripts/recalculate_rewards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/scripts/recalculate_rewards.py -------------------------------------------------------------------------------- /train_reinforced/batching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_reinforced/batching.py -------------------------------------------------------------------------------- /train_reinforced/generate_video_frames.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_reinforced/generate_video_frames.py -------------------------------------------------------------------------------- /train_reinforced/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_reinforced/models.py -------------------------------------------------------------------------------- /train_reinforced/plans.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_reinforced/plans.py -------------------------------------------------------------------------------- /train_reinforced/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_reinforced/train.py -------------------------------------------------------------------------------- /train_reinforced/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_reinforced/visualization.py -------------------------------------------------------------------------------- /train_semisupervised/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train_semisupervised/batching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_semisupervised/batching.py -------------------------------------------------------------------------------- /train_semisupervised/compress_annotations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_semisupervised/compress_annotations.py -------------------------------------------------------------------------------- /train_semisupervised/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_semisupervised/dataset.py -------------------------------------------------------------------------------- /train_semisupervised/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_semisupervised/models.py -------------------------------------------------------------------------------- /train_semisupervised/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_semisupervised/train.py -------------------------------------------------------------------------------- /train_semisupervised/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_semisupervised/visualization.py -------------------------------------------------------------------------------- /train_steering_wheel/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train_steering_wheel/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_steering_wheel/models.py -------------------------------------------------------------------------------- /train_steering_wheel/steering_wheel.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_steering_wheel/steering_wheel.tar -------------------------------------------------------------------------------- /train_steering_wheel/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aleju/self-driving-truck/HEAD/train_steering_wheel/train.py --------------------------------------------------------------------------------