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
c66f95d6
Commit
c66f95d6
authored
4 years ago
by
Theo Brockmann
Browse files
Options
Downloads
Patches
Plain Diff
Update main_test.py
parent
cea7a753
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main_test.py
+1
-1
1 addition, 1 deletion
main_test.py
with
1 addition
and
1 deletion
main_test.py
+
1
−
1
View file @
c66f95d6
...
@@ -35,7 +35,7 @@ async def main():
...
@@ -35,7 +35,7 @@ async def main():
actions
+=
"
steer_left
"
actions
+=
"
steer_left
"
# Makes 1 step only driving straight
# Makes 1 step only driving straight
observation
,
reward
,
done
,
info
=
await
env
.
step
(
actions
,
0.1
7
)
observation
,
reward
,
done
,
info
=
await
env
.
step
(
actions
,
0.
0
1
)
print
(
observation
)
print
(
observation
)
# Obeservation is an array with the following information:
# Obeservation is an array with the following information:
# [speed, steering-angle, [length of all sensors (starting straight and then clockwise around the car)]]
# [speed, steering-angle, [length of all sensors (starting straight and then clockwise around the car)]]
...
...
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