Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bits3 Bare Minimum
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bits_libs
Bits3 Bare Minimum
Commits
34d77aae
Commit
34d77aae
authored
1 year ago
by
Jannis Nicolas Kampmann
Browse files
Options
Downloads
Patches
Plain Diff
Update Downloader
parent
d75826e9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Tools/Automatischer BITS-i_Bibliotheken downloader.sh
+0
-73
0 additions, 73 deletions
Tools/Automatischer BITS-i_Bibliotheken downloader.sh
Tools/Automatischer BITS_Bibliotheken Downloader.sh
+40
-0
40 additions, 0 deletions
Tools/Automatischer BITS_Bibliotheken Downloader.sh
with
40 additions
and
73 deletions
Tools/Automatischer BITS-i_Bibliotheken downloader.sh
deleted
100644 → 0
+
0
−
73
View file @
d75826e9
#!/bin/bash
RED
=
'\033[0;31m'
GREEN
=
'\033[0;32m'
NOCOLOR
=
'\033[0m'
bold
=
$(
tput bold
)
normal
=
$(
tput sgr0
)
echo
-e
"
$GREEN
"
echo
-e
"Automatischer download der Bibliotheken wird vorbereitet..."
sleep
2
echo
-e
"
$NOCOLOR
"
mkdir
BITS-i_Bibliotheken
echo
-e
"
$GREEN
"
echo
-e
"Ordner BITS-i_Bibliotheken wurde erfolgreich erstellt."
echo
-e
" "
sleep
1
cd
BITS-i_Bibliotheken
echo
-e
"Starte download..."
sleep
1
echo
-e
"
$NOCOLOR
"
# BITS-i Bibliotheken
git clone https://git-ce.rwth-aachen.de/bits/bits_libs/bits_time_of_flight_controller.git
git clone https://git-ce.rwth-aachen.de/thk_libs/microcontrollers/thk_imu.git
git clone https://git-ce.rwth-aachen.de/thk_libs/microcontrollers/thk_ir_receiver.git
git clone https://git-ce.rwth-aachen.de/thk_libs/microcontrollers/thk-led-strip-controller.git
git clone https://git-ce.rwth-aachen.de/thk_libs/microcontrollers/thk-motor-driver.git
git clone https://git-ce.rwth-aachen.de/thk_libs/microcontrollers/thk-pid-controller.git
git clone https://git-ce.rwth-aachen.de/thk_libs/microcontrollers/thk_servo.git
git clone https://git-ce.rwth-aachen.de/bits/bits_libs/bits_motor_driver.git
# Externe Bibliotheken, können auch über die Arduino IDE installiert werden
git clone https://github.com/ElectronicCats/mpu6050.git
git clone https://github.com/Arduino-IRremote/Arduino-IRremote.git
git clone https://github.com/adafruit/Adafruit_NeoPixel.git
git clone https://github.com/adafruit/Adafruit_VL53L0X.git
echo
-e
"
$GREEN
"
echo
-e
"Alle Bibliotheken wurden erfolgreich "
echo
-e
"in den Ordner BITS-i_Bibliotheken gedownloadet."
echo
-e
"
$RED
"
echo
-e
"__________________________________________________________________"
echo
-e
"__________________________________________________________________"
echo
-e
" "
echo
-e
"
\0
33[31;7m
${
bold
}
WICHTIG!!!!!
\0
33[0m"
echo
-e
" "
echo
-e
"
\0
33[31;7m
${
bold
}
Kopiert alle Ordner aus BITS-i_Bibliotheken in den Arduino Libraries Ordner
\0
33[0m"
echo
-e
"
$RED
"
echo
-e
"__________________________________________________________________"
echo
-e
"__________________________________________________________________"
echo
-e
" "
echo
-e
"
$GREEN
"
echo
-e
"Wenn die Bibliotheken erfolgreich in den Arduino Libraries Ordner"
echo
-n
"kopiert wurden,"
read
-p
" mit beliebiger Taste fortfahren"
x
echo
-e
" "
echo
-e
-n
"
\0
33[32;7mSoll das Basis Projekt für BITS-i gedownloadet werden? [J/N]
\0
33[0m"
read
-p
" "
input
if
[
$input
=
'j'
]
||
[
$input
=
'J'
]
;
then
cd
..
git clone https://git-ce.rwth-aachen.de/bits/03_projects/bits-bare-minimum.git
echo
-e
"
$GREEN
"
echo
-e
"Das Basis Projekt für BITS-i wurde erfolgreich gedownloadet"
echo
-e
"
$NOCOLOR
"
fi
echo
-e
" "
read
-p
"Mit beliebiger Taste beenden"
x
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Tools/Automatischer BITS_Bibliotheken Downloader.sh
0 → 100644
+
40
−
0
View file @
34d77aae
#!/bin/bash
RED
=
'\033[0;31m'
GREEN
=
'\033[0;32m'
NOCOLOR
=
'\033[0m'
bold
=
$(
tput bold
)
normal
=
$(
tput sgr0
)
echo
-e
"
$GREEN
"
echo
-e
"Automatischer Download der Bibliotheken wird vorbereitet..."
sleep
2
echo
-e
"Starte Download..."
sleep
1
echo
-e
"
$NOCOLOR
"
# BITS Bibliotheken
git clone https://git-ce.rwth-aachen.de/bits_libs/bits-i-libraries.git
echo
-e
"
$GREEN
"
echo
-e
"Alle Bibliotheken wurden erfolgreich "
echo
-e
"in den Ordner BITS-i_Bibliotheken gedownloadet."
echo
-e
"
$RED
"
echo
-e
"__________________________________________________________________"
echo
-e
"__________________________________________________________________"
echo
-e
" "
echo
-e
"
\0
33[31;7m
${
bold
}
WICHTIG!!!!!
\0
33[0m"
echo
-e
" "
echo
-e
"
\0
33[31;7m
${
bold
}
Bitte entzippen Sie die Datei und kopieren Sie "
echo
-e
"alle Ordner aus BITS_Bibliotheken in den Arduino Libraries Ordner
\0
33[0m"
echo
-e
"
$RED
"
echo
-e
"__________________________________________________________________"
echo
-e
"__________________________________________________________________"
echo
-e
" "
echo
-e
"Dieser Versionsstand ist mit BITS1, BITS2 und BITS3 kompatibel!"
echo
-e
"
$GREEN
"
echo
-e
"Wenn die Bibliotheken erfolgreich in den Arduino Libraries Ordner"
echo
-n
"kopiert wurden, "
read
-p
"mit beliebiger Taste beenden"
x
\ 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