Skip to content

Sensors

guillaume charbonnier edited this page Mar 8, 2019 · 3 revisions

Sensors

image

😅 (difficulty) ⌛ (time-Box) 🔗 (related to)
2️⃣ / 5️⃣ 30 - 60 mn Sensors

#Warning : it is strongly advise to have a working mobile kit available to proceed with this topic #

✔️ primary objectives

:suspect: Peace of cake

  • display the raw readings of a sensor

:rage1: Easy

  • list the available sensors

:rage3: Normal

  • Create an ADI (Electronic Attitude Director Indicator)

💰 useful ressources

  • N/A

👶 Newbies area

Warning : Spoilers !!!
QML types Module Useful for...
Magnetometer QtSensors knowing the magnetometer field vector components with reading.x, reading.y and reading.z
Gyroscope QtSensors knowing the rotation vector components with reading.x, reading.y and reading.z
OrientationSensor QtSensors knowing the device orientation with reading.orientation which could be either OrientationReading.TopUp, OrientationReading.TopDown, OrientationReading.LeftUp, OrientationReading.RightUp, OrientationReading.FaceUp or OrientationReading.FaceDown
TiltSensor QtSensors determining the euler angle (pitch, bank, heading)

ℹ️ useful information and hints

  • Magnetomer can bear to the north or your nearest speaker !

⚠️ cautions and warnings

N/A

secondary objectives (only for the braves 🏆 )

:rage4: very difficult

  • Create a maze game where the ball can be controled using the magnetometer

:goberserk: Nightmare

:godmode: God mode

Clone this wiki locally