Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-4/muupooviixee66
This commit is contained in:
BIN
docs/documentation/android/VideoViewWidget.png
Normal file
BIN
docs/documentation/android/VideoViewWidget.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
23
docs/documentation/android/Videoview.md
Normal file
23
docs/documentation/android/Videoview.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# VideoView
|
||||
|
||||
We wanted to show the different exercises in a video that anybody could replicate. For this we didn't want to implement a youtube function we wanted to have our own videos so that we don't rely on youtube. Ti start we need an emoty activity file you can create one in the android studio IDE. Then you need to head to the XML file you just created and the go to widgets and the add the VideoView element
|
||||
|
||||

|
||||
|
||||
If you drag that in to your activity you can edit the layout of it but it will not function directly. To Let it play videos we need to write a java code. First start by coding what you want to view.
|
||||
```java
|
||||
VideoView videoView = findViewById(R.id.videoView);
|
||||
videoView.setVideoURI(Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.videofile));
|
||||
```
|
||||
replace the video file with the name of the video. Then you need to code the media player aswell.
|
||||
```java
|
||||
MediaController mediaController = new MediaController(this);
|
||||
videoView.setMediaController(mediaController);
|
||||
videoView.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
|
||||
@Override
|
||||
public void onCompletion(MediaPlayer mp) {
|
||||
videoView.start(); // Restart video on completion
|
||||
}
|
||||
});`
|
||||
```
|
||||
Since we have short videos we will have a auto replay function if you want it can go to a completion screen after the video ended.
|
49
docs/documentation/android/robotmovement.md
Normal file
49
docs/documentation/android/robotmovement.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# How to make the robot move
|
||||
|
||||
## Getting started
|
||||
First make a animation file in the /res folder.
|
||||
|
||||

|
||||
|
||||
Then right click it and click edit animation
|
||||
|
||||
## Making keyframes
|
||||
|
||||
Once you click edit animation you can click a bodypart and rotate it.
|
||||
|
||||

|
||||
|
||||
Once you have positioned the robot into your preffered position you can click the keyframe button.
|
||||
|
||||

|
||||
|
||||
You can grab and shift the keyframes around the timelines until you get something like this.
|
||||
|
||||

|
||||
|
||||
Make sure to save it under the File tab once it is done.
|
||||
|
||||
You can test it by clicking the play button in the top right.
|
||||
|
||||
## Making the robot move
|
||||
|
||||
Once you have made the animation file you can go to the robot movement script.
|
||||
|
||||
```java
|
||||
// create the animation
|
||||
Animation animation = AnimationBuilder.with(qiContext)
|
||||
//change bicepcurl to the name of your animation file
|
||||
.withResources(R.raw.bicepcurl)
|
||||
.build()
|
||||
|
||||
// create the animate object
|
||||
Animate animate = AnimateBuilder.with(qiContext)
|
||||
.withAnimation(animation)
|
||||
.build()
|
||||
|
||||
// play the animation
|
||||
animate.async().run();
|
||||
```
|
||||
|
||||
|
||||
If you run this on the robot the animation should play.
|
BIN
docs/documentation/assets/exampleAnimation.png
Normal file
BIN
docs/documentation/assets/exampleAnimation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
BIN
docs/documentation/assets/image.png
Normal file
BIN
docs/documentation/assets/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 133 KiB |
BIN
docs/documentation/assets/imageAnimation.png
Normal file
BIN
docs/documentation/assets/imageAnimation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 KiB |
BIN
docs/documentation/assets/keyframebutton.png
Normal file
BIN
docs/documentation/assets/keyframebutton.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
12
docs/personalDocs/Luca/weekly-reports/sprint-1-week-1.md
Normal file
12
docs/personalDocs/Luca/weekly-reports/sprint-1-week-1.md
Normal file
@@ -0,0 +1,12 @@
|
||||
## Summary week 1, sprint 1
|
||||
|
||||
---
|
||||
|
||||
As a team, we mostly worked together on figuring out what project we'd
|
||||
like to work on. We did this on the first day (Tuesday) and we decided to
|
||||
make a robot that promotes sports activities for the elderly.
|
||||
On Wednesday we started making graphs for the project, to visualize all the
|
||||
required components and how they would interact with each other.
|
||||
The rest of the time we were mostly working on figuring out how to work
|
||||
with Android Studio and QiSDK, which was quite a hassle.
|
||||
|
7
docs/personalDocs/Luca/weekly-reports/sprint-1-week-2.md
Normal file
7
docs/personalDocs/Luca/weekly-reports/sprint-1-week-2.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## Summary week 2, sprint 1
|
||||
|
||||
---
|
||||
|
||||
In the second week, most of us figured out how to work with the IDE
|
||||
and got the SDK's to work. We've made the robot say things, and we're
|
||||
currently working on adding a UI part to the robot.
|
@@ -5,10 +5,10 @@ Naam Student: Sam Hos <br>
|
||||
Datum: 22-04-2024
|
||||
|
||||
### A. onderwerp
|
||||
Het betoog gaat over de de implicaties van AI op het onderwijs.
|
||||
Het betoog gaat over de de implicaties van AI op het onderwijs.
|
||||
|
||||
### B. aanleiding
|
||||
De aanleiding voor dit onderzoek is omdat AI groter dan ooit is op dit moment en het overal in het onderwijs gebruikt word.
|
||||
De aanleiding voor dit onderzoek is omdat AI groter dan ooit is op dit moment en het overal in het onderwijs gebruikt word. Ik ben vooral geinteresseerd in hoe studenten er gebruik van maken en wat de gevolgen daarvan zijn voor in de toekomst.
|
||||
|
||||
### C. afbakening
|
||||
Ik leg mijn focus op hoe studenten er gebruik van maken en wat daar de gevolgen van zijn.
|
||||
|
Reference in New Issue
Block a user