Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
localization VROB
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Böttger
localization VROB
Commits
78c53672
Commit
78c53672
authored
Jun 29, 2023
by
Jessica Dreyer
Browse files
Options
Downloads
Patches
Plain Diff
Corrected spelling mistakes
parent
756212c0
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
README.md
+18
-16
18 additions, 16 deletions
README.md
with
18 additions
and
16 deletions
README.md
+
18
−
16
View file @
78c53672
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
This project deals with the localization of a vehicle on a race track.
This project deals with the localization of a vehicle on a race track.
This is a student project from Bochum University of Applied Sciences.
This is a student project from Bochum University of Applied Sciences.
The main approach of localization is
based on
locat
ing
the vehicle based on the current and
already travelled
section types.
The main approach of
the
localization is
to
locat
e
the vehicle based on the current and
previously driven
section types.
A section type can be a right turn, a left turn
and
straight.
A section type can be a right turn, a left turn
or a
straight
section
.
## Robot
## Robot
T
he used Robot is the
LEGO EV3 Brick
a
s
a line follower to test the algorithm
.
T
o test the algorithm, the robot
LEGO EV3 Brick
i
s
used. It follows the trace with the help of a line tracker
.
The robot use MicroPython.
The robot use
s
MicroPython.
H
ow to install MicroPython
and
set up
your
Visual Studio Code to connect
your pc to the robot is documented in this file
:
A guide on h
ow to install MicroPython
, how to
set up Visual Studio Code
and how
to connect
the robot can be found at the following link
:
https://assets.education.lego.com/v3/assets/blt293eea581807678a/bltb470b9ea6e38f8d4/5f8802fc4376310c19e33714/getting-started-with-micropython-v2_enus.pdf?locale=de-de
https://assets.education.lego.com/v3/assets/blt293eea581807678a/bltb470b9ea6e38f8d4/5f8802fc4376310c19e33714/getting-started-with-micropython-v2_enus.pdf?locale=de-de
Important notes regarding the robot:
Important notes regarding the robot:
...
@@ -37,14 +37,15 @@ Important notes regarding the robot:
...
@@ -37,14 +37,15 @@ Important notes regarding the robot:
*
socket
*
socket
*
datetime
*
datetime
### Preparations before run
### Preparations before running
Clone this git. Connect the EV3 robot to the same network as your executing device.
*
Clone this git.
*
Connect the EV3 robot to the same network as your executing device.
The following adjustments might be necessary, before the algorithm is executable:
The following adjustments might be necessary, before the algorithm is executable:
*
change ip-address in Lokalisierung_LEGO/main.py to the ip-address of the executing device
*
change ip-address in Lokalisierung_LEGO/main.py to the ip-address of the executing device
*
insert the sections of the race track in localization.py (get_set_of_section_
*
())
*
insert the sections of the race track in localization.py (get_set_of_section_
*
())
*
structure of a section: [name, section_type, previous_sections_type]
*
structure of a section: [name, section_type, previous_sections_type]
*
if the track plotter is used, insert
also
a set of track parts in the file grafic (get_set_of_trackparts_
*
()).
*
if the track plotter is used, insert a set of track parts in the file grafic (get_set_of_trackparts_
*
()).
*
structure of a section: [URL, name, start position(x,y), start orientation]
*
structure of a section: [URL, name, start position(x,y), start orientation]
*
Images of the race tracks are not included in this git. If interested, please contact the authors.
*
Images of the race tracks are not included in this git. If interested, please contact the authors.
...
@@ -65,13 +66,14 @@ Notes on constant values (in race_management.py):
...
@@ -65,13 +66,14 @@ Notes on constant values (in race_management.py):
### Run
### Run
1.
Connect the robot via Visual Studio Code.
1.
Connect the robot via Visual Studio Code.
2.
Start the python file race_management.py
2.
Start the python file race_management.py
*
Now some windows should pop up.
*
Some pop-up windows will appear.
*
You can't move this windows until the UDP-connection with the robot is connected.
*
The windows can't be moved until the UDP-connection is established.
*
__When you want to stop the script you have to restart the python kernel.__
**When you want to stop the script you have to restart the python kernel.**
3.
Start the main.py file on the robot.
3.
Start the main.py file on the robot:
*
To do this, select the file in the Lego-EV window in the lower left corner of Visual Studio Code. Then right click and click on "Run"
*
Select the file in the Lego-EV window in Visual Studio Code (lower left corner).
4.
Now the robot should drive and send data to the pc which print the current detected section on the console and plot stuff.
*
Start the file by right-clicking.
5.
To stop the robot/program press the left upper button on the robot, or close the dashboard window.
4.
The robot drives and sends data to the executing device, which prints the current detected section to the console and plots further data.
5.
To stop the robot / program press the left upper button on the robot or close the dashboard window.
## Description
## Description
The main branch contains the following files:
The main branch contains the following files:
...
@@ -93,4 +95,4 @@ This project is licensed under the MIT License - see the LICENSE file for detail
...
@@ -93,4 +95,4 @@ This project is licensed under the MIT License - see the LICENSE file for detail
## Project status
## Project status
Project closed.
Project closed.
Cordial invitation to further develop this project.
Please don't hesitate to develop this project further.
\ No newline at end of file
\ No newline at end of file
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