Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BitS1-Robotcar
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
Service Desk
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
bits_libs
BitS1-Robotcar
Commits
580977ba
Commit
580977ba
authored
1 year ago
by
Sven Marian Göbel
Browse files
Options
Downloads
Patches
Plain Diff
deleted two test variables
parent
48792a3a
No related branches found
No related tags found
1 merge request
!1
Motor Pins 7 & 8 changed, Case 8.1 & 8.2 conditions changed, check_voltage...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Robotcar_functions.h
+1
-3
1 addition, 3 deletions
Robotcar_functions.h
with
1 addition
and
3 deletions
Robotcar_functions.h
+
1
−
3
View file @
580977ba
...
...
@@ -75,8 +75,6 @@ float pitch = 0;
float
roll
=
0
;
float
backward_factor
=
3.0
;
//Neuer backward_factor: Muss getestet werden
float
search_factor
=
120000
;
//Neuer search_facotr: Muss getestet werden
boolean
last_d_F
=
false
;
//test
int
delay_factor
=
10
;
//Neuer factor, muss getestet werden DELAY beim stehenbleiben könnte quadratisch mit der Geschwindigkeit skalieren?
float
search_time
=
0
;
unsigned
long
time_drive
=
0
;
float
line_factor
=
1.2
;
...
...
@@ -627,7 +625,7 @@ class Robotcar_functions
else
if
(
last_direction
==
'F'
)
// Fall 8.3 (Fahrzeug fährt Rückwärts bis wieder eine Linie erkannt wird)
{
drive
(
Break
,
0
);
delay
(
total_velocity
*
delay_factor
);
delay
(
2000
);
while
((
get_brightness
(
'L'
)
<
white_surface_reflection
)
&&
(
get_brightness
(
'M'
)
<
white_surface_reflection
)
&&
(
get_brightness
(
'R'
)
<
white_surface_reflection
))
{
drive
(
Backward
,
(
total_velocity
/
backward_factor
));
...
...
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