feat: Add Bluetooth permissions and location permission to AndroidManifest.xml

This commit is contained in:
SebasKoedam
2024-05-15 16:41:32 +02:00
parent cf429f993e
commit 3ca982c36f
4 changed files with 12 additions and 8 deletions

View File

@@ -4,6 +4,10 @@
<uses-feature android:name="com.softbank.hardware.pepper" />
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
@@ -11,10 +15,6 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Fitbot" >
<activity
android:name=".ui.SportMenuActivity"
android:exported="true">
</activity>
<activity
android:name=".ui.activities.MainActivity"
android:exported="true" >

View File

@@ -1,4 +1,4 @@
package com.example.fitbot;
package com.example.fitbot.ui.activities;
import android.annotation.SuppressLint;
import android.content.Intent;
@@ -16,7 +16,7 @@ import com.example.fitbot.util.processing.GesturePath;
import com.example.fitbot.util.processing.MotionProcessor;
import com.example.fitbot.util.processing.Vector3;
public class MainScreen extends AppCompatActivity {
public class MainActivity extends AppCompatActivity {
//Variables
DrawerLayout drawerLayout;

View File

@@ -55,7 +55,8 @@ The software of the system will consist of the following:
The Wii Fit Board will be connected to Pepper using the Wiiboard-simple library. The library will be used to read the sensor data from the Wii Fit Board and transfer it to Pepper. The position tracking algorithm will process the sensor data and determine the user's position.
Challenge:
Challenge:
- Connecting to the wii fit board. It is not possible to connect directly to the Wii Fit Board, it is necessary to use a library that can interpret the data sent by the Wii Fit Board.
- The Wii Fit Balance Board sends data in a specific format. To interpret this data, it's necessary to understand the format and how to convert it to a usable format.
- The Wii Fit Balance Board uses Bluetooth 2.0 to communicate. Pepper uses Bluetooth 4.0 this means that there might be compatibility issues/latancy issues.
@@ -79,6 +80,9 @@ To be added
## References
[Wiiboard lib](https://code.google.com/archive/p/wiiboard-simple/wikis/Documentation.wiki)
https://advanti-lab.sb.dfki.de/?page_id=64
https://github.com/paulburton/fitscales
https://github.com/micromu/WiiRemoteJ
## Appendices

View File

@@ -80,6 +80,6 @@ Wat moet er beter? Wat ging er goed? Welke SMART leerdoelen hebben jullie voor d
We zijn samen gaan zitten voor de retrospective, hier uit is het volgende voort gekomen (we hebben gebruik gemaakt van the 4 L's):
![alt text](Sprint1Retro.png)
![Retro](Sprint1Retro.png)
De leerdoelen zet iedereen in zijn eigen scorion formulier.