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:
@@ -4,6 +4,7 @@
|
|||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "SparkFun_BNO080_Arduino_Library.h"
|
#include "SparkFun_BNO080_Arduino_Library.h"
|
||||||
|
|
||||||
|
// declare the class SensorManager with all functions
|
||||||
class SensorManager {
|
class SensorManager {
|
||||||
public:
|
public:
|
||||||
SensorManager();
|
SensorManager();
|
||||||
@@ -18,7 +19,7 @@ public:
|
|||||||
float y;
|
float y;
|
||||||
float z;
|
float z;
|
||||||
};
|
};
|
||||||
|
// void sendData(float roll, float pitch, float yaw);
|
||||||
eulerAngles getEulerAngles();
|
eulerAngles getEulerAngles();
|
||||||
acceleration getAcelleration();
|
acceleration getAcelleration();
|
||||||
bool sensorTap();
|
bool sensorTap();
|
||||||
@@ -31,7 +32,7 @@ private:
|
|||||||
float k;
|
float k;
|
||||||
float w;
|
float w;
|
||||||
};
|
};
|
||||||
RotationQuaternions getQuaternions();
|
RotationQuaternions getQuaternions(); // get the quaternions from the sensor
|
||||||
|
|
||||||
BNO080 myIMU;
|
BNO080 myIMU;
|
||||||
};
|
};
|
||||||
|
@@ -14,7 +14,7 @@ public class HelpActivity extends AppCompatActivity {
|
|||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_help);
|
setContentView(R.layout.activity_help);
|
||||||
|
|
||||||
Pepper.say("@string/uitlegStart"+"@string/uitlegHome");
|
Pepper.say("Welkom bij FitBot. De robot die helpt om fit te blijven. Druk op Start om de oefening te beginnen. Ga terug naar het begin scherm door op het huisje te klikken");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user