Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Open_Ai_Gym_Autobahn_Auffahren
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Midras Lappe
Open_Ai_Gym_Autobahn_Auffahren
Commits
49e58574
Commit
49e58574
authored
4 years ago
by
Midras Lappe
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.cvh-server.de/mlappe/open_ai_gym_autobahn_auffahren
parents
9ed8f6aa
5129a3d6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-10
11 additions, 10 deletions
README.md
with
11 additions
and
10 deletions
README.md
+
11
−
10
View file @
49e58574
...
@@ -20,21 +20,22 @@ Download all the files to convinient folder.
...
@@ -20,21 +20,22 @@ Download all the files to convinient folder.
# Setup
# Setup
There are a few variables you can change in Godot
There are a few variables you can change in Godot
You can open the script by clicking
like
shown in the screenshot:
You can open the script by clicking
the script-button as
shown in the screenshot:

## World
## World
L
ines
:
39-41
The variables are found in l
ines 39-41
.
1.
human_player: If set to true, you can drive with wasd and brake with space. Otherwise
i
t waits for a client to connect.
1.
human_player: If set to true, you can drive with wasd and brake with space. Otherwise t
he Godot-server
waits for a client to connect.
2.
learn_with_images:
A
lso returns a 60x80 screenshot of the game in every step, if set to true.
2.
learn_with_images:
In addition to the other information Godot a
lso returns a 60x80 screenshot of the game in every step, if set to true.
3.
show_game: If set to false, it won't render the game, but still sends all the information to the client.
3.
show_game: If set to false, it won't render the game, but still sends all the information to the client.
## Car
## Car
L
ines
:
5-8
The variables are found in l
ines 5-8
.
1.
brake_str: Can be used to reduce the brake-strength of the car.
1.
brake_str: Can be used to reduce the brake-strength of the car.
2.
NUMBER_OF_SENSORS: Determines the number of sensors around the car (Always start at the front and goes clockwise).
2.
NUMBER_OF_SENSORS: Determines the number of sensors around the car (Always start at the front and goes clockwise).
3.
max_range_sensor: Range of the sensors in pixels (
~31 m
)
3.
max_range_sensor: Range of the sensors in pixels (
by default ~31 m (1 m = 32 pixels)
)
4.
range_per_step_sensor: Accuracy of the sensors in pixels (
~0.31 m
)
4.
range_per_step_sensor: Accuracy of the sensors in pixels (
by default ~0.31 m (1 m = 32 pixels)
)
# Running the Project
# Running the Project
...
@@ -46,8 +47,8 @@ Lines: 5-8
...
@@ -46,8 +47,8 @@ Lines: 5-8
## Python
## Python
1.
After starting the Project in Godot you can run your own Python programm or the example progamm (main_test) from the files
1.
After starting the Project in Godot you can run your own Python programm or the example progamm (main_test) from the files
-
Press "Windows"-Key + "R" and type "cmd"
1.
Open the command-console
-
Type "cd (your rootfolder)/"
2.
Type "cd (your rootfolder)/"
-
To run the example code type "python main_test.py"
3.
To run the example code type "python main_test.py"
__
_
__
_
Created by Midras Lappe and Theo Brockmann
Created by Midras Lappe and Theo Brockmann
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment