Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hochautomatisiertes-Fahren
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philipp Badenhoop
Hochautomatisiertes-Fahren
Commits
de050abf
Commit
de050abf
authored
7 years ago
by
Steven Lange
Browse files
Options
Downloads
Patches
Plain Diff
Max. Beschleunigungscap mit v_c = v_c*1.2 eingefügt
parent
9191a6d5
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/CACC/CACC-Module-Test.py
+1
-1
1 addition, 1 deletion
modules/CACC/CACC-Module-Test.py
with
1 addition
and
1 deletion
modules/CACC/CACC-Module-Test.py
+
1
−
1
View file @
de050abf
...
...
@@ -68,7 +68,7 @@ class Car(object):
else
:
v_n
=
v_v
+
abs
(
PS
-
v_v
)
/
4
else
:
v_n
=
(
v_v
*
(
d_c
/
IPD
)
**
2
)
#Der Exponent gibt an, wie schnell die Aenderung umgesetzt werden soll
v_n
=
min
(
(
v_v
*
(
d_c
/
IPD
)
**
2
)
,
v_c
*
1.1
)
#Der Exponent gibt an, wie schnell die Aenderung umgesetzt werden soll
self
.
cSpeed
=
v_n
self
.
cIPD
=
self
.
IPD
*
0.01
#too low
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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