diff --git a/docs/assets/result.jpg b/docs/assets/result.jpg new file mode 100644 index 0000000..9507971 Binary files /dev/null and b/docs/assets/result.jpg differ diff --git a/docs/assets/result1.jpg b/docs/assets/result1.jpg new file mode 100644 index 0000000..fc65a0e Binary files /dev/null and b/docs/assets/result1.jpg differ diff --git a/docs/assets/result2.jpg b/docs/assets/result2.jpg new file mode 100644 index 0000000..f542ed6 Binary files /dev/null and b/docs/assets/result2.jpg differ diff --git a/docs/bootcamp/drone-requirements.md b/docs/bootcamp/drone-requirements.md new file mode 100644 index 0000000..e1ad38f --- /dev/null +++ b/docs/bootcamp/drone-requirements.md @@ -0,0 +1,29 @@ + +## Requirements +* 2 screens +* Speakers +* 20 min flight time +* custom microcontroller pcb that controls the drones and screens + +### Sensors +* GPS +* IMU/rotation sensor +* Read voltage from battery know battery percentage + +### requirements when far ahead +* Docking station +* Automatic docking +* Automatic pathing +* Design own electronic speed controllers + + + + +## Images + +![](../assets/result.jpg) + +![](../assets/result2.jpg) + +![](../assets/result1.jpg) +[last image credits](https://gareth-morrison.squarespace.com/drg) diff --git a/docs/bootcamp/git-setup.md b/docs/bootcamp/git-setup.md new file mode 100644 index 0000000..803437b --- /dev/null +++ b/docs/bootcamp/git-setup.md @@ -0,0 +1,25 @@ +# Git setup + +For me setting up git and ssh keys was really straight forward because I am currently studying IT. + +## Generating ssh keys +To be able to push and pull from the git server you need to give your public key to the git server. First we need te generate a ssh key. That can be done using this command. +```bash +ssh-keygen +``` +After you run this command it will prompt you for a passphrase and a location to store it you can leave these blank and press enter on them. It will automaticly store them in `/.ssh`. + +## Reading the ssh keys + +To read the ssh keys from the file you can use the `cat` command. `cat` reads the contents of a file no matter what file type it is and prints it out console. + +The command wil probably look like this. +```bash +cat .ssh/id_ed25519.pub +``` +Once you run that it outputs a key. That key is your public ssh key. You can share it with everyone and put it on server as a way to authenticate. + +## Registering your key on the gitlab server + +Now you can register the key that got output in the console on the gitlab server. First click your profile picture in gitlab and then go to edit profile. Now you have a menu bar on the left, there you can click the SSH Keys tab and register your ssh key. After you have done that you can push and pull from your gitlab repository. + diff --git a/docs/bootcamp/imagemagick.md b/docs/bootcamp/imagemagick.md new file mode 100644 index 0000000..ae15834 --- /dev/null +++ b/docs/bootcamp/imagemagick.md @@ -0,0 +1,9 @@ +# Commands + +## Image compression +```bash +magick source.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% result.jpg +``` +[source](https://stackoverflow.com/questions/7261855/recommendation-for-compressing-jpg-files-with-imagemagick) + +