Merge branch 'main' of https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-4/muupooviixee66
This commit is contained in:
12
docs/.pages
12
docs/.pages
@@ -23,6 +23,14 @@ nav:
|
||||
- 🤖 Pepper:
|
||||
- Pepper Setup: documentation/pepper/pepperSetup
|
||||
- Pepper movement: documentation/android/robotmovement
|
||||
- 👷♀️ Hardware:
|
||||
- 📦 Hardware:
|
||||
- Hardware: documentation/hardware/sensors
|
||||
|
||||
- 🍓 Raspberry Pi:
|
||||
- Raspberry Pi: documentation/raspberryPi/raspberryPiSetup
|
||||
- NodeJs:
|
||||
- NodeJs: documentation/raspberryPi/nodeJs/nodeJs
|
||||
- NodeJs Setup: documentation/raspberryPi/nodeJs/nodeSetup
|
||||
- MariaDB:
|
||||
- MariaDB: documentation/raspberryPi/mariaDB/mariaDB
|
||||
- MariaDB Setup: documentation/raspberryPi/mariaDB/mariaSetup
|
||||
|
||||
|
@@ -5,11 +5,23 @@ As we become older, our vision worsens. We need to keep this in mind because our
|
||||

|
||||
This image shows what elderly people may experience while reading or using an app. We must keep this in mind as we design our app.
|
||||
### color psychology
|
||||
Colors can be an effective way to influence emotions and feelings. They may influence you without your knowledge. We can use this to influence those who use our app. Colors have a powerful ability to influence emotions. Every color has a unique effect on our minds. For example, blue has a calming and trustworthy effect on our minds. While blue may not be appropriate for our project, it may prove useful when using a more serious app. We can see PayPal using this trend because it is a banking app that must be trusted. Because blue influences those who use PayPal, it will have a positive impact on their customers. We also want to positively influence our people.
|
||||
|
||||
Here are some examples of how colors can be used in a fitness app for elderly people. First we need to sort out what kind of emotions we want to stimulate. For starting and doing the excersize we need to boost excitement, energy and strenght. We need to boost these emotions to get the most out of people. We hope by using these colors we are stimulating people to get more out of there work out. The reason of boosting emotions trough color is that is is seamless and that makes it powerfull. If you dont know that you are being influenced it has the best effect. Lets discuss some colors
|
||||
|
||||
<span style="color:red">
|
||||
<strong> RED: </strong>
|
||||
</span>
|
||||
|
||||
Red is an interesting color because it increases excitement, activity, aggression, bravery, and youthfulness. People associate the color red with boldness, fire, competition, love, energy, speed, power, youth, and so much more. These emotions are useful when developing a fitness app, but even a different shade of red affects emotions and effectiveness. Lighter shades highlight the energetic qualities of red. Darker shades emphasize power. This makes red a powerful color and for us and an interesting option because Strava, a fitness app focused on running, uses the same colors.
|
||||
|
||||
<span style="color:yellow">
|
||||
<strong> YELLOW: </strong>
|
||||
</span>
|
||||
|
||||
Yellow belongs in the same park as red because they are both warm colors. Yellow boosts emotions such as warmth, cheerfulness, happiness, energy, clarity, and attention, making it a good choice for us to look at. People associate the color or yellow with. Sunshine, creativity, imagination, hope, joy, the future, and spirituality. The various shades affect yellow in different ways, and bright sharp yellows can be tiring and cause headaches. Lighter shades appeal to the happiness aspect, reminding users of summer and the sun. Darker shades, such as gold, add weight. This makes yellow an interesting color option for our app.
|
||||
### Conclusion
|
||||
|
||||
We decided to go for
|
||||
|
||||
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 100 KiB |
19
docs/documentation/known-issues.md
Normal file
19
docs/documentation/known-issues.md
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
## Android Studio gradle could not sync with project (MacOS)
|
||||
|
||||
A solution to this issue is by removing the cache files in the gradle folder.
|
||||
This can be done by executing the following command:
|
||||
|
||||
```bash
|
||||
sudo rm -rf ~/.gradle/caches/
|
||||
```
|
||||
|
||||
If the issue presists, one can remove the existing gradle executables in the
|
||||
following path:
|
||||
|
||||
> `/Users/.../.gradle/wrapper/dists/`
|
||||
|
||||
If the issue still remains, one can try removing the gradle files in the project
|
||||
and try to sync the project again. This can be done by removing the gradle files in
|
||||
the project source directory and then syncing the project again.
|
3
docs/documentation/raspberryPi/mariaDB/mariaDB.md
Normal file
3
docs/documentation/raspberryPi/mariaDB/mariaDB.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# MariaDB
|
||||
|
||||
MariaDB is a fork of MySQL and is a popular choice for database management systems. It is open-source and is widely used in web applications. MariaDB is a community-driven project and is developed by the original developers of MySQL. It is designed to be fully compatible with MySQL, meaning that it can be used as a drop-in replacement for MySQL.
|
70
docs/documentation/raspberryPi/mariaDB/mariaSetup.md
Normal file
70
docs/documentation/raspberryPi/mariaDB/mariaSetup.md
Normal file
@@ -0,0 +1,70 @@
|
||||
# MariaDB
|
||||
|
||||
MariaDB is a fork of MySQL and is a popular choice for database management systems. It is open-source and is widely used in web applications. MariaDB is a community-driven project and is developed by the original developers of MySQL. It is designed to be fully compatible with MySQL, meaning that it can be used as a drop-in replacement for MySQL.
|
||||
|
||||
In this guide, we will show you how to install MariaDB on your Raspberry Pi. This will allow you to create and manage databases on your device.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before you begin, you will need the following:
|
||||
|
||||
- A Raspberry Pi with Raspbian installed
|
||||
- Access to the terminal on your Raspberry Pi
|
||||
|
||||
## Installation
|
||||
|
||||
### Step 1: Update the Package List
|
||||
|
||||
The first step is to update the package list on your Raspberry Pi. This will ensure that you have the latest information about available packages.
|
||||
|
||||
Run the following command to update the package list:
|
||||
|
||||
```bash
|
||||
|
||||
sudo apt update
|
||||
|
||||
```
|
||||
|
||||
### Step 2: Install MariaDB
|
||||
|
||||
Next, you will need to install the MariaDB server on your Raspberry Pi. You can do this by running the following command:
|
||||
|
||||
```bash
|
||||
|
||||
sudo apt install mariadb-server
|
||||
|
||||
```
|
||||
|
||||
During the installation process, you will be prompted to set a root password for the MariaDB server. Enter a secure password and remember it, as you will need it to access the database server.
|
||||
|
||||
### Step 3: Secure the MariaDB Installation
|
||||
|
||||
After installing MariaDB, you should secure the installation by running the `mysql_secure_installation` script. This script will guide you through the process of securing your MariaDB installation by setting a root password, removing anonymous users, disallowing remote root login, and removing the test database.
|
||||
|
||||
Run the following command to start the `mysql_secure_installation` script:
|
||||
|
||||
```bash
|
||||
|
||||
sudo mysql_secure_installation
|
||||
|
||||
```
|
||||
|
||||
Follow the prompts to secure your MariaDB installation.
|
||||
|
||||
### Step 4: Access the MariaDB Shell
|
||||
|
||||
Once you have secured the MariaDB installation, you can access the MariaDB shell by running the following command:
|
||||
|
||||
```bash
|
||||
|
||||
sudo mysql -u root -p
|
||||
|
||||
```
|
||||
|
||||
Enter the root password that you set during the installation process. You should now be logged into the MariaDB shell.
|
||||
|
||||
## Conclusion
|
||||
|
||||
You have successfully installed MariaDB on your Raspberry Pi. You can now create and manage databases using MariaDB on your device. If you have any questions or run into any issues, feel free to refer to the [MariaDB documentation](https://mariadb.com/kb/en/) for more information.
|
||||
|
||||
---
|
3
docs/documentation/raspberryPi/nodeJs/nodeJs.md
Normal file
3
docs/documentation/raspberryPi/nodeJs/nodeJs.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# NodeJs
|
||||
|
||||
NodeJs is a JavaScript runtime that is built on Chrome's V8 JavaScript engine. It is designed to be lightweight and efficient, making it perfect for running on the Raspberry Pi. This is a file that
|
98
docs/documentation/raspberryPi/nodeJs/nodeSetup.md
Normal file
98
docs/documentation/raspberryPi/nodeJs/nodeSetup.md
Normal file
@@ -0,0 +1,98 @@
|
||||
# NodeJs Setup
|
||||
|
||||
https://pimylifeup.com/raspberry-pi-nodejs/
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before you begin, you will need the following:
|
||||
|
||||
- A Raspberry Pi with Raspbian installed
|
||||
- Access to the terminal on your Raspberry Pi
|
||||
|
||||
## Installation
|
||||
|
||||
### Step 1: Update the Package List
|
||||
|
||||
The first step is to update the package list on your Raspberry Pi. This will ensure that you have the latest information about available packages.
|
||||
|
||||
Run the following command to update the package list:
|
||||
|
||||
```bash
|
||||
|
||||
sudo apt update
|
||||
|
||||
```
|
||||
|
||||
### Step 2: Install Node.js
|
||||
|
||||
Next, you will need to install Node.js on your Raspberry Pi. You can do this by running the following command:
|
||||
|
||||
```bash
|
||||
|
||||
sudo apt install nodejs
|
||||
|
||||
```
|
||||
|
||||
### Step 3: Install npm
|
||||
|
||||
After installing Node.js, you will also need to install npm, which is the Node.js package manager. You can do this by running the following command:
|
||||
|
||||
```bash
|
||||
|
||||
sudo apt install npm
|
||||
|
||||
```
|
||||
|
||||
### Step 4: Verify the Installation
|
||||
|
||||
To verify that Node.js and npm have been installed correctly, you can check the versions of both tools by running the following commands:
|
||||
|
||||
```bash
|
||||
|
||||
node -v
|
||||
|
||||
npm -v
|
||||
|
||||
```
|
||||
|
||||
If the installation was successful, you should see the version numbers of Node.js and npm displayed in the terminal.
|
||||
|
||||
### Step 5: Create a Test File
|
||||
|
||||
To test that Node.js is working correctly on your Raspberry Pi, you can create a simple test file. Create a new file called `test.js` by running the following command:
|
||||
|
||||
```bash
|
||||
|
||||
nano test.js
|
||||
|
||||
```
|
||||
|
||||
In the text editor, add the following code:
|
||||
|
||||
```javascript
|
||||
|
||||
console.log('Hello, World!');
|
||||
|
||||
```
|
||||
|
||||
Save and exit the text editor by pressing `Ctrl + X`, then `Y`, and finally `Enter`.
|
||||
|
||||
### Step 6: Run the Test File
|
||||
|
||||
To run the test file, use the following command:
|
||||
|
||||
```bash
|
||||
|
||||
node test.js
|
||||
|
||||
```
|
||||
|
||||
If Node.js is working correctly, you should see `Hello, World!` displayed in the terminal.
|
||||
|
||||
Congratulations! You have successfully installed Node.js on your Raspberry Pi. You can now start developing applications using Node.js on your device.
|
||||
|
||||
If you have any questions or run into any issues, feel free to refer to the [Node.js documentation](https://nodejs.org/en/docs/) for more information.
|
||||
|
||||
## Conclusion
|
||||
|
||||
You have successfully installed Node.js and npm on your Raspberry Pi. You can now use these tools to develop and run Node.js applications on your device. If you have any questions or run into any issues, feel free to refer to the [Node.js documentation](https://nodejs.org/en/docs/) for more information.
|
3
docs/documentation/raspberryPi/raspberryPiSetup.md
Normal file
3
docs/documentation/raspberryPi/raspberryPiSetup.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Raspberry Pi Setup
|
||||
|
||||
To setup the Raspberry Pi, follow the guide in the this [link](https://knowledgebase.hbo-ict-hva.nl/1_beroepstaken/infrastructuur/realiseren/edge_computing/raspberry_pi/respberry_pi_installation/).
|
9
docs/personalDocs/Luca/expert-review-tips.md
Normal file
9
docs/personalDocs/Luca/expert-review-tips.md
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
## Expert review #1
|
||||
|
||||
### Document as you go
|
||||
Documenteer alle problemen die voorkomen bij het project en noteer de
|
||||
oplossingen voor deze problemen. Dit kan bijvoorbeeld d.m.v. een command die
|
||||
cache files verwijderd, of op welke manier je een project fixt. Dit kan toekomstige
|
||||
problemen voorkomen.
|
||||
|
@@ -158,19 +158,19 @@ Done
|
||||
|
||||
To do
|
||||
|
||||
- Mindmap project
|
||||
- Issues for sprint 2
|
||||
- Figma design for the app
|
||||
|
||||
Done
|
||||
|
||||
-
|
||||
- Issues for sprint 2
|
||||
|
||||
**8 May**
|
||||
|
||||
To do
|
||||
|
||||
-
|
||||
- Figma design for the app
|
||||
- Setup the Pi
|
||||
|
||||
Done
|
||||
|
||||
|
@@ -91,7 +91,7 @@ In de method `onRobotFocusGained` wordt een `Say` actie gemaakt en uitgevoerd. D
|
||||
Encapsulation is een princiepe om de interne gegevens van een object te verbergen en alleen toegang te geven via methods.
|
||||
|
||||
Voorbeeld: Een bank heeft verschillende methods om geld te storten, geld op te nemen, saldo te controleren, enz. We kunnen niet rechtstreeks toegang krijgen tot de interne gegevens van de bank, zoals de balans, de rekeningnummers, enz. We moeten de methods van de bank gebruiken om deze gegevens te krijgen.
|
||||
|
||||
p
|
||||
Use case:
|
||||
|
||||
```java
|
||||
|
Reference in New Issue
Block a user